This Pull Request fixes the cypress test, that was causing the GitHub Action, that runs the e2e tests, to fail. The root cause for the failing test seemed to be the forEach loop, that iterated through every link and softExpected the link to have a certain attribute. The test repeatedly timed out at this point, most likely because of the CPU/RAM resources of the GitHub Actions Runner. I have replaced the forEach-loop with an additional filter, and a check for the length of the filtered list, to work-around the stated issue.
I also added the ability to log to the visible console output, to be able to find the root cause of any upcoming issues quicker.
This Pull Request fixes the cypress test, that was causing the GitHub Action, that runs the e2e tests, to fail. The root cause for the failing test seemed to be the forEach loop, that iterated through every link and softExpected the link to have a certain attribute. The test repeatedly timed out at this point, most likely because of the CPU/RAM resources of the GitHub Actions Runner. I have replaced the forEach-loop with an additional filter, and a check for the length of the filtered list, to work-around the stated issue.
I also added the ability to log to the visible console output, to be able to find the root cause of any upcoming issues quicker.
Internal Tracking ID: EXPOSUREAPP-15135