Skip to content

Commit

Permalink
test(accessibility): Picked the changes from puppeteer#5116 for Flaky…
Browse files Browse the repository at this point in the history
… tests

This patch includes the changes from puppeteer#5116
  • Loading branch information
yashLadha committed Nov 4, 2019
1 parent acc5825 commit 4f84c24
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/accessibility.spec.js
Expand Up @@ -42,6 +42,7 @@ module.exports.addTests = function({testRunner, expect, FFOX}) {
</select>
</body>`);

await page.focus('[placeholder="Empty input"]');
const golden = FFOX ? {
role: 'document',
name: 'Accessibility Test',
Expand Down Expand Up @@ -81,6 +82,7 @@ module.exports.addTests = function({testRunner, expect, FFOX}) {
});
it('should report uninteresting nodes', async function({page}) {
await page.setContent(`<textarea autofocus>hi</textarea>`);
await page.focus('textarea');
const golden = FFOX ? {
role: 'entry',
name: '',
Expand Down

0 comments on commit 4f84c24

Please sign in to comment.