labs42io / web-automation

BDD tests with Cucumber, WebdriverIO and Docker Selenium

Home Page:https://labs42io.github.io/web-automation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pause for XXXXms - not working?

ratnose opened this issue · comments

I need to use pauses in my test and glad to find pause, added:
And I pause for 3000ms

When I look at the test through VNC, there is no 3 sec pause what so ever.
That is why my test fails.

There is a test ensures it works and it passes:

Scenario: pause
        Given I open the url "http://webdriverjs.christian-bromann.com/"
        And   there is no element ".lateElem" on the page
        When  I pause for 3000ms
        Then  I expect that element ".lateElem" is displayed

Make sure you use it correctly.