From 27b39dfb0ac979a9420882a38641314234b678b6 Mon Sep 17 00:00:00 2001 From: Joel Einbinder Date: Tue, 26 Nov 2019 17:17:57 -0800 Subject: [PATCH] s/accept/dismiss --- test/dialog.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/dialog.spec.js b/test/dialog.spec.js index e4902d558c..501b828108 100644 --- a/test/dialog.spec.js +++ b/test/dialog.spec.js @@ -53,7 +53,7 @@ module.exports.addTests = function({testRunner, expect, FFOX, CHROME, WEBKIT}) { const result = await page.evaluate(() => confirm('boolean?')); expect(result).toBe(true); }); - it('should accept the confirm prompt', async({page, server}) => { + it('should dismiss the confirm prompt', async({page, server}) => { page.on('dialog', dialog => { dialog.dismiss(); });