mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
test: fix visibility spelling in test (#11476)
This commit is contained in:
parent
6928c84ac2
commit
4a9fc4d30b
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user