added testcafe tests and pr workflow (#279)
* added testcafe tests and pr workflow
* removed outputs
* debug output value
* empty commit to test pr workflow
* updated version for reusable workflow
* removed extra line
* updated version
* added full image path
* added CONTAINER_REGISTRY_URL & imagepath as env var in test job
* corrected url for saap docs app
* docker run unauthorized
* pull docker image first before running
* added docker run gh action
* login to docker before running image
* added debugging steps in docker run
* run saap-docs in detached mode
* removed -it tag from run tests command
* adjusted test workflow to build and run tests in one job
* wait for saap-docs to run before testing
* keep all the steps in same job so tests can find running app
* adjusted test as it doesn't run on full screen
* run test on chromium
* keep the chromium headless and resize the browser in test to ensure consistency
* removed extra step
* fixed invalid yamls
* resolved pr comments
* removed a console.log
* added yaml with indentation
* corrected indentation to render correct numbering
* empty commit to run pr workflow again
* checking workflow again
* committing yarn.lock
* commit to run workflow again, also maximize window instead of resizing
* empty commit to run workflow
---------
Co-authored-by: Karl Johan Grahn <[email protected]>