8000 Introduce acceptance tests · Issue #9 · dideler/toggle-youtube-comments · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Introduce acceptance tests #9
Open
@dideler

Description

@dideler

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0