From 4607d5a2d3e37715e277a9d634a533f658c70bcc Mon Sep 17 00:00:00 2001 From: Henrik Skupin Date: Tue, 20 Apr 2021 08:56:20 +0200 Subject: [PATCH] chore: run "should be able to launch Firefox" only with regular install (#7106) --- test/launcher.spec.ts | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/test/launcher.spec.ts b/test/launcher.spec.ts index 74bfc750b3d..1a56b5428e5 100644 --- a/test/launcher.spec.ts +++ b/test/launcher.spec.ts @@ -469,14 +469,17 @@ describe('Launcher specs', function () { ]); }); - it('should be able to launch Firefox', async function () { - this.timeout(FIREFOX_TIMEOUT); - const { puppeteer } = getTestState(); - const browser = await puppeteer.launch({ product: 'firefox' }); - const userAgent = await browser.userAgent(); - await browser.close(); - expect(userAgent).toContain('Firefox'); - }); + itOnlyRegularInstall( + 'should be able to launch Firefox', + async function () { + this.timeout(FIREFOX_TIMEOUT); + const { puppeteer } = getTestState(); + const browser = await puppeteer.launch({ product: 'firefox' }); + const userAgent = await browser.userAgent(); + await browser.close(); + expect(userAgent).toContain('Firefox'); + } + ); }); describe('Puppeteer.connect', function () {