Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

test: fix visibility spelling in test (#11476)

campersau4a9fc4d30bf8
diff --git a/tests/page/page-click-timeout-2.spec.ts b/tests/page/page-click-timeout-2.spec.ts
index 07b21561e6..7a2f30eaa9 100644
--- a/tests/page/page-click-timeout-2.spec.ts
+++ b/tests/page/page-click-timeout-2.spec.ts
@@ -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);