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
0a0cf985
Commit
0a0cf985
authored
Dec 03, 2019
by
Desiree Chevalier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix license compliance spec loading issue
parent
bfd6f3db
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
qa/qa/page/base.rb
qa/qa/page/base.rb
+4
-1
qa/qa/page/component/select2.rb
qa/qa/page/component/select2.rb
+1
-1
qa/qa/page/settings/common.rb
qa/qa/page/settings/common.rb
+2
-1
No files found.
qa/qa/page/base.rb
View file @
0a0cf985
...
...
@@ -146,7 +146,10 @@ module QA
end
def
finished_loading?
has_no_css?
(
'.fa-spinner'
,
wait:
Capybara
.
default_max_wait_time
)
# The number of selectors should be able to be reduced after
# migration to the new spinner is complete.
# https://gitlab.com/groups/gitlab-org/-/epics/956
has_no_css?
(
'.gl-spinner, .fa-spinner, .spinner'
,
wait:
Capybara
.
default_max_wait_time
)
end
def
finished_loading_block?
...
...
qa/qa/page/component/select2.rb
View file @
0a0cf985
...
...
@@ -31,7 +31,7 @@ module QA
end
def
wait_for_search_to_complete
has_css?
(
'.select2-active'
)
has_css?
(
'.select2-active'
,
wait:
1
)
has_no_css?
(
'.select2-active'
,
wait:
30
)
end
end
...
...
qa/qa/page/settings/common.rb
View file @
0a0cf985
...
...
@@ -6,7 +6,7 @@ module QA
module
Common
# Click the Expand button present in the specified section
#
# @param [Symbol]
and
`element` name defined in a `view` block
# @param [Symbol]
element_name
`element` name defined in a `view` block
def
expand_section
(
element_name
)
within_element
(
element_name
)
do
# Because it is possible to click the button before the JS toggle code is bound
...
...
@@ -14,6 +14,7 @@ module QA
click_button
'Expand'
unless
has_css?
(
'button'
,
text:
'Collapse'
,
wait:
1
)
has_content?
(
'Collapse'
)
finished_loading?
end
yield
if
block_given?
...
...
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