Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
7ee8aee9740e
Unverified
Commit
ccaf6ea5
authored
Apr 26, 2017
by
Rémy Coutable
Browse files
Wait for AJAX after steps defined in SharedActiveTab
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
908e775c0d27
Changes
1
Show whitespace changes
Inline
Side-by-side
features/steps/shared/active_tab.rb
View file @
7ee8aee9
module
SharedActiveTab
include
Spinach
::
DSL
include
WaitForAjax
after
do
wait_for_ajax
if
javascript_test?
end
def
ensure_active_main_tab
(
content
)
expect
(
find
(
'.layout-nav li.active'
)).
to
have_content
(
content
)
...
...
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