test: fix visibility spelling in test (#11476)

This commit is contained in:
campersau 2022-01-19 14:46:27 +01:00 committed by GitHub
parent 6928c84ac2
commit 4a9fc4d30b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ it('should timeout waiting for display:none to be gone', async ({ page, server }
expect(error.message).toContain('element is not visible - waiting');
});
it('should timeout waiting for visbility:hidden to be gone', async ({ page, server }) => {
it('should timeout waiting for visibility:hidden to be gone', async ({ page, server }) => {
await page.goto(server.PREFIX + '/input/button.html');
await page.$eval('button', b => b.style.visibility = 'hidden');
const error = await page.click('button', { timeout: 5000 }).catch(e => e);