Stabilize macro tests

This commit is contained in:
Florian Bruhin 2016-11-10 09:03:56 +01:00
parent adcd8a7220
commit d8d7b42c43

View File

@ -203,24 +203,30 @@ Feature: Keyboard input
Given I open data/scroll/simple.html Given I open data/scroll/simple.html
And I run :tab-only And I run :tab-only
When I run :scroll down with count 6 When I run :scroll down with count 6
And I wait until the scroll position changed
And I run :record-macro And I run :record-macro
And I press the key "a" And I press the key "a"
And I run :scroll up And I run :scroll up
And I run :scroll up And I run :scroll up
And I wait until the scroll position changed
And I run :record-macro And I run :record-macro
And I run :run-macro with count 2 And I run :run-macro with count 2
And I press the key "a" And I press the key "a"
And I wait until the scroll position changed to 0/0
Then the page should not be scrolled Then the page should not be scrolled
Scenario: Recording a named macro Scenario: Recording a named macro
Given I open data/scroll/simple.html Given I open data/scroll/simple.html
And I run :tab-only And I run :tab-only
When I run :scroll down with count 6 When I run :scroll down with count 6
And I wait until the scroll position changed
And I run :record-macro foo And I run :record-macro foo
And I run :scroll up And I run :scroll up
And I run :scroll up And I run :scroll up
And I wait until the scroll position changed
And I run :record-macro foo And I run :record-macro foo
And I run :run-macro foo with count 2 And I run :run-macro foo with count 2
And I wait until the scroll position changed to 0/0
Then the page should not be scrolled Then the page should not be scrolled
Scenario: Running an invalid macro Scenario: Running an invalid macro