mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: run unit tests for Firefox on MacOS (#6896)
This commit is contained in:
parent
00d88ef0d8
commit
b046fd79bd
7
.github/workflows/main.yml
vendored
7
.github/workflows/main.yml
vendored
@ -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
|
||||||
|
@ -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');
|
||||||
|
Loading…
Reference in New Issue
Block a user