{"version":8,"type":"context-options","origin":"testRunner","browserName":"","playwrightVersion":"1.61.1","options":{},"platform":"linux","wallTime":1786142884144,"monotonicTime":1643.581,"sdkLanguage":"javascript","testTimeout":180000}
{"type":"before","callId":"hook@1","stepId":"hook@1","startTime":1666.627,"class":"Test","method":"hook","title":"Before Hooks","params":{},"stack":[]}
{"type":"after","callId":"hook@1","endTime":1682.022,"annotations":[]}
{"type":"before","callId":"pw:api@24","stepId":"pw:api@24","startTime":1685.817,"class":"Test","method":"pw:api","title":"Launch browser","params":{"handleSIGINT":"false","tracesDir":"/root/code/auto-perifit/production-results-224801-wtxtl/.playwright-artifacts-0/traces","artifactsDir":"/root/code/auto-perifit/production-results-224801-wtxtl/.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":1914.572,"annotations":[]}
{"type":"before","callId":"pw:api@25","stepId":"pw:api@25","startTime":1925.787,"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":2112.478,"annotations":[]}
{"type":"before","callId":"pw:api@26","stepId":"pw:api@26","startTime":2114.656,"class":"Test","method":"pw:api","title":"Navigate to \"/collections/our-products\"","params":{"url":"https://ca.perifit.co/collections/our-products","waitUntil":"load","timeout":"0"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/ca.test.ts","line":94,"column":14}]}
{"type":"after","callId":"pw:api@26","endTime":8049.498,"annotations":[]}
{"type":"before","callId":"expect@27","stepId":"expect@27","startTime":8053.259,"class":"Test","method":"expect","title":"Expect \"toHaveURL\"","params":{"expected":"Object"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/ca.test.ts","line":95,"column":22}]}
{"type":"after","callId":"expect@27","endTime":8321.151,"annotations":[]}
{"type":"before","callId":"pw:api@28","stepId":"pw:api@28","startTime":8324.072,"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/ca.test.ts","line":98,"column":22}]}
{"type":"after","callId":"pw:api@28","endTime":9146.738,"annotations":[]}
{"type":"before","callId":"pw:api@29","stepId":"pw:api@29","startTime":9149.732,"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/ca.test.ts","line":101,"column":74}]}
{"type":"after","callId":"pw:api@29","endTime":15401.854,"annotations":[]}
{"type":"before","callId":"pw:api@30","stepId":"pw:api@30","startTime":15404.71,"class":"Test","method":"pw:api","title":"Wait for selector locator('//form[@class=\\'cart-form rounded\\']//button[@name=\\'checkout\\']')","params":{"selector":"//form[@class='cart-form rounded']//button[@name='checkout']","timeout":"0"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/ca.test.ts","line":102,"column":14}]}
{"type":"after","callId":"pw:api@30","endTime":19504.198,"annotations":[]}
{"type":"before","callId":"pw:api@31","stepId":"pw:api@31","startTime":19506.483,"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/ca.test.ts","line":105,"column":86}]}
{"type":"after","callId":"pw:api@31","endTime":21814.683,"annotations":[]}
{"type":"before","callId":"pw:api@32","stepId":"pw:api@32","startTime":21815.809,"class":"Test","method":"pw:api","title":"Wait for timeout","params":{"waitTimeout":"5000"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/ca.test.ts","line":106,"column":14}]}
{"type":"after","callId":"pw:api@32","endTime":27287.882,"annotations":[]}
{"type":"before","callId":"pw:api@33","stepId":"pw:api@33","startTime":27298.285,"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/ca.test.ts","line":40,"column":53,"function":"CheckoutPage.inputEmail"}]}
{"type":"after","callId":"pw:api@33","endTime":30096.739,"annotations":[]}
{"type":"before","callId":"pw:api@34","stepId":"pw:api@34","startTime":30101.185,"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/ca.test.ts","line":49,"column":67,"function":"CheckoutPage.inputFirstName"}]}
{"type":"after","callId":"pw:api@34","endTime":30455.513,"annotations":[]}
{"type":"before","callId":"pw:api@35","stepId":"pw:api@35","startTime":30456.687,"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/ca.test.ts","line":53,"column":66,"function":"CheckoutPage.inputLastName"}]}
{"type":"after","callId":"pw:api@35","endTime":31153.317,"annotations":[]}
{"type":"before","callId":"pw:api@36","stepId":"pw:api@36","startTime":31154.489,"class":"Test","method":"pw:api","title":"Type \"Union St, Inuvik NT\" locator('//input[@placeholder=\\'Address\\']')","params":{"selector":"//input[@placeholder='Address']","text":"Union St, Inuvik NT","strict":"true","delay":"300","timeout":"0"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/ca.test.ts","line":57,"column":64,"function":"CheckoutPage.inputAddress1"}]}
{"type":"after","callId":"pw:api@36","endTime":37304.363,"annotations":[]}
{"type":"before","callId":"pw:api@37","stepId":"pw:api@37","startTime":37306.86,"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/ca.test.ts","line":58,"column":21,"function":"CheckoutPage.inputAddress1"}]}
{"type":"after","callId":"pw:api@37","endTime":38646.589,"annotations":[]}
{"type":"before","callId":"pw:api@38","stepId":"pw:api@38","startTime":38648.049,"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/ca.test.ts","line":63,"column":71,"function":"CheckoutPage.selectOptionAddress1"}]}
{"type":"after","callId":"pw:api@38","endTime":38765.671,"annotations":[]}
{"type":"before","callId":"pw:api@39","stepId":"pw:api@39","startTime":38766.623,"class":"Test","method":"pw:api","title":"Fill \"250 555 0199\" locator('//input[@placeholder=\\'Phone\\']')","params":{"selector":"//input[@placeholder='Phone']","value":"250 555 0199","strict":"true","timeout":"0"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/ca.test.ts","line":67,"column":62,"function":"CheckoutPage.inputPhoneNumber"}]}
{"type":"after","callId":"pw:api@39","endTime":39024.789,"annotations":[]}
{"type":"before","callId":"pw:api@40","stepId":"pw:api@40","startTime":39025.541,"class":"Test","method":"pw:api","title":"Wait for timeout","params":{"waitTimeout":"2000"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/ca.test.ts","line":119,"column":14}]}
{"type":"after","callId":"pw:api@40","endTime":41108.524,"annotations":[]}
{"type":"before","callId":"pw:api@41","stepId":"pw:api@41","startTime":41111.425,"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/ca.test.ts","line":124,"column":27}]}
{"type":"after","callId":"pw:api@41","endTime":41201.295,"annotations":[]}
{"type":"before","callId":"pw:api@42","stepId":"pw:api@42","startTime":41202.029,"class":"Test","method":"pw:api","title":"Wait for timeout","params":{"waitTimeout":"3000"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/ca.test.ts","line":125,"column":27}]}
{"type":"after","callId":"pw:api@42","endTime":44247.708,"annotations":[]}
{"type":"before","callId":"pw:api@43","stepId":"pw:api@43","startTime":44249.192,"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/ca.test.ts","line":76,"column":63,"function":"CheckoutPage.checkoutWithCreditCard"}]}
{"type":"after","callId":"pw:api@43","endTime":44625.557,"annotations":[]}
{"type":"before","callId":"pw:api@44","stepId":"pw:api@44","startTime":44626.773,"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/ca.test.ts","line":77,"column":61,"function":"CheckoutPage.checkoutWithCreditCard"}]}
{"type":"after","callId":"pw:api@44","endTime":45328.395,"annotations":[]}
{"type":"before","callId":"pw:api@45","stepId":"pw:api@45","startTime":45330.025,"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/ca.test.ts","line":78,"column":53,"function":"CheckoutPage.checkoutWithCreditCard"}]}
{"type":"after","callId":"pw:api@45","endTime":45725.492,"annotations":[]}
{"type":"before","callId":"pw:api@46","stepId":"pw:api@46","startTime":45726.481,"class":"Test","method":"pw:api","title":"Fill \"Mariam Poghosyan\" locator('//iframe[contains(@id, \\'card-fields-name\\')]').contentFrame().locator('//div[@class=\\'current-field\\']/child::input[@id=\\'name\\']')","params":{"selector":"//iframe[contains(@id, 'card-fields-name')] >> internal:control=enter-frame >> //div[@class='current-field']/child::input[@id='name']","value":"Mariam Poghosyan","strict":"true","timeout":"0"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/ca.test.ts","line":79,"column":59,"function":"CheckoutPage.checkoutWithCreditCard"}]}
{"type":"after","callId":"pw:api@46","endTime":46452.886,"annotations":[]}
{"type":"before","callId":"pw:api@47","stepId":"pw:api@47","startTime":46454.203,"class":"Test","method":"pw:api","title":"Wait for timeout","params":{"waitTimeout":"1000"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/ca.test.ts","line":80,"column":21,"function":"CheckoutPage.checkoutWithCreditCard"}]}
{"type":"after","callId":"pw:api@47","endTime":47504.715,"annotations":[]}
{"type":"before","callId":"pw:api@48","stepId":"pw:api@48","startTime":47505.753,"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/ca.test.ts","line":127,"column":77}]}
{"type":"after","callId":"pw:api@48","endTime":47838.74,"annotations":[]}
{"type":"stdout","timestamp":47839.58,"text":"Waiting for Pay now button to be enabled...\n"}
{"type":"before","callId":"pw:api@49","stepId":"pw:api@49","startTime":47847.413,"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/ca.test.ts","line":132,"column":16}]}
{"type":"after","callId":"pw:api@49","endTime":48016.073,"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/ca.test.ts:132:16"}}
{"type":"stderr","timestamp":48016.601,"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":48017.802,"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/ca.test.ts","line":137,"column":16}]}
{"type":"after","callId":"pw:api@50","endTime":50531.887,"annotations":[]}
{"type":"before","callId":"pw:api@51","stepId":"pw:api@51","startTime":50533.302,"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/ca.test.ts","line":138,"column":62}]}
{"type":"after","callId":"pw:api@51","endTime":50864.56,"annotations":[]}
{"type":"stdout","timestamp":50864.712,"text":"Pay now button clicked with alternate XPath.\n"}
{"type":"before","callId":"pw:api@52","stepId":"pw:api@52","startTime":50872.387,"class":"Test","method":"pw:api","title":"Wait for timeout","params":{"waitTimeout":"3000"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/ca.test.ts","line":143,"column":14}]}
{"type":"after","callId":"pw:api@52","endTime":53902.841,"annotations":[]}
{"type":"stdout","timestamp":53903.163,"text":"Final URL after payment: https://ca.perifit.co/checkouts/cn/hWNFObBwHp10UiVAgrGZEx0M/en-ca/review?_r=AQABcdbqDhOwjFXh4gLaVB_f81r8k6_0qevgZnEqkqDZ\n"}
{"type":"stdout","timestamp":53903.301,"text":"Final URL after processing: https://ca.perifit.co/checkouts/cn/hWNFObBwHp10UiVAgrGZEx0M/en-ca/review?_r=AQABcdbqDhOwjFXh4gLaVB_f81r8k6_0qevgZnEqkqDZ\n"}
{"type":"before","callId":"expect@53","stepId":"expect@53","startTime":53904.61,"class":"Test","method":"expect","title":"Expect \"toMatch\"","params":{"expected":"Object"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/ca.test.ts","line":173,"column":20}]}
{"type":"after","callId":"expect@53","endTime":53905.057,"annotations":[]}
{"type":"before","callId":"hook@54","stepId":"hook@54","startTime":53905.449,"class":"Test","method":"hook","title":"After Hooks","params":{},"stack":[]}
{"type":"before","callId":"fixture@63","stepId":"fixture@63","parentId":"hook@54","startTime":56084.626,"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":56084.68,"annotations":[]}
{"type":"before","callId":"fixture@65","stepId":"fixture@65","parentId":"hook@54","startTime":56085.27,"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":56085.314,"annotations":[]}
{"type":"before","callId":"fixture@72","stepId":"fixture@72","parentId":"hook@54","startTime":56087.905,"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":56087.952,"annotations":[]}
{"type":"before","callId":"fixture@76","stepId":"fixture@76","parentId":"hook@54","startTime":56089.148,"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":56089.188,"annotations":[]}
{"type":"before","callId":"fixture@78","stepId":"fixture@78","parentId":"hook@54","startTime":56089.696,"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":56089.724,"annotations":[]}
{"type":"after","callId":"hook@54","endTime":56091.032,"annotations":[]}