Continue adding Nightwatch tests

オープン
#151 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 5 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript
領域
frontend, testing

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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
主要言語
JavaScript
スター
21
フォーク
7
平均マージ
5日 3時間
マージ済み PR(30日)
11

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

mozilla/ensemble のほかの issue

mozilla/ensemble の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。