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
Boxiang Sun
gitlab-ce
Commits
7b5722c8
Commit
7b5722c8
authored
Aug 16, 2017
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a number of failed Spinach tests with Selenium needing accept_alert
parent
d3e81673
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
features/steps/project/builds/summary.rb
features/steps/project/builds/summary.rb
+1
-1
features/steps/project/issues/labels.rb
features/steps/project/issues/labels.rb
+1
-1
features/steps/project/issues/milestones.rb
features/steps/project/issues/milestones.rb
+1
-1
No files found.
features/steps/project/builds/summary.rb
View file @
7b5722c8
...
...
@@ -18,7 +18,7 @@ class Spinach::Features::ProjectBuildsSummary < Spinach::FeatureSteps
end
step
'I click erase build button'
do
click_link
'Erase'
accept_confirm
{
click_link
'Erase'
}
end
step
'recent build has been erased'
do
...
...
features/steps/project/issues/labels.rb
View file @
7b5722c8
...
...
@@ -16,7 +16,7 @@ class Spinach::Features::ProjectIssuesLabels < Spinach::FeatureSteps
step
'I delete all labels'
do
page
.
within
'.labels'
do
page
.
all
(
'.remove-row'
).
each
do
first
(
'.remove-row'
).
click
accept_confirm
{
first
(
'.remove-row'
).
click
}
end
end
end
...
...
features/steps/project/issues/milestones.rb
View file @
7b5722c8
...
...
@@ -63,7 +63,7 @@ class Spinach::Features::ProjectIssuesMilestones < Spinach::FeatureSteps
end
step
'I click link to remove milestone'
do
accept_alert
{
click_link
'Delete'
}
click_link
'Delete'
end
step
'I should see no milestones'
do
...
...
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