playwright: adapt tests to hosted
Makes the test's base url, user & password configurable through the environment. Abstracts differences between hosted and cockpit where possible to lib, and adds conditionals otherwise.
This commit is contained in:
parent
f0a3574cda
commit
21ec51a69e
4 changed files with 107 additions and 30 deletions
|
|
@ -71,6 +71,8 @@ sudo systemctl start osbuild-worker@1
|
|||
sudo podman run \
|
||||
-e "PLAYWRIGHT_HTML_OPEN=never" \
|
||||
-e "CI=true" \
|
||||
-e "USER=admin" \
|
||||
-e "PASSWORD=foobar" \
|
||||
--net=host \
|
||||
-v "$PWD:/tests" \
|
||||
--privileged \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue