Test verify confirmation Failures
|
| open |
./tests/html/test_confirm.html |
|
| assertFailureOnNext |
There were no confirmations |
|
| verifyConfirmation |
This should fail - there are no confirmations |
|
| click |
confirmAndLeave |
|
| assertFailureOnNext |
The confirmation message was [You are about to go to a dummy page.] |
|
| verifyConfirmation |
this should fail - wrong confirmation |
|
| open |
./tests/html/test_confirm.html |
|
| click |
confirmAndLeave |
|
| assertErrorOnNext |
There was an unexpected Confirmation! [You are about to go to a dummy page.] |
|
| open |
./tests/html/test_confirm.html |
|