Skip to content

Commit

Permalink
chore(docker): add TREZOR_CONNECT_SRC variable
Browse files Browse the repository at this point in the history
  • Loading branch information
karliatto authored and mroz22 committed Feb 22, 2024
1 parent 494afc7 commit 69c4311
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker/docker-compose.connect-popup-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ services:
- CI_JOB_NAME=$CI_JOB_NAME
- TEST_FILE=$TEST_FILE
- IS_WEBEXTENSION=$IS_WEBEXTENSION
- TREZOR_CONNECT_SRC=$TREZOR_CONNECT_SRC
working_dir: /e2e
command: bash -c "npx playwright install && yarn workspace @trezor/connect-popup test:e2e $TEST_FILE"
volumes:
Expand Down
1 change: 1 addition & 0 deletions docker/docker-compose.connect-popup-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ services:
- PWDEBUG=console
- TEST_FILE=$TEST_FILE
- IS_WEBEXTENSION=$IS_WEBEXTENSION
- TREZOR_CONNECT_SRC=$TREZOR_CONNECT_SRC
working_dir: /trezor-suite
command: bash -c "docker/wait-for-200.sh http://localhost:8088/index.html && yarn workspace @trezor/connect-popup test:e2e $TEST_FILE"
volumes:
Expand Down
1 change: 1 addition & 0 deletions docker/docker-connect-popup-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ xhost +
LOCAL_USER_ID="$(id -u "$USER")"
export LOCAL_USER_ID
export TEST_FILE=$1
export TREZOR_CONNECT_SRC=http://localhost:8088/

docker-compose -f ./docker/docker-compose.connect-popup-test.yml up --build --abort-on-container-exit

0 comments on commit 69c4311

Please sign in to comment.