Continue adding Nightwatch tests

Aberta
#151 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 5 dias

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
35/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
javascript
Domínio
frontend, testing

Direção de pesquisa

Start by locating the existing Nightwatch tests for the dashboard and the page entry point in index.html. Work through the unchecked Interactivity, Content, and Behavior cases, using the completed footer, noscript, and title checks as reference; done means the listed dashboard behavior and content are covered by passing tests.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

in progress

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 (#165)
  • Various region persistence behavior (#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
Linguagem predominante
JavaScript
Estrelas
21
Forks
7
Merge médio
5d 3h
PRs com merge (30d)
11

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de mozilla/ensemble

Todas as issues de mozilla/ensemble

Issues semelhantes

Mais issues de JavaScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.