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
2255b811
Commit
2255b811
authored
Sep 24, 2019
by
Walmyr Lima
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new method to base page object
parent
4480491e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
qa/qa/page/base.rb
qa/qa/page/base.rb
+4
-0
No files found.
qa/qa/page/base.rb
View file @
2255b811
...
...
@@ -131,6 +131,10 @@ module QA
has_no_css?
(
'.fa-spinner'
,
wait:
Capybara
.
default_max_wait_time
)
end
def
finished_loading_block?
has_no_css?
(
'.fa-spinner.block-loading'
,
wait:
Capybara
.
default_max_wait_time
)
end
def
wait_for_animated_element
(
name
)
# It would be ideal if we could detect when the animation is complete
# but in some cases there's nothing we can easily access via capybara
...
...
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