mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 11:35:40 +01:00
Try to enable smoketests also on webkit
This commit is contained in:
parent
dfe35b15bb
commit
45227a089e
4 changed files with 6 additions and 2 deletions
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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 .",
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue