{"type":"before","callId":"hook@1","wallTime":1780945383059,"startTime":523.3,"class":"Test","method":"step","apiName":"Before Hooks","params":{},"stack":[]}
{"type":"after","callId":"hook@1","endTime":533.65,"attachments":[]}
{"type":"before","callId":"pw:api@2","wallTime":1780945383073,"startTime":537.993,"class":"Test","method":"step","apiName":"browserType.launch","params":{"handleSIGINT":"false","headless":"true","tracesDir":"/root/code/auto-perifit/production-results-190301-ds4wc/.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":694.145,"attachments":[]}
{"type":"before","callId":"pw:api@3","wallTime":1780945383237,"startTime":704.183,"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":808.693,"attachments":[]}
{"type":"before","callId":"pw:api@4","wallTime":1780945383348,"startTime":811.837,"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":35825.873,"attachments":[]}
{"type":"before","callId":"expect@5","wallTime":1780945418364,"startTime":35828.553,"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":35901.203,"attachments":[]}
{"type":"before","callId":"pw:api@6","wallTime":1780945418441,"startTime":35904.611,"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":36792.149,"attachments":[]}
{"type":"before","callId":"attach@7","wallTime":1780945419330,"startTime":36793.341,"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":36793.445,"attachments":[{"name":"geo-location-error.txt","contentType":"text/plain","sha1":"498ba12afff9693596eaec9fa07e9bd7876e516b"}]}
{"type":"before","callId":"pw:api@8","wallTime":1780945419332,"startTime":36794.961,"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":38154.882,"attachments":[]}
{"type":"before","callId":"pw:api@9","wallTime":1780945420693,"startTime":38156.715,"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":41325.725,"attachments":[]}
{"type":"before","callId":"pw:api@10","wallTime":1780945423866,"startTime":41330.255,"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":41506.003,"attachments":[]}
{"type":"before","callId":"pw:api@11","wallTime":1780945424044,"startTime":41509.285,"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":47590.993,"attachments":[]}
{"type":"before","callId":"pw:api@12","wallTime":1780945430129,"startTime":47592.279,"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":52820.388,"attachments":[]}
{"type":"before","callId":"pw:api@13","wallTime":1780945435359,"startTime":52823.046,"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":54032.562,"attachments":[]}
{"type":"before","callId":"pw:api@14","wallTime":1780945436571,"startTime":54042.903,"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":55194.039,"attachments":[]}
{"type":"before","callId":"pw:api@15","wallTime":1780945437732,"startTime":55195.694,"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":56432.449,"attachments":[]}
{"type":"before","callId":"pw:api@16","wallTime":1780945438971,"startTime":56433.85,"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":70075.645,"attachments":[]}
{"type":"before","callId":"pw:api@17","wallTime":1780945452614,"startTime":70077.304,"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":70201.713,"attachments":[]}
{"type":"before","callId":"pw:api@18","wallTime":1780945452740,"startTime":70202.848,"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":78047.803,"attachments":[]}
{"type":"before","callId":"pw:api@19","wallTime":1780945460586,"startTime":78049.875,"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":78101.791,"attachments":[]}
{"type":"before","callId":"pw:api@20","wallTime":1780945460641,"startTime":78103.804,"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":78264.641,"attachments":[]}
{"type":"before","callId":"pw:api@21","wallTime":1780945460804,"startTime":78267.607,"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":78486.71,"attachments":[]}
{"type":"before","callId":"pw:api@22","wallTime":1780945461024,"startTime":78487.433,"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":81723.042,"attachments":[]}
{"type":"before","callId":"pw:api@23","wallTime":1780945464261,"startTime":81724.128,"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":81881.167,"attachments":[]}
{"type":"before","callId":"pw:api@24","wallTime":1780945464420,"startTime":81884.491,"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":82480.564,"attachments":[]}
{"type":"before","callId":"pw:api@25","wallTime":1780945465019,"startTime":82481.893,"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":82829.38,"attachments":[]}
{"type":"before","callId":"pw:api@26","wallTime":1780945465367,"startTime":82830.541,"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":83162.917,"attachments":[]}
{"type":"before","callId":"expect@27","wallTime":1780945465701,"startTime":83164.746,"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":83328.991,"attachments":[]}
{"type":"before","callId":"pw:api@28","wallTime":1780945465867,"startTime":83330.162,"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":83805.064,"attachments":[]}
{"type":"stdout","timestamp":83805.913,"text":"Waiting for Pay now button to be enabled...\n"}
{"type":"before","callId":"pw:api@29","wallTime":1780945466344,"startTime":83807.027,"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":84069.118,"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":84069.373,"text":"Pay now button using full XPath did not become enabled, trying alternate XPath...\n"}
{"type":"before","callId":"pw:api@30","wallTime":1780945466607,"startTime":84070.477,"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":87143.829,"attachments":[]}
{"type":"before","callId":"pw:api@31","wallTime":1780945469682,"startTime":87152.279,"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":87432.283,"attachments":[]}
{"type":"stdout","timestamp":87432.38,"text":"Pay now button clicked with alternate XPath.\n"}
{"type":"before","callId":"pw:api@32","wallTime":1780945469970,"startTime":87433.318,"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":90487.043,"attachments":[]}
{"type":"stdout","timestamp":90487.238,"text":"Final URL after payment: https://au.perifit.co/checkouts/cn/hWND71UQXJHPnGwYwtl4Scfy/en-au/review?_r=AQABo9AYsRqtEUe4noNjDF-VFlTHN_bHeQqcjNBWjuy_\n"}
{"type":"stdout","timestamp":90487.282,"text":"Final URL after processing: https://au.perifit.co/checkouts/cn/hWND71UQXJHPnGwYwtl4Scfy/en-au/review?_r=AQABo9AYsRqtEUe4noNjDF-VFlTHN_bHeQqcjNBWjuy_\n"}
{"type":"before","callId":"expect@33","wallTime":1780945473025,"startTime":90488.243,"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":90488.577,"attachments":[]}
{"type":"before","callId":"hook@34","wallTime":1780945473026,"startTime":90488.971,"class":"Test","method":"step","apiName":"After Hooks","params":{},"stack":[]}
{"type":"after","callId":"hook@34","endTime":92346.446,"attachments":[]}