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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
8dce7880
Commit
8dce7880
authored
May 08, 2017
by
Oswaldo Ferreira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add wait_for_vue_resource where needed
parent
ccb6b191
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
features/steps/shared/issuable.rb
features/steps/shared/issuable.rb
+3
-0
No files found.
features/steps/shared/issuable.rb
View file @
8dce7880
module
SharedIssuable
module
SharedIssuable
include
Spinach
::
DSL
include
Spinach
::
DSL
include
WaitForVueResource
def
edit_issuable
def
edit_issuable
find
(
'.issuable-edit'
,
visible:
true
).
click
find
(
'.issuable-edit'
,
visible:
true
).
click
...
@@ -57,6 +58,7 @@ module SharedIssuable
...
@@ -57,6 +58,7 @@ module SharedIssuable
step
'I visit merge request page "Enterprise fix"'
do
step
'I visit merge request page "Enterprise fix"'
do
mr
=
MergeRequest
.
find_by
(
title:
'Enterprise fix'
)
mr
=
MergeRequest
.
find_by
(
title:
'Enterprise fix'
)
visit
namespace_project_merge_request_path
(
mr
.
target_project
.
namespace
,
mr
.
target_project
,
mr
)
visit
namespace_project_merge_request_path
(
mr
.
target_project
.
namespace
,
mr
.
target_project
,
mr
)
wait_for_vue_resource
end
end
step
'I visit issue page "Community issue"'
do
step
'I visit issue page "Community issue"'
do
...
@@ -91,6 +93,7 @@ module SharedIssuable
...
@@ -91,6 +93,7 @@ module SharedIssuable
from_project_name:
'Community'
,
from_project_name:
'Community'
,
user_name:
'Mary Jane'
user_name:
'Mary Jane'
)
)
wait_for_vue_resource
end
end
step
'I should see a note linking to "Enterprise issue" issue'
do
step
'I should see a note linking to "Enterprise issue" issue'
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