gitlab-org--gitlab-foss/spec/support
Robert Speicher bbe0fa91d0 Prevent transient Capybara timeouts during feature tests
The problem occurred because asset compilation takes a long time, so
when the asset cache didn't exist and the first test ran, it would often
(randomly) time out during the generation before the actual test even
had a chance to run.

Now we check if the cache exists before the suite runs, and if not, we
manually fire a request to the root URL in order to generate it. This
should allow subsequent tests to use the cached assets.
2016-01-28 20:56:49 -05:00
..
api Add pagination headers to already paginated API resources 2016-01-14 12:10:27 +01:00
gitlab_stubs Let the CI runner know about builds that this build depends on 2016-01-14 19:45:55 +01:00
matchers Fix parse_gollum_tags matcher 2016-01-14 12:09:31 -02:00
api_helpers.rb fix specs. Stage 2 2015-09-14 18:14:17 +03:00
capybara.rb Prevent transient Capybara timeouts during feature tests 2016-01-28 20:56:49 -05:00
capybara_helpers.rb Add sleep call before yield in allowing_for_delay 2015-06-22 12:13:49 +02:00
db_cleaner.rb Merge branch 'master' into rubocop-for-tests 2015-06-23 10:44:03 +02:00
factory_girl.rb Add spec/support/factory_girl 2015-06-30 17:47:53 -04:00
filter_spec_helper.rb Move Markdown/reference logic from Gitlab::Markdown to Banzai 2015-12-15 15:51:16 +01:00
fixture_helpers.rb Add fixture_file helper. 2015-08-20 12:41:47 -07:00
jira_service_helper.rb Backport JIRA service 2015-12-18 14:19:48 -06:00
login_helpers.rb fix specs. Stage 7 2015-09-15 17:43:17 +03:00
markdown_feature.rb Add tests for the wiki pipeline 2016-01-14 12:09:31 -02:00
mentionable_shared_examples.rb Move common_mentionable_setup to shared context in specs 2015-12-08 08:43:09 +01:00
relative_url.rb Fix emoji URLs in Markdown when relative_url_root is used 2015-09-06 09:46:10 -07:00
repo_helpers.rb Fixed Rubocop offenses 2015-12-15 00:53:52 -02:00
select2_helper.rb Fix Style/Not cop violations 2015-06-22 14:52:41 -04:00
services_shared_context.rb Hide passwords to non-admin users in the services API 2015-10-12 15:24:00 +02:00
setup_builds_storage.rb Don't use "rm" for cleaning tmp/builds 2015-10-02 16:25:47 +02:00
stub_configuration.rb Rename reply_by_email to incoming_email to prepare for the future. 2015-09-21 10:35:37 +02:00
stub_gitlab_calls.rb Merge branch 'master' into ux/suppress-ci-yml-warning 2015-12-14 12:25:37 +01:00
stub_gitlab_data.rb Merge CI factories and CI spec/support with GitLab 2015-09-09 13:37:50 +02:00
taskable_shared_examples.rb Change wording for task list summaries 2015-05-06 17:27:10 -04:00
test_env.rb Prevent transient Capybara timeouts during feature tests 2016-01-28 20:56:49 -05:00
wait_for_ajax.rb Fix random failing test - delete attachment 2015-12-07 23:40:17 +01:00
webmock.rb Add spec/support files for WebMock and test coverage 2015-06-10 01:31:27 -04:00