Skip to content

Commit f8a08e2

Browse files
authored
Merge pull request #13 from lopezca/remove-timeout-pragma-reference
Updates Web.md
2 parents c24e621 + 852953d commit f8a08e2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Chapters/Web/Web.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,9 @@ table/tbody/tr[4]/td/table/tbody/tr/td[2]/table/tbody/tr[3]/td/p[2]/font'
818818
And finally create the test to verify if the user is registered successfully.
819819
```
820820
EPRegisterUserTest >> testRegistrationOfUser
821-
<timeout: 10>
821+
822+
self timeLimit: 10 seconds.
823+
822824
self sendInformationToContactSection.
823825
self sendInformationToMailingSection.
824826
self sendInformationToUserSection.
@@ -833,7 +835,7 @@ and password you''ve just entered.'
833835

834836
Sometimes this test can fail because the page needs to save the new user and load the successful message.
835837
Another problem that can cause the test failure is the time it takes for our Selenium server to use the browser driver.
836-
So we use the timeout pragma to try to avoid this, but you can also use the `Delay` class.
838+
So we use the `timeLimit:` message to give the test more time to run, but you can also use the `Delay` class.
837839
If you don't have this problem, delete the line.
838840

839841
Finally, run the test and observe its result. If the test passed, you are now able to create multiple tests using Parasol.

0 commit comments

Comments
 (0)