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
10763a9d
Commit
10763a9d
authored
Jan 18, 2019
by
Sanad Liaquat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wait for label svg to load
parent
c9504df6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
app/views/shared/empty_states/_labels.html.haml
app/views/shared/empty_states/_labels.html.haml
+1
-1
qa/qa/page/label/index.rb
qa/qa/page/label/index.rb
+10
-0
No files found.
app/views/shared/empty_states/_labels.html.haml
View file @
10763a9d
.row.empty-state.labels
.row.empty-state.labels
.col-12
.col-12
.svg-content
.svg-content
.qa-label-svg
=
image_tag
'illustrations/labels.svg'
=
image_tag
'illustrations/labels.svg'
.col-12
.col-12
.text-content
.text-content
...
...
qa/qa/page/label/index.rb
View file @
10763a9d
...
@@ -6,7 +6,17 @@ module QA
...
@@ -6,7 +6,17 @@ module QA
element
:label_create_new
element
:label_create_new
end
end
view
'app/views/shared/empty_states/_labels.html.haml'
do
element
:label_svg
end
def
go_to_new_label
def
go_to_new_label
wait
(
reload:
false
)
do
within_element
(
:label_svg
)
do
has_css?
(
'.js-lazy-loaded'
)
end
end
click_element
:label_create_new
click_element
:label_create_new
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