Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-05-09 02:52:05 +0300
committerDouwe Maan <douwe@selenight.nl>2017-05-10 16:21:58 +0300
commit00fc9f260706cfd6d6f4261eea24eb3ff455b3e0 (patch)
treec09dc1e2fccd2a4b5e0cce613465ec367133a5dd /features/steps/project/project.rb
parentecc6cc8be75b5c66fdf7f5595b71aabf9366a5e1 (diff)
Load tree readme asynchronously
Diffstat (limited to 'features/steps/project/project.rb')
-rw-r--r--features/steps/project/project.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/features/steps/project/project.rb b/features/steps/project/project.rb
index 280d70925f7..9c2196a8ef7 100644
--- a/features/steps/project/project.rb
+++ b/features/steps/project/project.rb
@@ -2,6 +2,7 @@ class Spinach::Features::Project < Spinach::FeatureSteps
include SharedAuthentication
include SharedProject
include SharedPaths
+ include WaitForAjax
step 'change project settings' do
fill_in 'project_name_edit', with: 'NewName'
@@ -86,6 +87,7 @@ class Spinach::Features::Project < Spinach::FeatureSteps
end
step 'I should see project "Shop" README' do
+ wait_for_ajax
page.within('.readme-holder') do
expect(page).to have_content 'testme'
end