From aa732bd148e5284d102d39be7295d4bf89d149fd Mon Sep 17 00:00:00 2001 From: Adameddy26 <158989293+Adameddy26@users.noreply.github.com> Date: Fri, 14 Jun 2024 18:25:21 +0530 Subject: [PATCH] Update fulfillment.spec.js --- tests/fulfillment.spec.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/fulfillment.spec.js b/tests/fulfillment.spec.js index b13c117a..af56f588 100644 --- a/tests/fulfillment.spec.js +++ b/tests/fulfillment.spec.js @@ -1,9 +1,10 @@ const { test, expect, chromium } = require('@playwright/test'); test('Fulfillment', async () => { test.setTimeout(8000000); // Setting a long timeout to handle long test runs - const browser = await chromium.launch({headless:false}); - const context = await browser.newContext({recordVideo: {dir: 'videos/'}}, {viewport: {width:1350, height:650}}); + const browser = await chromium.launch({headless:true}); + const context = await browser.newContext({recordVideo: {dir: 'videos/'}}); const page = await context.newPage(); + await page.setViewport({ width: 1350, height: 650 }); // Function to login to launchpad async function launchpadLogin() {