{"type":"before","callId":"hook@1","wallTime":1780956183764,"startTime":483.079,"class":"Test","method":"step","apiName":"Before Hooks","params":{},"stack":[]}
{"type":"after","callId":"hook@1","endTime":490.296,"attachments":[]}
{"type":"before","callId":"pw:api@2","wallTime":1780956183774,"startTime":493.062,"class":"Test","method":"step","apiName":"browserType.launch","params":{"handleSIGINT":"false","headless":"true","tracesDir":"/root/code/auto-perifit/production-results-220301-xkh6e/.playwright-artifacts-0/traces","proxy":"Object","ignoreDefaultArgs":"undefined","ignoreAllDefaultArgs":"false","env":"undefined"},"stack":[{"file":"/root/code/auto-perifit/helper/lauch.proxy.ts","line":19,"column":34,"function":"launchBrowserWithISPProxy"}]}
{"type":"after","callId":"pw:api@2","endTime":621.277,"attachments":[]}
{"type":"before","callId":"pw:api@3","wallTime":1780956183909,"startTime":629.037,"class":"Test","method":"step","apiName":"browser.newPage","params":{"acceptDownloads":"accept","bypassCSP":"false","colorScheme":"light","deviceScaleFactor":"1","hasTouch":"false","ignoreHTTPSErrors":"true","isMobile":"false","javaScriptEnabled":"true","locale":"en-US","offline":"false","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.6422.26 Safari/537.36","viewport":"Object","serviceWorkers":"allow","noDefaultViewport":"false","extraHTTPHeaders":"undefined","storageState":"undefined","recordHar":"undefined","reducedMotion":"undefined","forcedColors":"undefined"},"stack":[{"file":"/root/code/auto-perifit/helper/lauch.proxy.ts","line":20,"column":30,"function":"launchBrowserWithISPProxy"}]}
{"type":"after","callId":"pw:api@3","endTime":716.26,"attachments":[]}
{"type":"before","callId":"pw:api@4","wallTime":1780956184001,"startTime":719.847,"class":"Test","method":"step","apiName":"page.goto","params":{"url":"https://au.perifit.co/collections/our-products","waitUntil":"load"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":92,"column":14}]}
{"type":"after","callId":"pw:api@4","endTime":14237.71,"attachments":[]}
{"type":"before","callId":"expect@5","wallTime":1780956197522,"startTime":14240.083,"class":"Test","method":"step","apiName":"expect.toHaveURL","params":{"expected":"Object"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":93,"column":22}]}
{"type":"after","callId":"expect@5","endTime":14299.775,"attachments":[]}
{"type":"before","callId":"pw:api@6","wallTime":1780956197584,"startTime":14302.541,"class":"Test","method":"step","apiName":"apiRequestContext.get","params":{"url":"https://ip-api.com/json/","params":"undefined","method":"GET","headers":"undefined","postData":"undefined","jsonData":"undefined","formData":"undefined","multipartData":"undefined","timeout":"10000","failOnStatusCode":"false","ignoreHTTPSErrors":"undefined","maxRedirects":"undefined","__testHookLookup":"undefined"},"stack":[{"file":"/root/code/auto-perifit/helper/attach.geo.ts","line":6,"column":48,"function":"attachGeoLocation"}]}
{"type":"after","callId":"pw:api@6","endTime":15368.559,"attachments":[]}
{"type":"before","callId":"attach@7","wallTime":1780956198652,"startTime":15369.837,"class":"Test","method":"step","apiName":"attach \"geo-location-error.txt\"","params":{},"stack":[{"file":"/root/code/auto-perifit/helper/attach.geo.ts","line":19,"column":13,"function":"attachGeoLocation"}]}
{"type":"after","callId":"attach@7","endTime":15369.964,"attachments":[{"name":"geo-location-error.txt","contentType":"text/plain","sha1":"498ba12afff9693596eaec9fa07e9bd7876e516b"}]}
{"type":"before","callId":"pw:api@8","wallTime":1780956198654,"startTime":15371.472,"class":"Test","method":"step","apiName":"locator.click","params":{"selector":"//span[contains(@class, 'product-card__title')]//a >> nth=0","strict":"true"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":99,"column":22}]}
{"type":"after","callId":"pw:api@8","endTime":16172.435,"attachments":[]}
{"type":"before","callId":"pw:api@9","wallTime":1780956199456,"startTime":16173.523,"class":"Test","method":"step","apiName":"page.waitForTimeout","params":{"timeout":"3000"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":102,"column":14}]}
{"type":"after","callId":"pw:api@9","endTime":19285.132,"attachments":[]}
{"type":"before","callId":"pw:api@10","wallTime":1780956202568,"startTime":19286.583,"class":"Test","method":"step","apiName":"locator.click","params":{"selector":"//div[normalize-space() = 'Add to cart'] >> nth=0","strict":"true"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":103,"column":74}]}
{"type":"after","callId":"pw:api@10","endTime":19493.718,"attachments":[]}
{"type":"before","callId":"pw:api@11","wallTime":1780956202777,"startTime":19495.12,"class":"Test","method":"step","apiName":"locator.click","params":{"selector":"//form[@class='cart-form rounded']//button[@name='checkout']","strict":"true"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":106,"column":86}]}
{"type":"after","callId":"pw:api@11","endTime":25429.578,"attachments":[]}
{"type":"before","callId":"pw:api@12","wallTime":1780956208713,"startTime":25431.195,"class":"Test","method":"step","apiName":"page.waitForTimeout","params":{"timeout":"5000"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":107,"column":14}]}
{"type":"after","callId":"pw:api@12","endTime":30644.704,"attachments":[]}
{"type":"before","callId":"pw:api@13","wallTime":1780956213929,"startTime":30646.842,"class":"Test","method":"step","apiName":"locator.fill","params":{"selector":"//input[@id='email']","value":"for.test.perifit@gmail.com","strict":"true"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":39,"column":53,"function":"CheckoutPage.inputEmail"}]}
{"type":"after","callId":"pw:api@13","endTime":32359.713,"attachments":[]}
{"type":"before","callId":"pw:api@14","wallTime":1780956215644,"startTime":32361.571,"class":"Test","method":"step","apiName":"locator.fill","params":{"selector":"//input[@placeholder='First name']","value":"Auto","strict":"true"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":48,"column":67,"function":"CheckoutPage.inputFirstName"}]}
{"type":"after","callId":"pw:api@14","endTime":33105.115,"attachments":[]}
{"type":"before","callId":"pw:api@15","wallTime":1780956216388,"startTime":33106.24,"class":"Test","method":"step","apiName":"locator.fill","params":{"selector":"//input[@placeholder='Last name']","value":"Test","strict":"true"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":52,"column":66,"function":"CheckoutPage.inputLastName"}]}
{"type":"after","callId":"pw:api@15","endTime":33690.079,"attachments":[]}
{"type":"before","callId":"pw:api@16","wallTime":1780956216973,"startTime":33691.088,"class":"Test","method":"step","apiName":"locator.type","params":{"selector":"//input[@placeholder='Address']","text":"Cossington Smith Crescent","strict":"true","delay":"500"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":56,"column":64,"function":"CheckoutPage.inputAddress1"}]}
{"type":"after","callId":"pw:api@16","endTime":46768.866,"attachments":[]}
{"type":"before","callId":"pw:api@17","wallTime":1780956230052,"startTime":46770.671,"class":"Test","method":"step","apiName":"locator.clear","params":{"selector":"//input[@placeholder='Address']","value":"","strict":"true"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":57,"column":64,"function":"CheckoutPage.inputAddress1"}]}
{"type":"after","callId":"pw:api@17","endTime":46853.941,"attachments":[]}
{"type":"before","callId":"pw:api@18","wallTime":1780956230137,"startTime":46857.677,"class":"Test","method":"step","apiName":"locator.type","params":{"selector":"//input[@placeholder='Address']","text":"Cossington Smith Crescent","strict":"true","delay":"300"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":58,"column":64,"function":"CheckoutPage.inputAddress1"}]}
{"type":"after","callId":"pw:api@18","endTime":54670.715,"attachments":[]}
{"type":"before","callId":"pw:api@19","wallTime":1780956237955,"startTime":54672.545,"class":"Test","method":"step","apiName":"page.waitForSelector","params":{"selector":"//h3[text()='Suggestions']"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":59,"column":21,"function":"CheckoutPage.inputAddress1"}]}
{"type":"after","callId":"pw:api@19","endTime":54724.138,"attachments":[]}
{"type":"before","callId":"pw:api@20","wallTime":1780956238008,"startTime":54725.286,"class":"Test","method":"step","apiName":"locator.click","params":{"selector":"//li[@id='shipping-address1-option-0']","strict":"true"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":64,"column":71,"function":"CheckoutPage.selectOptionAddress1"}]}
{"type":"after","callId":"pw:api@20","endTime":54847.477,"attachments":[]}
{"type":"before","callId":"pw:api@21","wallTime":1780956238131,"startTime":54848.784,"class":"Test","method":"step","apiName":"locator.fill","params":{"selector":"//input[@placeholder='Phone']","value":"61212345678","strict":"true"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":68,"column":62,"function":"CheckoutPage.inputPhoneNumber"}]}
{"type":"after","callId":"pw:api@21","endTime":55081.042,"attachments":[]}
{"type":"before","callId":"pw:api@22","wallTime":1780956238364,"startTime":55082.025,"class":"Test","method":"step","apiName":"page.waitForTimeout","params":{"timeout":"3000"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":120,"column":14}]}
{"type":"after","callId":"pw:api@22","endTime":58286.07,"attachments":[]}
{"type":"before","callId":"pw:api@23","wallTime":1780956241570,"startTime":58287.245,"class":"Test","method":"step","apiName":"page.waitForSelector","params":{"selector":"//h2[text()='Payment']"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":125,"column":27}]}
{"type":"after","callId":"pw:api@23","endTime":58348.866,"attachments":[]}
{"type":"before","callId":"pw:api@24","wallTime":1780956241633,"startTime":58350.676,"class":"Test","method":"step","apiName":"locator.fill","params":{"selector":"//iframe[contains(@id, 'card-fields-number')] >> internal:control=enter-frame >> //input[@placeholder='Card number']","value":"4578890081868844","strict":"true"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":76,"column":63,"function":"CheckoutPage.checkoutWithCreditCard"}]}
{"type":"after","callId":"pw:api@24","endTime":59015.693,"attachments":[]}
{"type":"before","callId":"pw:api@25","wallTime":1780956242299,"startTime":59017.916,"class":"Test","method":"step","apiName":"locator.fill","params":{"selector":"//iframe[contains(@id, 'card-fields-expiry')] >> internal:control=enter-frame >> //input[@placeholder='Expiration date (MM / YY)']","value":"02/2028","strict":"true"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":77,"column":61,"function":"CheckoutPage.checkoutWithCreditCard"}]}
{"type":"after","callId":"pw:api@25","endTime":59441.508,"attachments":[]}
{"type":"before","callId":"pw:api@26","wallTime":1780956242725,"startTime":59442.714,"class":"Test","method":"step","apiName":"locator.fill","params":{"selector":"//iframe[contains(@id, 'card-fields-verification')] >> internal:control=enter-frame >> //input[@placeholder='Security code']","value":"732","strict":"true"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":78,"column":53,"function":"CheckoutPage.checkoutWithCreditCard"}]}
{"type":"after","callId":"pw:api@26","endTime":59761.12,"attachments":[]}
{"type":"before","callId":"expect@27","wallTime":1780956243050,"startTime":59768.431,"class":"Test","method":"step","apiName":"expect.toBeVisible","params":{"expected":"Object"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":127,"column":84}]}
{"type":"after","callId":"expect@27","endTime":59875.309,"attachments":[]}
{"type":"before","callId":"pw:api@28","wallTime":1780956243159,"startTime":59876.634,"class":"Test","method":"step","apiName":"locator.click","params":{"selector":"//span[normalize-space()='Review order'] >> nth=0","strict":"true"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":128,"column":77}]}
{"type":"after","callId":"pw:api@28","endTime":60571.221,"attachments":[]}
{"type":"stdout","timestamp":60572.054,"text":"Waiting for Pay now button to be enabled...\n"}
{"type":"before","callId":"pw:api@29","wallTime":1780956243855,"startTime":60573.263,"class":"Test","method":"step","apiName":"page.waitForSelector","params":{"selector":"/html/body/div[1]/div[1]/div/div[1]/div[2]/div[1]/div/main/div/div/div/div/div[2]/div/div/div/div/div[2]/div[1]/form/div[1]/div/button","timeout":"10000"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":133,"column":16}]}
{"type":"after","callId":"pw:api@29","endTime":60705.069,"attachments":[],"error":{"name":"","message":"Error: page.waitForSelector: Unexpected token \"/\" while parsing selector \"/html/body/div[1]/div[1]/div/div[1]/div[2]/div[1]/div/main/div/div/div/div/div[2]/div/div/div/div/div[2]/div[1]/form/div[1]/div/button\"\nCall log:\n  \u001b[2m- waiting for /html/body/div[1]/div[1]/div/div[1]/div[2]/div[1]/div/main/div/div/div/div/div[2]/div/div/div/div/div[2]/div[1]/form/div[1]/div/button to be visible\u001b[22m\n","stack":"Error: page.waitForSelector: Unexpected token \"/\" while parsing selector \"/html/body/div[1]/div[1]/div/div[1]/div[2]/div[1]/div/main/div/div/div/div/div[2]/div/div/div/div/div[2]/div[1]/form/div[1]/div/button\"\nCall log:\n  \u001b[2m- waiting for /html/body/div[1]/div[1]/div/div[1]/div[2]/div[1]/div/main/div/div/div/div/div[2]/div/div/div/div/div[2]/div[1]/form/div[1]/div/button to be visible\u001b[22m\n\n    at /root/code/auto-perifit/tests/mariam/au.test.ts:133:16"}}
{"type":"stderr","timestamp":60705.311,"text":"Pay now button using full XPath did not become enabled, trying alternate XPath...\n"}
{"type":"before","callId":"pw:api@30","wallTime":1780956243988,"startTime":60706.086,"class":"Test","method":"step","apiName":"page.waitForSelector","params":{"selector":"(//button[@aria-live='polite'  and contains(normalize-space(), 'Pay now')])"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":138,"column":16}]}
{"type":"after","callId":"pw:api@30","endTime":64044.442,"attachments":[]}
{"type":"before","callId":"pw:api@31","wallTime":1780956247328,"startTime":64045.288,"class":"Test","method":"step","apiName":"locator.click","params":{"selector":"(//button[@aria-live='polite'  and contains(normalize-space(), 'Pay now')])","strict":"true"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":139,"column":62}]}
{"type":"after","callId":"pw:api@31","endTime":64260.114,"attachments":[]}
{"type":"stdout","timestamp":64260.207,"text":"Pay now button clicked with alternate XPath.\n"}
{"type":"before","callId":"pw:api@32","wallTime":1780956247543,"startTime":64261.103,"class":"Test","method":"step","apiName":"page.waitForTimeout","params":{"timeout":"3000"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":144,"column":14}]}
{"type":"after","callId":"pw:api@32","endTime":67308.894,"attachments":[]}
{"type":"stdout","timestamp":67309.174,"text":"Final URL after payment: https://au.perifit.co/checkouts/cn/hWND7Jh364UOG8XEboz9Qq0I/en-au/review?_r=AQAB4axlrdF4qBGRS9M4GIfxGGlWnuKTe9d0BiVAjYk2\n"}
{"type":"stdout","timestamp":67309.281,"text":"Final URL after processing: https://au.perifit.co/checkouts/cn/hWND7Jh364UOG8XEboz9Qq0I/en-au/review?_r=AQAB4axlrdF4qBGRS9M4GIfxGGlWnuKTe9d0BiVAjYk2\n"}
{"type":"before","callId":"expect@33","wallTime":1780956250592,"startTime":67310.413,"class":"Test","method":"step","apiName":"expect.toMatch","params":{"expected":"Object"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":174,"column":20}]}
{"type":"after","callId":"expect@33","endTime":67310.88,"attachments":[]}
{"type":"before","callId":"hook@34","wallTime":1780956250594,"startTime":67311.383,"class":"Test","method":"step","apiName":"After Hooks","params":{},"stack":[]}
{"type":"after","callId":"hook@34","endTime":68821.839,"attachments":[]}