From 98d28749e051ff8af050e5db9df0e90e790b6cef Mon Sep 17 00:00:00 2001 From: Henrik Skupin Date: Wed, 17 Feb 2021 12:02:23 +0100 Subject: [PATCH] chore: run unit tests for Firefox on MacOS --- .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 395d825b1f0a0..694ff4e260ff1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -114,6 +114,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');