chore: run unit tests for Firefox on MacOS (#6896)

This commit is contained in:
Henrik Skupin 2021-02-18 13:44:36 +01:00 committed by GitHub
parent 00d88ef0d8
commit b046fd79bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View File

@ -113,6 +113,13 @@ jobs:
run: | run: |
npm run unit npm run unit
- name: Run unit tests on Firefox
env:
FIREFOX: true
MOZ_WEBRENDER: 0
run: |
npm run funit
windows: windows:
# https://github.com/actions/virtual-environments#available-environments # https://github.com/actions/virtual-environments#available-environments
runs-on: windows-latest runs-on: windows-latest

View File

@ -127,7 +127,7 @@ describe('Keyboard', function () {
await page.evaluate(() => document.querySelector('textarea').value) await page.evaluate(() => document.querySelector('textarea').value)
).toBe('嗨a'); ).toBe('嗨a');
}); });
it('should report shiftKey', async () => { itFailsFirefox('should report shiftKey', async () => {
const { page, server } = getTestState(); const { page, server } = getTestState();
await page.goto(server.PREFIX + '/input/keyboard.html'); await page.goto(server.PREFIX + '/input/keyboard.html');