Open BugrahanDurukan opened 10 months ago
***************************************
nodeInfo: 18.18.2
osInfo: macOS 14.2.1
cpuInfo: (8) arm64 Apple M1 Pro
chromeInfo: 120.0.6099.234
edgeInfo: 120.0.2210.133
firefoxInfo: undefined
safariInfo: 17.2.1
If you need more detailed info, just run this: npx codeceptjs info
***************************************
CodeceptJS v3.5.11 #StandWithUkraine
Using test root "/Users/t/Desktop/projects/codeceptjs-playwright-fun"
Helpers: Playwright, OpenAI, Expect, REST
Plugins: screenshotOnFail
-- FAILURES:
1) login
React testing.:
Error: element (.cart-notification__heading) still not present on page after 1 sec
locator.waitFor: Timeout 1000ms exceeded.
Call log:
- waiting for locator('.cart-notification__heading').first()
at Playwright.waitForElement (node_modules/codeceptjs/lib/helper/Playwright.js:2493:13)
Scenario Steps:
- I.waitForElement(".cart-notification__heading", 1) at Test.<anonymous> (./tests/login_test.ts:21:7)
- I.amOnPage("https://www.w3schools.com/html/tryit.asp?filename=tryhtml5_geolocation") at Test.<anonymous> (./tests/login_test.ts:19:7)
Artifacts:
- screenshot: /Users/t/Desktop/projects/codeceptjs-playwright-fun/output/React_testing.failed.png
FAIL | 0 passed, 1 failed // 4s
➜ codeceptjs-playwright-fun git:(main) ✗ npm ls playwright
codeceptjs-playwright-fun@1.0.0 /Users/t/Desktop/projects/codeceptjs-playwright-fun
├─┬ codeceptjs-rphelper@3.1.24
│ └── playwright@1.39.0
└── playwright@1.40.1
hey @BugrahanDurukan may you help check which pw version are you using? With my setup I could see the error as above.
Thanks for your response.
I also tried to reinitiate the project on a different directory the problem still persists. @kobenguyent
This issue is stale because it has been open for 90 days with no activity.
I am trying to get the regular error messages after test fails.
I get the error messages as given below. The last part where the summary is problematic.
I used to get error in the format where I could see the code pieces' location within the file system, the fail screenshot location and so on. I do not know what has changed. Please help me out.