-
Notifications
You must be signed in to change notification settings - Fork 974
Add webdriver test to noScript exceptions on compact bravery panel and apply .changeSetting #9075
Add webdriver test to noScript exceptions on compact bravery panel and apply .changeSetting #9075
Conversation
Follow-up to #8837 Test Plan: npm run test -- --grep='does not apply exceptions from private tabs to regular tabs on compact panel'
.waitForVisible(compactBraveryPanelSwitch) | ||
.click(compactBraveryPanelSwitch) | ||
.windowByUrl(Brave.browserWindowUrl) | ||
.keys(Brave.keys.ESCAPE) |
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.
i think you can avoid the above by just using this.app.client.changeSetting
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.
otherwise lgtm
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.
this.app.client.changeSetting
ya that's the solution I have been looking for. thanks for the tip.
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.
Test Plan: 1. npm run test -- --grep='Bravery Panel'
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.
nice, thanks ++
Follow-up to #8837
Because
does not apply exceptions from private tabs to regular tabs
is already complex somewhat, I'm adding another test to cover #8837 on compact bravery panel.Also I applied
this.app.client.changeSetting
to the other tests with 17c2f04Test Plan:
Submitter Checklist:
git rebase -i
to squash commits (if needed).Reviewer Checklist:
Tests