hmrc / hmrc-frontend

Apache License 2.0
9 stars 18 forks source link

PLATUI-2381: test using selenium for VRT #314

Closed oscarduignan closed 6 months ago

oscarduignan commented 1 year ago

not runnable on CI yet, but probably can be - though will require some build jobs changes - as it seems like you can't specify other ports to map at the moment but this switches backstop to use playwright and makes playwright use selenium to see if using selenium-node docker containers on build and local will result in reproducible VRT tests for us (and handily make our builds more idiomatic to platform guidelines of using selenium)

test with:

nvm install
npm install
./run-docker-browser.sh
npm run backstop:test

bits I'm unsure about: