1
0
Эх сурвалжийг харах

Try to enable smoketests also on webkit

Alex Dima 3 жил өмнө
parent
commit
45227a089e

+ 3 - 0
.github/workflows/ci.yml

@@ -32,6 +32,9 @@ jobs:
       - name: Install Playwright
         run: npm run playwright-install
 
+      - name: Install OS Dependencies for Playwright
+        run: sudo npm run playwright-install-deps
+
       - name: Check prettier
         run: npm run prettier-check
 

+ 1 - 0
package.json

@@ -10,6 +10,7 @@
 		"gulp": "node ./node_modules/gulp/bin/gulp.js",
 		"import-typescript": "node ./build/importTypescript.js",
 		"playwright-install": "node ./node_modules/playwright/install.js",
+		"playwright-install-deps": "playwright install-deps",
 		"postinstall": "node build/postinstall.js",
 		"prettier-check": "prettier --check .",
 		"prettier": "prettier --write .",

+ 1 - 1
test/smoke/runner.js

@@ -38,7 +38,7 @@ async function runTests() {
 	for (const type of ['amd', 'webpack']) {
 		await runTest(type, 'chromium');
 		await runTest(type, 'firefox');
-		// await runTest(type, 'webkit');
+		await runTest(type, 'webkit');
 	}
 }
 

+ 1 - 1
test/smoke/smoke.test.js

@@ -63,7 +63,7 @@ afterEach(async () => {
 	await page.close();
 });
 
-describe('Smoke Test', () => {
+describe(`Smoke Test '${TESTS_TYPE}'`, () => {
 	it('`monacoAPI` is exposed as global', async () => {
 		assert.strictEqual(await page.evaluate(`typeof monacoAPI`), 'object');
 	});