Skip to content

Commit

Permalink
test(accessibility): Fix duplicated test (#3539)
Browse files Browse the repository at this point in the history
  • Loading branch information
kblok authored and aslushnikov committed Nov 15, 2018
1 parent 95a19c7 commit 03d8746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/accessibility.spec.js
Expand Up @@ -158,7 +158,7 @@ module.exports.addTests = function({testRunner, expect}) {
});
it('plain text field with tabindex and without role should not have content', async function({page}) {
await page.setContent(`
<div contenteditable="plaintext-only">Edit this image:<img src="fakeimage.png" alt="my fake image"></div>`);
<div contenteditable="plaintext-only" tabIndex=0>Edit this image:<img src="fakeimage.png" alt="my fake image"></div>`);
const snapshot = await page.accessibility.snapshot();
expect(snapshot.children[0]).toEqual({
role: 'GenericContainer',
Expand Down

0 comments on commit 03d8746

Please sign in to comment.