Skip to content

Commit

Permalink
chore: run unit tests for Firefox on MacOS (#6896)
Browse files Browse the repository at this point in the history
  • Loading branch information
whimboo authored Feb 18, 2021
1 parent 00d88ef commit b046fd7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/keyboard.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit b046fd7

Please sign in to comment.