* Refactor test a bit
* Account for URL encoding when redirecting to /confirm-email
* Fix failing spec
* Use correct method to encode + and @
* Fix test
* Don't encode things I don't need to (thanks Nick)
* Added the cypress-on-rails gem.
* Removed secret from admin login fixture data and promoted it to Cypress config.
* Created resetData task for tests.
* Now the spec resets data on each test run.
* Removed the cypress-on-rails gem.
* Added node-fetch for e2e testing.
* Move rresetData to async/await.
* Small refactor to resetData Cypress task.
* Now there is a cypress.dev.json config for local dev testing.
* Added rails assets:precompile instead of webpacker:compile.
* Added more explicit error if Elastic Search fails to clear.
* Exposing more explicit error for truncating DB.
* Added better error output for truncating the DB.
* Removed stdout from error logging as it's empty.
* Reworked error message.
* Implemented @rhymes suggestions for fixing trunctation in the test environment.
* Removed unused Cypress configuration file.
* Fixed initial e2e test now that data updates are run.
* Clearing any indices created in ES during E2E tests.
* Fixed a typo.
* Fixed env vars not being loaded.
* Prefixed data updates command with bundle exec.
* Promoted setting secret to the global section of the Travis config.
* Stopped sourcing .env and promoted ELASTICSEARCH_URL to global section of Travis configuration.
* Had to fix cc reporter in my PR to get PR to work.
* Added test run artifacts to git ignore.
* Added Cypress run to Travis.
* Added the start-server-and-test package.
* Added e2e ci scripts.
* Split up commands.
* Testing e2e after rspecs on same build node.
* Move Cypress back to node 0 for Knapsack.
* Added folders for build artifacts for failed E2E tests.
* Simplified e2e for CI
* Using knapsack-pro-cypress now.
* Added data-testid to sign up form for tests.
* Added forem secret for CI
* Updated initial admin fixture.
* Reworked test to be a signup test. wip.
* Added cypress file upload package.
* added fixture for admin profile image.
* Updated forem secret for tests.
* Added Cypress file upload to Cypress commands.
* Changed test to initial sign up for the first admin user.
* Fixed test to ensure there are no signup errors.
* Added some logging to see what's up.
* Added some comments to the test.
* Set Chrome web security to false to prevent CORS errors.
Co-authored-by: rhymes <rhymes@hey.com>
* Set baseUrl for Cypress tests.
* Fixed login form for tests.
* Added fixture data for initial admin credentials.
* First e2e test.
* Fixed a typo in a comment.
* Using an input of type submit like the login previously had was fine.
* Added a check to ensure user is redirected to the home page.
* Forgot to commit adding @testing-library/cypress
* Renamed and move login flow under loginFlows in integrations.
* Added testing library to support files so it does not need to be imported into every test explicitly by the test writer.
* Added some more Cypress related files that will be required for testing going forward.
* Took onboarding into account when checking the URL post login.
* Added eslint plugin/rules for Cypress.
* Added Cypress to the project for end to end testing.
* Added ~/.cache folder to cache Cypress binary on Travis.