Skip to content

Commit b046fd7

Browse files
authored
chore: run unit tests for Firefox on MacOS (#6896)
1 parent 00d88ef commit b046fd7

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,13 @@ jobs:
113113
run: |
114114
npm run unit
115115
116+
- name: Run unit tests on Firefox
117+
env:
118+
FIREFOX: true
119+
MOZ_WEBRENDER: 0
120+
run: |
121+
npm run funit
122+
116123
windows:
117124
# https://github.com/actions/virtual-environments#available-environments
118125
runs-on: windows-latest

test/keyboard.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ describe('Keyboard', function () {
127127
await page.evaluate(() => document.querySelector('textarea').value)
128128
).toBe('嗨a');
129129
});
130-
it('should report shiftKey', async () => {
130+
itFailsFirefox('should report shiftKey', async () => {
131131
const { page, server } = getTestState();
132132

133133
await page.goto(server.PREFIX + '/input/keyboard.html');

0 commit comments

Comments
 (0)