{"type":"before","callId":"hook@1","wallTime":1781045283362,"startTime":474.827,"class":"Test","method":"step","apiName":"Before Hooks","params":{},"stack":[]}
{"type":"after","callId":"hook@1","endTime":481.675,"attachments":[]}
{"type":"before","callId":"pw:api@2","wallTime":1781045283372,"startTime":484.94,"class":"Test","method":"step","apiName":"browserType.launch","params":{"handleSIGINT":"false","headless":"true","tracesDir":"/root/code/auto-perifit/production-results-224801-vbj6h/.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":626.085,"attachments":[]}
{"type":"before","callId":"pw:api@3","wallTime":1781045283523,"startTime":636.34,"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.428,"attachments":[]}
{"type":"before","callId":"pw:api@4","wallTime":1781045283607,"startTime":719.376,"class":"Test","method":"step","apiName":"page.goto","params":{"url":"https://ca.perifit.co/collections/our-products","waitUntil":"load"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/ca.test.ts","line":95,"column":14}]}
{"type":"after","callId":"pw:api@4","endTime":15718.596,"attachments":[]}
{"type":"before","callId":"expect@5","wallTime":1781045298609,"startTime":15722.456,"class":"Test","method":"step","apiName":"expect.toHaveURL","params":{"expected":"Object"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/ca.test.ts","line":96,"column":22}]}
{"type":"after","callId":"expect@5","endTime":15802.679,"attachments":[]}
{"type":"before","callId":"pw:api@6","wallTime":1781045298693,"startTime":15805.928,"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":16759.982,"attachments":[]}
{"type":"before","callId":"attach@7","wallTime":1781045299649,"startTime":16761.064,"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":16761.17,"attachments":[{"name":"geo-location-error.txt","contentType":"text/plain","sha1":"498ba12afff9693596eaec9fa07e9bd7876e516b"}]}
{"type":"before","callId":"pw:api@8","wallTime":1781045299650,"startTime":16762.412,"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/ca.test.ts","line":102,"column":22}]}
{"type":"after","callId":"pw:api@8","endTime":18378.478,"attachments":[]}
{"type":"before","callId":"pw:api@9","wallTime":1781045301268,"startTime":18379.61,"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/ca.test.ts","line":105,"column":74}]}
{"type":"after","callId":"pw:api@9","endTime":20881.625,"attachments":[]}
{"type":"before","callId":"pw:api@10","wallTime":1781045303771,"startTime":20882.953,"class":"Test","method":"step","apiName":"page.waitForSelector","params":{"selector":"//form[@class='cart-form rounded']//button[@name='checkout']"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/ca.test.ts","line":106,"column":14}]}
{"type":"after","callId":"pw:api@10","endTime":26007.927,"attachments":[]}
{"type":"before","callId":"pw:api@11","wallTime":1781045308903,"startTime":26016.724,"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/ca.test.ts","line":109,"column":86}]}
{"type":"after","callId":"pw:api@11","endTime":27625.891,"attachments":[]}
{"type":"before","callId":"pw:api@12","wallTime":1781045310515,"startTime":27629.531,"class":"Test","method":"step","apiName":"page.waitForTimeout","params":{"timeout":"5000"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/ca.test.ts","line":110,"column":14}]}
{"type":"after","callId":"pw:api@12","endTime":33003.405,"attachments":[]}
{"type":"before","callId":"pw:api@13","wallTime":1781045315893,"startTime":33005.299,"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/ca.test.ts","line":41,"column":53,"function":"CheckoutPage.inputEmail"}]}
{"type":"after","callId":"pw:api@13","endTime":34393.629,"attachments":[]}
{"type":"before","callId":"pw:api@14","wallTime":1781045317283,"startTime":34394.862,"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/ca.test.ts","line":50,"column":67,"function":"CheckoutPage.inputFirstName"}]}
{"type":"after","callId":"pw:api@14","endTime":35612.686,"attachments":[]}
{"type":"before","callId":"pw:api@15","wallTime":1781045318502,"startTime":35614.524,"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/ca.test.ts","line":54,"column":66,"function":"CheckoutPage.inputLastName"}]}
{"type":"after","callId":"pw:api@15","endTime":36672.047,"attachments":[]}
{"type":"before","callId":"pw:api@16","wallTime":1781045319562,"startTime":36673.413,"class":"Test","method":"step","apiName":"locator.type","params":{"selector":"//input[@placeholder='Address']","text":"Union St, Inuvik NT","strict":"true","delay":"300"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/ca.test.ts","line":58,"column":64,"function":"CheckoutPage.inputAddress1"}]}
{"type":"after","callId":"pw:api@16","endTime":43886.455,"attachments":[]}
{"type":"before","callId":"pw:api@17","wallTime":1781045326776,"startTime":43888.159,"class":"Test","method":"step","apiName":"page.waitForSelector","params":{"selector":"//h3[text()='Suggestions']"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/ca.test.ts","line":59,"column":21,"function":"CheckoutPage.inputAddress1"}]}
{"type":"after","callId":"pw:api@17","endTime":44047.861,"attachments":[]}
{"type":"before","callId":"pw:api@18","wallTime":1781045326937,"startTime":44048.925,"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/ca.test.ts","line":64,"column":71,"function":"CheckoutPage.selectOptionAddress1"}]}
{"type":"after","callId":"pw:api@18","endTime":44253.046,"attachments":[]}
{"type":"before","callId":"pw:api@19","wallTime":1781045327142,"startTime":44255.557,"class":"Test","method":"step","apiName":"locator.fill","params":{"selector":"//input[@placeholder='Phone']","value":"250 555 0199","strict":"true"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/ca.test.ts","line":68,"column":62,"function":"CheckoutPage.inputPhoneNumber"}]}
{"type":"after","callId":"pw:api@19","endTime":44456.228,"attachments":[]}
{"type":"before","callId":"pw:api@20","wallTime":1781045327346,"startTime":44459.597,"class":"Test","method":"step","apiName":"page.waitForTimeout","params":{"timeout":"2000"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/ca.test.ts","line":123,"column":14}]}
{"type":"after","callId":"pw:api@20","endTime":46545.051,"attachments":[]}
{"type":"before","callId":"pw:api@21","wallTime":1781045329434,"startTime":46545.943,"class":"Test","method":"step","apiName":"page.waitForSelector","params":{"selector":"//h2[text()='Payment']"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/ca.test.ts","line":128,"column":27}]}
{"type":"after","callId":"pw:api@21","endTime":46617.929,"attachments":[]}
{"type":"before","callId":"pw:api@22","wallTime":1781045329507,"startTime":46618.856,"class":"Test","method":"step","apiName":"page.waitForTimeout","params":{"timeout":"3000"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/ca.test.ts","line":129,"column":27}]}
{"type":"after","callId":"pw:api@22","endTime":49669.868,"attachments":[]}
{"type":"before","callId":"pw:api@23","wallTime":1781045332559,"startTime":49670.861,"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/ca.test.ts","line":77,"column":63,"function":"CheckoutPage.checkoutWithCreditCard"}]}
{"type":"after","callId":"pw:api@23","endTime":50253.802,"attachments":[]}
{"type":"before","callId":"pw:api@24","wallTime":1781045333143,"startTime":50255.019,"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/ca.test.ts","line":78,"column":61,"function":"CheckoutPage.checkoutWithCreditCard"}]}
{"type":"after","callId":"pw:api@24","endTime":50585.134,"attachments":[]}
{"type":"before","callId":"pw:api@25","wallTime":1781045333474,"startTime":50586.352,"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/ca.test.ts","line":79,"column":53,"function":"CheckoutPage.checkoutWithCreditCard"}]}
{"type":"after","callId":"pw:api@25","endTime":50848.94,"attachments":[]}
{"type":"before","callId":"pw:api@26","wallTime":1781045333738,"startTime":50849.797,"class":"Test","method":"step","apiName":"locator.fill","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"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/ca.test.ts","line":80,"column":59,"function":"CheckoutPage.checkoutWithCreditCard"}]}
{"type":"after","callId":"pw:api@26","endTime":51318.059,"attachments":[]}
{"type":"before","callId":"pw:api@27","wallTime":1781045334207,"startTime":51318.939,"class":"Test","method":"step","apiName":"page.waitForTimeout","params":{"timeout":"1000"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/ca.test.ts","line":81,"column":21,"function":"CheckoutPage.checkoutWithCreditCard"}]}
{"type":"after","callId":"pw:api@27","endTime":52497.041,"attachments":[]}
{"type":"before","callId":"pw:api@28","wallTime":1781045335386,"startTime":52498.316,"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/ca.test.ts","line":131,"column":77}]}
{"type":"after","callId":"pw:api@28","endTime":52941.313,"attachments":[]}
{"type":"stdout","timestamp":52941.999,"text":"Waiting for Pay now button to be enabled...\n"}
{"type":"before","callId":"pw:api@29","wallTime":1781045335831,"startTime":52942.853,"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/ca.test.ts","line":136,"column":16}]}
{"type":"after","callId":"pw:api@29","endTime":53042.787,"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/ca.test.ts:136:16"}}
{"type":"stderr","timestamp":53048.514,"text":"Pay now button using full XPath did not become enabled, trying alternate XPath...\n"}
{"type":"before","callId":"pw:api@30","wallTime":1781045335938,"startTime":53050.016,"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/ca.test.ts","line":141,"column":16}]}
{"type":"after","callId":"pw:api@30","endTime":55628.469,"attachments":[]}
{"type":"before","callId":"pw:api@31","wallTime":1781045338517,"startTime":55629.291,"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/ca.test.ts","line":142,"column":62}]}
{"type":"after","callId":"pw:api@31","endTime":55817.778,"attachments":[]}
{"type":"stdout","timestamp":55817.887,"text":"Pay now button clicked with alternate XPath.\n"}
{"type":"before","callId":"pw:api@32","wallTime":1781045338707,"startTime":55818.715,"class":"Test","method":"step","apiName":"page.waitForTimeout","params":{"timeout":"3000"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/ca.test.ts","line":147,"column":14}]}
{"type":"after","callId":"pw:api@32","endTime":58846.945,"attachments":[]}
{"type":"stdout","timestamp":58847.313,"text":"Final URL after payment: https://ca.perifit.co/checkouts/cn/hWND9k8re6spnU4H1URiq78s/en-ca/review?_r=AQABM-YNBqhysuS9Gv-XRfmkYzPyecBNEPWg93YG59yj\n"}
{"type":"stdout","timestamp":58847.47,"text":"Final URL after processing: https://ca.perifit.co/checkouts/cn/hWND9k8re6spnU4H1URiq78s/en-ca/review?_r=AQABM-YNBqhysuS9Gv-XRfmkYzPyecBNEPWg93YG59yj\n"}
{"type":"before","callId":"expect@33","wallTime":1781045341737,"startTime":58849.381,"class":"Test","method":"step","apiName":"expect.toMatch","params":{"expected":"Object"},"stack":[{"file":"/root/code/auto-perifit/tests/mariam/ca.test.ts","line":177,"column":20}]}
{"type":"after","callId":"expect@33","endTime":58850.139,"attachments":[]}
{"type":"before","callId":"hook@34","wallTime":1781045341739,"startTime":58850.751,"class":"Test","method":"step","apiName":"After Hooks","params":{},"stack":[]}
{"type":"after","callId":"hook@34","endTime":60561.179,"attachments":[]}