test: update beforeunload expected text in firefox (#408)

This commit is contained in:
Yury Semikhatsky 2021-04-21 09:33:17 -07:00 committed by GitHub
parent c23afbf9cf
commit e995996e4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,8 +67,10 @@ public class TestPageBasic extends TestBase {
assertEquals("", dialog.message());
} else if (isWebKit()) {
assertEquals("Leave?", dialog.message());
} else {
} else if (isChromium()) {
assertEquals("This page is asking you to confirm that you want to leave - data you have entered may not be saved.", dialog.message());
} else {
assertEquals("This page is asking you to confirm that you want to leave — information youve entered may not be saved.", dialog.message());
}
dialog.accept();
});