docbrown/spec/support
Nick Taylor 15601285a5
Add data cleaning pre-test run to end to end tests (#12001)
* 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.
2020-12-26 16:58:12 +01:00
..
fixtures Add Sign in with Apple (#11934) 2020-12-18 10:22:33 -06:00
initializers Fix RSpec unit testing when using Docker dev setup (#10950) 2020-10-20 10:36:41 -04:00
api_analytics_shared_examples.rb [deploy] Rubocop: fix violations of Layout/LineLength (#9197) 2020-07-08 08:36:36 -05:00
database_cleaner.rb Add data cleaning pre-test run to end to end tests (#12001) 2020-12-26 16:58:12 +01:00
elasticsearch_helpers.rb Flaky Spec Fixes: Dont Assume No Elasticsearch Data, Refresh before delete_by_query (#8354) 2020-06-09 07:55:28 -05:00
omniauth_helpers.rb Add Sign in with Apple (#11934) 2020-12-18 10:22:33 -06:00
runkit_tag_context.rb Fix Runkit tags not being activated when comment is added (#6767) 2020-05-15 14:27:46 +02:00
shared_context.rb
sidekiq_test_helpers.rb Add implicit points to follows to improve feed relevancy (in all algorithms) (#11513) 2020-11-25 16:09:51 -05:00
within_block_is_expected.rb