Skip to content

Commit 2aa8b6a

Browse files
committed
Switched to vscode user for Firefox
Signed-off-by: John Rofrano <johnnyroy@johnrofrano.com>
1 parent 38eb079 commit 2aa8b6a

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/bdd-tests.yml

+3-6
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,10 @@ jobs:
5757
env:
5858
DATABASE_URI: "postgresql+psycopg://postgres:pgs3cr3t@postgres:5432/testdb"
5959

60-
- name: Debug runtime environment
61-
run: which firefox; firefox --version; which geckodriver; geckodriver --version; env
62-
60+
# The pipeline-selenium image runs as root so we must sudo to vscode to use the Firefox driver
61+
# The chrome driver doesn't seem to have a problem with this
6362
- name: Run Integration Tests
64-
run: |
65-
behave -v
66-
cat geckodriver.log
63+
run: sudo -u vscode behave
6764
env:
6865
DRIVER: "firefox"
6966

0 commit comments

Comments
 (0)