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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
b60ad399
Commit
b60ad399
authored
Nov 06, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
c1a893d9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
features/project/commits/tags.feature
features/project/commits/tags.feature
+0
-1
features/steps/project/commits/tags.rb
features/steps/project/commits/tags.rb
+4
-3
No files found.
features/project/commits/tags.feature
View file @
b60ad399
...
@@ -27,7 +27,6 @@ Feature: Project Commits Tags
...
@@ -27,7 +27,6 @@ Feature: Project Commits Tags
And
I submit new tag form with tag that already exists
And
I submit new tag form with tag that already exists
Then
I should see new an error that tag already exists
Then
I should see new an error that tag already exists
@javascript
Scenario
:
I
delete a tag
Scenario
:
I
delete a tag
Given
I visit tag 'v1.1.0' page
Given
I visit tag 'v1.1.0' page
Given
I delete tag 'v1.1.0'
Given
I delete tag 'v1.1.0'
...
...
features/steps/project/commits/tags.rb
View file @
b60ad399
...
@@ -57,13 +57,14 @@ class Spinach::Features::ProjectCommitsTags < Spinach::FeatureSteps
...
@@ -57,13 +57,14 @@ class Spinach::Features::ProjectCommitsTags < Spinach::FeatureSteps
end
end
step
"I delete tag 'v1.1.0'"
do
step
"I delete tag 'v1.1.0'"
do
first
(
'.btn-remove'
).
click
page
.
within
(
'.content'
)
do
sleep
0.05
first
(
'.btn-remove'
).
click
end
end
end
step
"I should not see tag 'v1.1.0'"
do
step
"I should not see tag 'v1.1.0'"
do
page
.
within
'.tags'
do
page
.
within
'.tags'
do
expect
(
page
.
all
(
visible:
true
)).
not_to
have_content
'v1.1.0'
expect
(
page
).
not_to
have_link
'v1.1.0'
end
end
end
end
end
end
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