-
Notifications
You must be signed in to change notification settings - Fork 331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding assignment feature tests #1107
Conversation
Whoa, this is a cool PR. @jonathanKingston - do you have time to check this out this week? |
Glad you like it. Refactored a bit and wired |
Finished the refactorings that I initially mentioned
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM we should test in a release with the other patch mentioned though.
Hi,
since jkt signaled on IRC that adding some tests to the codebase is OK, here's a proposal that loads
popup.html
andbackground/index.html
withjsdom
and executes a basic assignment feature test:container-page-assigned
checkbox to assign example.com to firefox-container-1If you find this useful I could add more feature tests based on this. Of course I'm open to feedback and willing to change stuff - just let me know what you think.
Libs used: jsdom, mocha, sinon, chai
Bumped travis nodejs version to
lts/*
(latest LTS Node.js release) to have ES6 support in the testsBest regards