mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: add test configuration options for running tests against multiple products (#5964)
* chore: remove "Extracting..." log message Fixes #5741. * test: support extra Launcher options and skips The extra Launcher options and skipping conditions enable unit tests to be run more easily by third-parties, e.g. browser vendors that are interested in Puppeteer support. Extra Launcher options were previously removed as part of switching away from the custom test harness. * test: enable more tests for Firefox
This commit is contained in:
committed by
Mathias Bynens
parent
5c91dfbf3f
commit
3d56a9e76f
@@ -40,7 +40,7 @@ describe('network', function () {
|
||||
await page.goto(server.EMPTY_PAGE);
|
||||
expect(requests.length).toBe(1);
|
||||
});
|
||||
itFailsFirefox('should fire for iframes', async () => {
|
||||
it('should fire for iframes', async () => {
|
||||
const { page, server } = getTestState();
|
||||
|
||||
const requests = [];
|
||||
@@ -110,7 +110,7 @@ describe('network', function () {
|
||||
});
|
||||
});
|
||||
|
||||
describeFailsFirefox('Request.headers', function () {
|
||||
describe('Request.headers', function () {
|
||||
it('should work', async () => {
|
||||
const { page, server, isChrome } = getTestState();
|
||||
|
||||
@@ -122,7 +122,7 @@ describe('network', function () {
|
||||
});
|
||||
});
|
||||
|
||||
describeFailsFirefox('Response.headers', function () {
|
||||
describe('Response.headers', function () {
|
||||
it('should work', async () => {
|
||||
const { page, server } = getTestState();
|
||||
|
||||
@@ -325,7 +325,7 @@ describe('network', function () {
|
||||
});
|
||||
});
|
||||
|
||||
describeFailsFirefox('Response.statusText', function () {
|
||||
describe('Response.statusText', function () {
|
||||
it('should work', async () => {
|
||||
const { page, server } = getTestState();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user