Open
Description
As a maintainer
I want to run UI tests before publishing the extension
In order to quickly detect breaking changes and avoid regressions
Scenarios:
- Toggle button appears when hard navigating to a video
- Toggle button appears when navigating from home page to a video
- Toggle button appears when navigating from a video to a video
- Toggle button appears when logged in and hard navigating to a video with comments favourited by the channel owner (see 🐛 Fix button not being inject #33)
- Toggle button does not appear when viewing a live video with chat
Example of how some of the feature tests could look:
Given the preferred site is set to
| YouTube UI |
| Old |
| New |
When I navigate to
| Page Navigation |
| Home -> Video |
| Video |
| Live Video |
Then I do not see comments
When I click button to "show comments"
And I scroll down the page
Then I see comments
When I click button to "hide comments"
Then I do not see comments
Are we missing scenarios for edge cases? E.g. videos with comments disabled