-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Acceptance tests fail for prod builds of pass-ui #521
Comments
As a temporary hold over, we can configure the Ember builds to not strip the selectors for prod builds: https://github.com/mainmatter/ember-test-selectors#configuration |
Currently rewriting the selectors to not use the We should also look into making the authoring of tests easier. We could look at setting up Page Models in Testcafe, basically creating a page level API for interacting with the UI in tests |
eclipse-pass/pass-acceptance-testing#8 Decided to keep the Ran into issues running the acceptance tests in my Windows environment, even though they ran without issue in other environments (Linux, Mac) |
Parts of the current acceptance tests use
data-test-*
attributes to select certain elements for inspection, but these data attributes are stripped from the HTML for production builds. This is by design in the Ember build process, as these attributes are intended to be used for Ember tests.We'll need to rewrite those parts of the acceptance tests that utilize these selectors to use other selectors. This may involve adding new element IDs where necessary
The text was updated successfully, but these errors were encountered: