Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
738bad8e
Commit
738bad8e
authored
Jan 22, 2018
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix CI/CD end-to-end tests by waiting for changes
parent
5520e3eb
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
+7
-5
qa/qa/page/project/show.rb
qa/qa/page/project/show.rb
+1
-0
qa/qa/specs/features/project/pipelines_spec.rb
qa/qa/specs/features/project/pipelines_spec.rb
+5
-1
qa/qa/specs/features/repository/push_spec.rb
qa/qa/specs/features/repository/push_spec.rb
+1
-4
No files found.
qa/qa/page/project/show.rb
View file @
738bad8e
...
...
@@ -33,6 +33,7 @@ module QA
def
wait_for_push
sleep
5
refresh
end
end
end
...
...
qa/qa/specs/features/project/pipelines_spec.rb
View file @
738bad8e
...
...
@@ -15,8 +15,10 @@ module QA
end
Page
::
Project
::
Settings
::
CICD
.
perform
do
|
settings
|
settings
.
refresh
settings
.
expand_runners_settings
do
|
page
|
expect
(
page
).
to
have_content
(
runne
r
)
expect
(
page
).
to
have_content
(
executo
r
)
expect
(
page
).
to
have_online_runner
end
end
...
...
@@ -58,6 +60,8 @@ module QA
end
Page
::
Project
::
Show
.
act
{
wait_for_push
}
expect
(
page
).
to
have_content
(
'Add .gitlab-ci.yml'
)
end
end
end
qa/qa/specs/features/repository/push_spec.rb
View file @
738bad8e
...
...
@@ -11,10 +11,7 @@ module QA
push
.
commit_message
=
'Add README.md'
end
Page
::
Project
::
Show
.
act
do
wait_for_push
refresh
end
Page
::
Project
::
Show
.
act
{
wait_for_push
}
expect
(
page
).
to
have_content
(
'README.md'
)
expect
(
page
).
to
have_content
(
'This is a test project'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment