Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
fix(lint): fix doclint and preprocessor tests (#3793)
Joel Einbinder658b34e3fe3e
diff --git a/utils/doclint/check_public_api/test/test.js b/utils/doclint/check_public_api/test/test.jsindex b9b8b73cf7..754cb26560 100644--- a/utils/doclint/check_public_api/test/test.js+++ b/utils/doclint/check_public_api/test/test.js@@ -20,7 +20,7 @@ const checkPublicAPI = require('..');const Source = require('../../Source');const mdBuilder = require('../MDBuilder');const jsBuilder = require('../JSBuilder');-const { registerWorkerFixture } = require('@playwright/test-runner');+const { registerWorkerFixture, describe, it, expect } = require('@playwright/test-runner');registerWorkerFixture('page', async({}, test) => {const browser = await playwright.chromium.launch();diff --git a/utils/doclint/preprocessor/test.js b/utils/doclint/preprocessor/test.jsindex 01d8c0cb4a..4febd4e8f7 100644--- a/utils/doclint/preprocessor/test.js+++ b/utils/doclint/preprocessor/test.js@@ -16,6 +16,7 @@const {runCommands} = require('.');const Source = require('../Source');+const { describe, it, expect } = require('@playwright/test-runner');describe('runCommands', function() {const OPTIONS_REL = {