code-corps / code-corps/code-corps-ember

Rewrite integration tests for pager-control-test component

オープン
#1,612 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
120
フォーク
75
PR マージ指標
30日以内にマージされた PR はありません

説明

# 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](http://martinfowler.com/bliki/PageObject.html),[2](https://wyeworks.com/blog/2015/5/13/using-the-page-object-pattern-with-ember-cli/)]

- [Quickstart guide](http://ember-cli-page-object.js.org/docs/v1.6.x/quickstart)

- 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/` in the project directory.

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

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

評価

この issue はまだ評価されていません。

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

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