Hi, so i followed the steps in foundation automation section 2.4.2 and ran the process. I noticed immediately that it was running with warnings about the node.js version. But then the process failed during the e2e checks with the following error:
[0-0] Error in "My Login application.should login with valid credentials"
Error: Can't call getText on element with selector ".card-title" because element wasn't found
at async Context.<anonymous> (D:\a\MOT_cert\MOT_cert\test\specs\Login.e2e.js:13:8)
[0-0] 2024-08-28T13:38:41.258Z INFO webdriver: COMMAND deleteSession()
[0-0] 2024-08-28T13:38:41.258Z INFO webdriver: [DELETE] http://localhost:64922/session/b4c9d3358ae194f070c05ad93728a6a4
[0-0] 2024-08-28T13:38:41.552Z INFO webdriver: RESULT null
[0-0] 2024-08-28T13:38:41.553Z INFO webdriver: Kill driver process with PID 2652
[0-0] FAILED in chrome - file:///D:/a/MOT_cert/MOT_cert/test/specs/Login.e2e.js
2024-08-28T13:38:41.655Z INFO @wdio/cli:launcher: Run onWorkerEnd hook
2024-08-28T13:38:41.656Z INFO @wdio/cli:launcher: Run onComplete hook
Spec Files: 1 passed, 1 failed, 2 total (100% completed) in 00:01:05
2024-08-28T13:38:41.657Z INFO @wdio/local-runner: Shutting down spawned worker
2024-08-28T13:38:41.907Z INFO @wdio/local-runner: Waiting for 0 to shut down gracefully
2024-08-28T13:38:41.908Z INFO @wdio/local-runner: shutting down
Error: Process completed with exit code 1.
Since the previous activity i havent touched the code apart from adding the required folders and .yml script
Can i get some help fixing this?
Probably need a little more information, like screenshots of trying to run the command.
Are these logs from CI or local?
What was the node warning?
Is the correct version of node installed (βwe install NodeJS 18β)?
Are there any other errors or warnings?
The yaml script ran when i tried to sync the changes iβd made locally (following the tutorial) to the forked repo, so i saw nothing locally only saw the issue when i watched it in github actions
this error message was shown in the github action log, so on the CI