Skip to content
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

Continue adding Nightwatch tests #151

Open
3 of 20 tasks
openjck opened this issue May 4, 2018 · 0 comments
Open
3 of 20 tasks

Continue adding Nightwatch tests #151

openjck opened this issue May 4, 2018 · 0 comments
Milestone

Comments

@openjck
Copy link
Contributor

openjck commented May 4, 2018

Some tests that we might want to add:

Interactivity

  • The region selectors are present when they should be, and include the correct options
  • Metric data changes when the region selector is used
  • A date selector appears for the Top Add-ons metric
  • The data in the Top Add-ons chart changes when the date selector is used
  • A date selector appears for any summary charts
  • The data in summary charts change when the date selector is used
  • When the region selector is used, the scroll position doesn't change (Fix #156: Don't scroll upon region change #165)
  • Various region persistence behavior (Persist Region between page loads #121)

Content

  • Metric descriptions are correct
  • Metric markers (e.g., "FF57 released") are correct
  • Metric legends are correct
  • The columns of the Top Add-ons table are correct
  • The Rank in the Top Add-ons table goes from 1..10
  • All links in the footer work
  • The correct annotations appear for each chart
  • The correct units are used for each chart
  • Verify that the <meta> tags, including the <meta property="og:*" content="..." /> tags, are correct
  • Verify that the <noscript> message is correct when JavaScript is disabled
  • Verify that the page title is correct in index.html before Helmet modifies it
    • We could try disabling JavaScript in a test before checking the title

Behavior

  • The dashboard header (including the title, description, and region selector) stays stuck to the top of the page while the user scrolls
@openjck openjck added this to the M2 milestone Jun 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants