code-corps/code-corps-ember

Rewrite integration tests for donation-goals-activation-test component

Closed this issue · 0 comments

Problem

As of right now, tests/integration/components/donation-goals-activation-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.