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 it.fail().slow is not a function (#3420)

Dmitry Gozmaneb67c86213e2
diff --git a/test/runner/fixturesUI.js b/test/runner/fixturesUI.js
index 82d0dac40e..51d82c9426 100644
--- a/test/runner/fixturesUI.js
+++ b/test/runner/fixturesUI.js
@@ -119,6 +119,7 @@ function fixturesUI(trialRun, suite) {
return condition ? context.xit : context.it;
};
context.it.slow = () => itBuilder(['slow']);
+ context.xit.slow = () => context.xit;
context.it.retries = function(n) {
context.retries(n);
};