Skip to content

Fix the test about setting invalid timeout - #296

Merged
stof merged 1 commit into
minkphp:masterfrom
stof:fix_timeout_test
Oct 3, 2018
Merged

stof merged 1 commit into
minkphp:masterfrom
stof:fix_timeout_test

Conversation

@stof

@stof stof commented Oct 3, 2018

Copy link
Copy Markdown
Member

If the session is not started, the timeout is not applied on the webdriver session (as it does not exist at that point). Failures happen only when applying the timeout on the session.

That's a test I missed in #278 when fixing other tests which were dependant on the implicit start during getSession()

If the session is not started, the timeout is not applied on the webdriver
session (as it does not exist at that point). Failures happen only when
applying the timeout on the session.
@stof

stof commented Oct 3, 2018

Copy link
Copy Markdown
Member Author

Note that this test was failing only when being run as the first test of the testsuite, as our testsuite is resetting the session between tests, not stopping it.

@aik099

aik099 commented Oct 3, 2018

Copy link
Copy Markdown
Member

OK.

@stof
stof merged commit 01bd0d7 into minkphp:master Oct 3, 2018
@stof
stof deleted the fix_timeout_test branch October 3, 2018 13:47
@aik099 aik099 mentioned this pull request Jan 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants