diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e46cd448e56..13d102b23e3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -113,6 +113,13 @@ jobs: run: | npm run unit + - name: Run unit tests on Firefox + env: + FIREFOX: true + MOZ_WEBRENDER: 0 + run: | + npm run funit + windows: # https://github.com/actions/virtual-environments#available-environments runs-on: windows-latest diff --git a/test/keyboard.spec.ts b/test/keyboard.spec.ts index 13a2773dd5d..5aff0f95e79 100644 --- a/test/keyboard.spec.ts +++ b/test/keyboard.spec.ts @@ -127,7 +127,7 @@ describe('Keyboard', function () { await page.evaluate(() => document.querySelector('textarea').value) ).toBe('嗨a'); }); - it('should report shiftKey', async () => { + itFailsFirefox('should report shiftKey', async () => { const { page, server } = getTestState(); await page.goto(server.PREFIX + '/input/keyboard.html');