Improved test.
This commit is contained in:
parent
965ec293eb
commit
8ba009168e
1 changed files with 4 additions and 0 deletions
|
@ -44,6 +44,7 @@ class FirstStepsTest < TestCase
|
||||||
)
|
)
|
||||||
click(
|
click(
|
||||||
css: '.modal button.btn.btn--primary',
|
css: '.modal button.btn.btn--primary',
|
||||||
|
fast: true,
|
||||||
)
|
)
|
||||||
watch_for(
|
watch_for(
|
||||||
css: 'body div.modal',
|
css: 'body div.modal',
|
||||||
|
@ -77,6 +78,7 @@ class FirstStepsTest < TestCase
|
||||||
)
|
)
|
||||||
click(
|
click(
|
||||||
css: '.modal button.btn.btn--primary',
|
css: '.modal button.btn.btn--primary',
|
||||||
|
fast: true,
|
||||||
)
|
)
|
||||||
watch_for(
|
watch_for(
|
||||||
css: 'body div.modal',
|
css: 'body div.modal',
|
||||||
|
@ -90,6 +92,7 @@ class FirstStepsTest < TestCase
|
||||||
# test ticket
|
# test ticket
|
||||||
click(
|
click(
|
||||||
css: '.active.content .js-testTicket',
|
css: '.active.content .js-testTicket',
|
||||||
|
fast: true,
|
||||||
)
|
)
|
||||||
watch_for(
|
watch_for(
|
||||||
css: 'body div.modal',
|
css: 'body div.modal',
|
||||||
|
@ -97,6 +100,7 @@ class FirstStepsTest < TestCase
|
||||||
)
|
)
|
||||||
click(
|
click(
|
||||||
css: '.modal .modal-body',
|
css: '.modal .modal-body',
|
||||||
|
fast: true,
|
||||||
)
|
)
|
||||||
watch_for_disappear(
|
watch_for_disappear(
|
||||||
css: 'body div.modal',
|
css: 'body div.modal',
|
||||||
|
|
Loading…
Reference in a new issue