{"version":8,"type":"context-options","origin":"testRunner","browserName":"","playwrightVersion":"1.61.1","options":{},"platform":"linux","wallTime":1786226583513,"monotonicTime":1594.882,"sdkLanguage":"javascript","testTimeout":250000}
{"type":"before","callId":"hook@1","stepId":"hook@1","startTime":1618.886,"class":"Test","method":"hook","title":"Before Hooks","params":{},"stack":[]}
{"type":"after","callId":"hook@1","endTime":1629.972,"annotations":[]}
{"type":"before","callId":"pw:api@24","stepId":"pw:api@24","startTime":1636.275,"class":"Test","method":"pw:api","title":"Launch browser","params":{"handleSIGINT":"false","tracesDir":"/root/code/auto-perifit/production-results-220301-k3ip6/.playwright-artifacts-0/traces","artifactsDir":"/root/code/auto-perifit/production-results-220301-k3ip6/.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":1917.868,"annotations":[]}
{"type":"before","callId":"pw:api@25","stepId":"pw:api@25","startTime":1920.149,"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":2081.637,"annotations":[]}
{"type":"before","callId":"pw:api@26","stepId":"pw:api@26","startTime":2091.198,"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":23664.602,"annotations":[]}
{"type":"before","callId":"expect@27","stepId":"expect@27","startTime":23678.476,"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":23760.579,"annotations":[]}
{"type":"before","callId":"pw:api@28","stepId":"pw:api@28","startTime":23763.081,"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":25044.149,"annotations":[]}
{"type":"before","callId":"pw:api@29","stepId":"pw:api@29","startTime":25046.35,"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":28119.822,"annotations":[]}
{"type":"before","callId":"pw:api@30","stepId":"pw:api@30","startTime":28121.103,"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":28270.003,"annotations":[]}
{"type":"before","callId":"pw:api@31","stepId":"pw:api@31","startTime":28271.037,"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":33925.707,"annotations":[]}
{"type":"before","callId":"pw:api@32","stepId":"pw:api@32","startTime":33930.332,"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":39085.289,"annotations":[]}
{"type":"before","callId":"pw:api@33","stepId":"pw:api@33","startTime":39087.863,"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":39255.938,"annotations":[]}
{"type":"before","callId":"pw:api@34","stepId":"pw:api@34","startTime":39257.631,"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":39465.11,"annotations":[]}
{"type":"before","callId":"pw:api@35","stepId":"pw:api@35","startTime":39466.601,"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":40214.297,"annotations":[]}
{"type":"before","callId":"pw:api@36","stepId":"pw:api@36","startTime":40219.514,"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":54040.906,"annotations":[]}
{"type":"before","callId":"pw:api@37","stepId":"pw:api@37","startTime":54041.917,"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":54122.899,"annotations":[]}
{"type":"before","callId":"pw:api@38","stepId":"pw:api@38","startTime":54131.343,"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":61924.208,"annotations":[]}
{"type":"before","callId":"pw:api@39","stepId":"pw:api@39","startTime":61925.813,"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":61961.841,"annotations":[]}
{"type":"before","callId":"pw:api@40","stepId":"pw:api@40","startTime":61962.714,"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":62063.926,"annotations":[]}
{"type":"before","callId":"pw:api@41","stepId":"pw:api@41","startTime":62064.958,"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":62264.796,"annotations":[]}
{"type":"before","callId":"pw:api@42","stepId":"pw:api@42","startTime":62265.892,"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":65396.818,"annotations":[]}
{"type":"before","callId":"pw:api@43","stepId":"pw:api@43","startTime":65398.097,"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":65804.789,"annotations":[]}
{"type":"before","callId":"pw:api@44","stepId":"pw:api@44","startTime":65806.375,"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":66241.594,"annotations":[]}
{"type":"before","callId":"pw:api@45","stepId":"pw:api@45","startTime":66242.681,"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":66905.82,"annotations":[]}
{"type":"before","callId":"pw:api@46","stepId":"pw:api@46","startTime":66906.718,"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":67481.03,"annotations":[]}
{"type":"before","callId":"expect@47","stepId":"expect@47","startTime":67481.849,"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":67568.662,"annotations":[]}
{"type":"before","callId":"pw:api@48","stepId":"pw:api@48","startTime":67569.812,"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":68512.152,"annotations":[]}
{"type":"stdout","timestamp":68525.76,"text":"Waiting for Pay now button to be enabled...\n"}
{"type":"before","callId":"pw:api@49","stepId":"pw:api@49","startTime":68534.871,"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":68770.602,"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":68770.893,"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":68771.9,"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":71887.487,"annotations":[]}
{"type":"before","callId":"pw:api@51","stepId":"pw:api@51","startTime":71888.488,"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":72263.115,"annotations":[]}
{"type":"stdout","timestamp":72263.216,"text":"Pay now button clicked with alternate XPath.\n"}
{"type":"before","callId":"pw:api@52","stepId":"pw:api@52","startTime":72271.991,"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":75300.607,"annotations":[]}
{"type":"stdout","timestamp":75300.936,"text":"Final URL after payment: https://au.perifit.co/checkouts/cn/hWNFQsaBlzE866ZeJMnFmGlG/en-au/review?_r=AQABS6Z64m-5NtTW-m66b7Z5XX0am79Gy5vlQPL4EY1P\n"}
{"type":"stdout","timestamp":75301.176,"text":"Final URL after processing: https://au.perifit.co/checkouts/cn/hWNFQsaBlzE866ZeJMnFmGlG/en-au/review?_r=AQABS6Z64m-5NtTW-m66b7Z5XX0am79Gy5vlQPL4EY1P\n"}
{"type":"before","callId":"expect@53","stepId":"expect@53","startTime":75302.258,"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":75302.678,"annotations":[]}
{"type":"before","callId":"hook@54","stepId":"hook@54","startTime":75303.221,"class":"Test","method":"hook","title":"After Hooks","params":{},"stack":[]}
{"type":"before","callId":"fixture@63","stepId":"fixture@63","parentId":"hook@54","startTime":77523.48,"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":77523.55,"annotations":[]}
{"type":"before","callId":"fixture@65","stepId":"fixture@65","parentId":"hook@54","startTime":77524.653,"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":77524.713,"annotations":[]}
{"type":"before","callId":"fixture@72","stepId":"fixture@72","parentId":"hook@54","startTime":77568.789,"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":77568.848,"annotations":[]}
{"type":"before","callId":"fixture@76","stepId":"fixture@76","parentId":"hook@54","startTime":77609.991,"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":77610.094,"annotations":[]}
{"type":"before","callId":"fixture@78","stepId":"fixture@78","parentId":"hook@54","startTime":77610.475,"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":77610.501,"annotations":[]}
{"type":"after","callId":"hook@54","endTime":77611.889,"annotations":[]}