From 4f84c245b118af882ae5fbcba35311aa2c01cefa Mon Sep 17 00:00:00 2001 From: Yash Ladha Date: Mon, 4 Nov 2019 12:08:01 +0530 Subject: [PATCH] test(accessibility): Picked the changes from #5116 for Flaky tests This patch includes the changes from #5116 --- test/accessibility.spec.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/accessibility.spec.js b/test/accessibility.spec.js index a284d493caf73..b60fc691fa266 100644 --- a/test/accessibility.spec.js +++ b/test/accessibility.spec.js @@ -42,6 +42,7 @@ module.exports.addTests = function({testRunner, expect, FFOX}) { `); + await page.focus('[placeholder="Empty input"]'); const golden = FFOX ? { role: 'document', name: 'Accessibility Test', @@ -81,6 +82,7 @@ module.exports.addTests = function({testRunner, expect, FFOX}) { }); it('should report uninteresting nodes', async function({page}) { await page.setContent(``); + await page.focus('textarea'); const golden = FFOX ? { role: 'entry', name: '',