Rewrite integration tests for pager-control-test component

オープン 初心者向け
#1,612 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
72/100
issue の種類
リファクタリング
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
javascript
領域
frontend, testing

調査の方向性

tests/integration/components/pager-control-test.js から始め、tests/integration/components/donations/create-donation-test.js とその page object と比較します。ember-cli-page-objects のクイックスタートを読むか、参照されている page-object generator を実行します。pager-control の統合テストが jQuery セレクターの代わりに page object を使用し、既存のカバレッジを維持していれば完了です。

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

説明

Problem

As of right now, tests/integration/components/pager-control-test.js isn't utilizing ember-cli-page-objects, and instead is using jQuery to select elements.

References

#1606

Resources

  • What's a page object? [1,2]

  • Quickstart guide

  • See tests/pages/components/donations/create-donation.js and tests/integration/components/donations/create-donation-test.js for in-house examples of, respectively, a page object and the page object being utilized in an integration test.

  • To generate a page object, run ember generate page-object component/<component-name> in the project directory.

主要言語
JavaScript
スター
120
フォーク
75
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

code-corps/code-corps-ember のほかの issue

code-corps/code-corps-ember の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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