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

Rewrite integration tests for pager-control-test component

未关闭
#1,612 0 条评论 0 个 reaction 已指派 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 摘要。