From b046fd79bd97e8623c40204193bff028096e4474 Mon Sep 17 00:00:00 2001 From: Henrik Skupin Date: Thu, 18 Feb 2021 13:44:36 +0100 Subject: [PATCH] chore: run unit tests for Firefox on MacOS (#6896) --- .github/workflows/main.yml | 7 +++++++ test/keyboard.spec.ts | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e46cd448e568b..13d102b23e324 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 13a2773dd5dcc..5aff0f95e7945 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');