{"version":8,"type":"context-options","origin":"testRunner","browserName":"","playwrightVersion":"1.61.1","options":{},"platform":"linux","wallTime":1786129383887,"monotonicTime":1745.936,"sdkLanguage":"javascript","testTimeout":250000}
{"type":"before","callId":"hook@1","stepId":"hook@1","startTime":1766.244,"class":"Test","method":"hook","title":"Before Hooks","params":{},"stack":[]}
{"type":"after","callId":"hook@1","endTime":1784.069,"annotations":[]}
{"type":"before","callId":"pw:api@24","stepId":"pw:api@24","startTime":1789.404,"class":"Test","method":"pw:api","title":"Launch browser","params":{"handleSIGINT":"false","tracesDir":"/root/code/auto-perifit/production-results-190301-zzrcu/.playwright-artifacts-0/traces","artifactsDir":"/root/code/auto-perifit/production-results-190301-zzrcu/.playwright-artifacts-0","headless":"true","channel":"chrome","proxy":"Object","ignoreDefaultArgs":"undefined","ignoreAllDefaultArgs":"false","env":"undefined","timeout":"180000"},"stack":[{"file":"/root/code/auto-perifit/helper/lauch.proxy.ts","line":21,"column":34,"function":"launchBrowserWithISPProxy"}]}
{"type":"after","callId":"pw:api@24","endTime":2063.018,"annotations":[]}
{"type":"before","callId":"pw:api@25","stepId":"pw:api@25","startTime":2069.378,"class":"Test","method":"pw:api","title":"Create page","params":{"ignoreHTTPSErrors":"true","selectorEngines":"[]","testIdAttributeName":"data-testid","acceptDownloads":"accept","bypassCSP":"false","colorScheme":"light","deviceScaleFactor":"1","hasTouch":"false","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/149.0.7827.55 Safari/537.36","viewport":"Object","serviceWorkers":"allow","noDefaultViewport":"false","extraHTTPHeaders":"undefined","storageState":"undefined","reducedMotion":"undefined","forcedColors":"undefined","contrast":"undefined","clientCertificates":"undefined"},"stack":[{"file":"/root/code/auto-perifit/helper/lauch.proxy.ts","line":22,"column":30,"function":"launchBrowserWithISPProxy"}]}
{"type":"after","callId":"pw:api@25","endTime":2253.43,"annotations":[]}
{"type":"before","callId":"pw:api@26","stepId":"pw:api@26","startTime":2255.282,"class":"Test","method":"pw:api","title":"Navigate to \"/collections/our-products\"","params":{"url":"https://au.perifit.co/collections/our-products","waitUntil":"load","timeout":"0"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":91,"column":14}]}
{"type":"after","callId":"pw:api@26","endTime":21782.982,"annotations":[]}
{"type":"before","callId":"expect@27","stepId":"expect@27","startTime":21786.43,"class":"Test","method":"expect","title":"Expect \"toHaveURL\"","params":{"expected":"Object"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":92,"column":22}]}
{"type":"after","callId":"expect@27","endTime":21843.526,"annotations":[]}
{"type":"before","callId":"pw:api@28","stepId":"pw:api@28","startTime":21847.15,"class":"Test","method":"pw:api","title":"Click locator('//span[contains(@class, \\'product-card__title\\')]//a').first()","params":{"selector":"//span[contains(@class, 'product-card__title')]//a >> nth=0","strict":"true","timeout":"0"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":95,"column":22}]}
{"type":"after","callId":"pw:api@28","endTime":23239.032,"annotations":[]}
{"type":"before","callId":"pw:api@29","stepId":"pw:api@29","startTime":23242.289,"class":"Test","method":"pw:api","title":"Wait for timeout","params":{"waitTimeout":"3000"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":98,"column":14}]}
{"type":"after","callId":"pw:api@29","endTime":26308.798,"annotations":[]}
{"type":"before","callId":"pw:api@30","stepId":"pw:api@30","startTime":26310.214,"class":"Test","method":"pw:api","title":"Click locator('//div[normalize-space() = \\'Add to cart\\']').first()","params":{"selector":"//div[normalize-space() = 'Add to cart'] >> nth=0","strict":"true","timeout":"0"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":99,"column":74}]}
{"type":"after","callId":"pw:api@30","endTime":26459.102,"annotations":[]}
{"type":"before","callId":"pw:api@31","stepId":"pw:api@31","startTime":26460.579,"class":"Test","method":"pw:api","title":"Click locator('//form[@class=\\'cart-form rounded\\']//button[@name=\\'checkout\\']')","params":{"selector":"//form[@class='cart-form rounded']//button[@name='checkout']","strict":"true","timeout":"0"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":102,"column":86}]}
{"type":"after","callId":"pw:api@31","endTime":33279.773,"annotations":[]}
{"type":"before","callId":"pw:api@32","stepId":"pw:api@32","startTime":33287.423,"class":"Test","method":"pw:api","title":"Wait for timeout","params":{"waitTimeout":"5000"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":103,"column":14}]}
{"type":"after","callId":"pw:api@32","endTime":38365.768,"annotations":[]}
{"type":"before","callId":"pw:api@33","stepId":"pw:api@33","startTime":38369.57,"class":"Test","method":"pw:api","title":"Fill \"for.test.perifit@gmail.com\" locator('//input[@id=\\'email\\']')","params":{"selector":"//input[@id='email']","value":"for.test.perifit@gmail.com","strict":"true","timeout":"0"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":38,"column":53,"function":"CheckoutPage.inputEmail"}]}
{"type":"after","callId":"pw:api@33","endTime":38512.919,"annotations":[]}
{"type":"before","callId":"pw:api@34","stepId":"pw:api@34","startTime":38532.738,"class":"Test","method":"pw:api","title":"Fill \"Auto\" locator('//input[@placeholder=\\'First name\\']')","params":{"selector":"//input[@placeholder='First name']","value":"Auto","strict":"true","timeout":"0"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":47,"column":67,"function":"CheckoutPage.inputFirstName"}]}
{"type":"after","callId":"pw:api@34","endTime":38789.278,"annotations":[]}
{"type":"before","callId":"pw:api@35","stepId":"pw:api@35","startTime":38804.104,"class":"Test","method":"pw:api","title":"Fill \"Test\" locator('//input[@placeholder=\\'Last name\\']')","params":{"selector":"//input[@placeholder='Last name']","value":"Test","strict":"true","timeout":"0"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":51,"column":66,"function":"CheckoutPage.inputLastName"}]}
{"type":"after","callId":"pw:api@35","endTime":39362.048,"annotations":[]}
{"type":"before","callId":"pw:api@36","stepId":"pw:api@36","startTime":39364.945,"class":"Test","method":"pw:api","title":"Type \"Cossington Smith Crescent\" locator('//input[@placeholder=\\'Address\\']')","params":{"selector":"//input[@placeholder='Address']","text":"Cossington Smith Crescent","strict":"true","delay":"500","timeout":"0"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":55,"column":64,"function":"CheckoutPage.inputAddress1"}]}
{"type":"after","callId":"pw:api@36","endTime":53321.08,"annotations":[]}
{"type":"before","callId":"pw:api@37","stepId":"pw:api@37","startTime":53322.744,"class":"Test","method":"pw:api","title":"Clear locator('//input[@placeholder=\\'Address\\']')","params":{"selector":"//input[@placeholder='Address']","value":"","strict":"true","timeout":"0"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":56,"column":64,"function":"CheckoutPage.inputAddress1"}]}
{"type":"after","callId":"pw:api@37","endTime":53421.825,"annotations":[]}
{"type":"before","callId":"pw:api@38","stepId":"pw:api@38","startTime":53422.697,"class":"Test","method":"pw:api","title":"Type \"Cossington Smith Crescent\" locator('//input[@placeholder=\\'Address\\']')","params":{"selector":"//input[@placeholder='Address']","text":"Cossington Smith Crescent","strict":"true","delay":"300","timeout":"0"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":57,"column":64,"function":"CheckoutPage.inputAddress1"}]}
{"type":"after","callId":"pw:api@38","endTime":61291.417,"annotations":[]}
{"type":"before","callId":"pw:api@39","stepId":"pw:api@39","startTime":61292.608,"class":"Test","method":"pw:api","title":"Wait for selector locator('//h3[text()=\\'Suggestions\\']')","params":{"selector":"//h3[text()='Suggestions']","timeout":"0"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":58,"column":21,"function":"CheckoutPage.inputAddress1"}]}
{"type":"after","callId":"pw:api@39","endTime":61337.677,"annotations":[]}
{"type":"before","callId":"pw:api@40","stepId":"pw:api@40","startTime":61338.564,"class":"Test","method":"pw:api","title":"Click locator('//li[@id=\\'shipping-address1-option-0\\']')","params":{"selector":"//li[@id='shipping-address1-option-0']","strict":"true","timeout":"0"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":63,"column":71,"function":"CheckoutPage.selectOptionAddress1"}]}
{"type":"after","callId":"pw:api@40","endTime":61424.437,"annotations":[]}
{"type":"before","callId":"pw:api@41","stepId":"pw:api@41","startTime":61427.28,"class":"Test","method":"pw:api","title":"Fill \"61212345678\" locator('//input[@placeholder=\\'Phone\\']')","params":{"selector":"//input[@placeholder='Phone']","value":"61212345678","strict":"true","timeout":"0"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":67,"column":62,"function":"CheckoutPage.inputPhoneNumber"}]}
{"type":"after","callId":"pw:api@41","endTime":61559.68,"annotations":[]}
{"type":"before","callId":"pw:api@42","stepId":"pw:api@42","startTime":61560.905,"class":"Test","method":"pw:api","title":"Wait for timeout","params":{"waitTimeout":"3000"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":116,"column":14}]}
{"type":"after","callId":"pw:api@42","endTime":64665.197,"annotations":[]}
{"type":"before","callId":"pw:api@43","stepId":"pw:api@43","startTime":64669.411,"class":"Test","method":"pw:api","title":"Wait for selector locator('//h2[text()=\\'Payment\\']')","params":{"selector":"//h2[text()='Payment']","timeout":"0"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":121,"column":27}]}
{"type":"after","callId":"pw:api@43","endTime":64749.747,"annotations":[]}
{"type":"before","callId":"pw:api@44","stepId":"pw:api@44","startTime":64751.211,"class":"Test","method":"pw:api","title":"Fill \"4578890081868844\" locator('//iframe[contains(@id, \\'card-fields-number\\')]').contentFrame().locator('//input[@placeholder=\\'Card number\\']')","params":{"selector":"//iframe[contains(@id, 'card-fields-number')] >> internal:control=enter-frame >> //input[@placeholder='Card number']","value":"4578890081868844","strict":"true","timeout":"0"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":75,"column":63,"function":"CheckoutPage.checkoutWithCreditCard"}]}
{"type":"after","callId":"pw:api@44","endTime":65298.652,"annotations":[]}
{"type":"before","callId":"pw:api@45","stepId":"pw:api@45","startTime":65303.265,"class":"Test","method":"pw:api","title":"Fill \"02/2028\" locator('//iframe[contains(@id, \\'card-fields-expiry\\')]').contentFrame().locator('//input[@placeholder=\\'Expiration date (MM / YY)\\']')","params":{"selector":"//iframe[contains(@id, 'card-fields-expiry')] >> internal:control=enter-frame >> //input[@placeholder='Expiration date (MM / YY)']","value":"02/2028","strict":"true","timeout":"0"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":76,"column":61,"function":"CheckoutPage.checkoutWithCreditCard"}]}
{"type":"after","callId":"pw:api@45","endTime":65985.852,"annotations":[]}
{"type":"before","callId":"pw:api@46","stepId":"pw:api@46","startTime":65987.103,"class":"Test","method":"pw:api","title":"Fill \"732\" locator('//iframe[contains(@id, \\'card-fields-verification\\')]').contentFrame().locator('//input[@placeholder=\\'Security code\\']')","params":{"selector":"//iframe[contains(@id, 'card-fields-verification')] >> internal:control=enter-frame >> //input[@placeholder='Security code']","value":"732","strict":"true","timeout":"0"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":77,"column":53,"function":"CheckoutPage.checkoutWithCreditCard"}]}
{"type":"after","callId":"pw:api@46","endTime":66512.147,"annotations":[]}
{"type":"before","callId":"expect@47","stepId":"expect@47","startTime":66515.687,"class":"Test","method":"expect","title":"Expect \"toBeVisible\"","params":{"expected":"Object"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":123,"column":84}]}
{"type":"after","callId":"expect@47","endTime":66646.096,"annotations":[]}
{"type":"before","callId":"pw:api@48","stepId":"pw:api@48","startTime":66647.15,"class":"Test","method":"pw:api","title":"Click locator('//span[normalize-space()=\\'Review order\\']').first()","params":{"selector":"//span[normalize-space()='Review order'] >> nth=0","strict":"true","timeout":"0"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":124,"column":77}]}
{"type":"after","callId":"pw:api@48","endTime":67621.709,"annotations":[]}
{"type":"stdout","timestamp":67622.327,"text":"Waiting for Pay now button to be enabled...\n"}
{"type":"before","callId":"pw:api@49","stepId":"pw:api@49","startTime":67627.421,"class":"Test","method":"pw:api","title":"Wait for 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","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":129,"column":16}]}
{"type":"after","callId":"pw:api@49","endTime":67790.808,"annotations":[],"error":{"name":"","message":"Error: page.waitForSelector: Unexpected token \"/\" while parsing css 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\". Did you mean to CSS.escape it?\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 css 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\". Did you mean to CSS.escape it?\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:129:16"}}
{"type":"stderr","timestamp":67791.041,"text":"Pay now button using full XPath did not become enabled, trying alternate XPath...\n"}
{"type":"before","callId":"pw:api@50","stepId":"pw:api@50","startTime":67793.674,"class":"Test","method":"pw:api","title":"Wait for selector locator('xpath=(//button[@aria-live=\\'polite\\'  and contains(normalize-space(), \\'Pay now\\')])')","params":{"selector":"(//button[@aria-live='polite'  and contains(normalize-space(), 'Pay now')])","timeout":"0"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":134,"column":16}]}
{"type":"after","callId":"pw:api@50","endTime":70780.452,"annotations":[]}
{"type":"before","callId":"pw:api@51","stepId":"pw:api@51","startTime":70781.368,"class":"Test","method":"pw:api","title":"Click locator('xpath=(//button[@aria-live=\\'polite\\'  and contains(normalize-space(), \\'Pay now\\')])')","params":{"selector":"(//button[@aria-live='polite'  and contains(normalize-space(), 'Pay now')])","strict":"true","timeout":"0"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":135,"column":62}]}
{"type":"after","callId":"pw:api@51","endTime":70961.691,"annotations":[]}
{"type":"stdout","timestamp":70961.799,"text":"Pay now button clicked with alternate XPath.\n"}
{"type":"before","callId":"pw:api@52","stepId":"pw:api@52","startTime":70962.556,"class":"Test","method":"pw:api","title":"Wait for timeout","params":{"waitTimeout":"3000"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":140,"column":14}]}
{"type":"after","callId":"pw:api@52","endTime":74043.697,"annotations":[]}
{"type":"stdout","timestamp":74044.07,"text":"Final URL after payment: https://au.perifit.co/checkouts/cn/hWNFOEQNp0oOa1kj311i9Xl4/en-au/review?_r=AQABXvt6V0R1OtYhSPyavryrO9A6RmSFg74ikuURLyet\n"}
{"type":"stdout","timestamp":74044.287,"text":"Final URL after processing: https://au.perifit.co/checkouts/cn/hWNFOEQNp0oOa1kj311i9Xl4/en-au/review?_r=AQABXvt6V0R1OtYhSPyavryrO9A6RmSFg74ikuURLyet\n"}
{"type":"before","callId":"expect@53","stepId":"expect@53","startTime":74045.574,"class":"Test","method":"expect","title":"Expect \"toMatch\"","params":{"expected":"Object"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/au.test.ts","line":170,"column":20}]}
{"type":"after","callId":"expect@53","endTime":74046.047,"annotations":[]}
{"type":"before","callId":"hook@54","stepId":"hook@54","startTime":74048.991,"class":"Test","method":"hook","title":"After Hooks","params":{},"stack":[]}
{"type":"before","callId":"fixture@63","stepId":"fixture@63","parentId":"hook@54","startTime":77237.347,"class":"Test","method":"fixture","title":"Fixture \"userAgent\"","params":{},"stack":[{"file":"project#Google Chrome","line":1,"column":1}],"group":"configuration"}
{"type":"after","callId":"fixture@63","endTime":77237.394,"annotations":[]}
{"type":"before","callId":"fixture@65","stepId":"fixture@65","parentId":"hook@54","startTime":77237.889,"class":"Test","method":"fixture","title":"Fixture \"viewport\"","params":{},"stack":[{"file":"project#Google Chrome","line":1,"column":1}],"group":"configuration"}
{"type":"after","callId":"fixture@65","endTime":77240.785,"annotations":[]}
{"type":"before","callId":"fixture@72","stepId":"fixture@72","parentId":"hook@54","startTime":77273.348,"class":"Test","method":"fixture","title":"Fixture \"isMobile\"","params":{},"stack":[{"file":"project#Google Chrome","line":1,"column":1}],"group":"configuration"}
{"type":"after","callId":"fixture@72","endTime":77273.398,"annotations":[]}
{"type":"before","callId":"fixture@76","stepId":"fixture@76","parentId":"hook@54","startTime":77274.606,"class":"Test","method":"fixture","title":"Fixture \"hasTouch\"","params":{},"stack":[{"file":"project#Google Chrome","line":1,"column":1}],"group":"configuration"}
{"type":"after","callId":"fixture@76","endTime":77274.645,"annotations":[]}
{"type":"before","callId":"fixture@78","stepId":"fixture@78","parentId":"hook@54","startTime":77285.633,"class":"Test","method":"fixture","title":"Fixture \"deviceScaleFactor\"","params":{},"stack":[{"file":"project#Google Chrome","line":1,"column":1}],"group":"configuration"}
{"type":"after","callId":"fixture@78","endTime":77285.817,"annotations":[]}
{"type":"after","callId":"hook@54","endTime":77292.972,"annotations":[]}