Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- $this->expectException(UnexpectedAlertOpenException::class);
- $this->browse(function (Browser $browser) {
- $browser->loginToWave()
- ->goToSystemsEdit();
- $browser->waitFor('@delete-systems-button')
- ->click('@delete-systems-button')
- ->assertDialogOpened('This will delete the system. Please seek advice before doing this. Continue?')
- ->dismissDialog()
- ->assertPathBeginsWith('systems/edit');
- });
- }
- 1) TestsBrowserSystemsDeleteSystemTest::testSystemNotDeletedIfConfirmIsDismissed
- FacebookWebDriverExceptionUnexpectedAlertOpenException: unexpected alert open: {Alert text : This will delete the system. Please seek advice before doing this. Continue?}
- (Session info: chrome=71.0.3578.98)
- (Driver info: chromedriver=2.45.615279 (12b89733300bd268cff3b78fc76cb8f3a7cc44e5),platform=Linux 4.9.125-linuxkit x86_64)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement