From 2905774b7004e93259a852819a9c11cdf1b32d04 Mon Sep 17 00:00:00 2001 From: steabert Date: Sun, 11 Apr 2021 09:05:43 +0200 Subject: [PATCH] fix: launch firefox with user 1001 For some reason, cypress does not detect firefox, which could be because you need to run as a non-root user, cfr: https://github.com/cypress-io/github-action/issues/104 --- .github/workflows/verify.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index bb3da8f60..248e91cb1 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -57,7 +57,9 @@ jobs: firefox: runs-on: ubuntu-latest - container: cypress/browsers:node14.16.0-chrome89-ff86 + container: + image: cypress/browsers:node14.16.0-chrome89-ff86 + options: --user 1001 services: gstreamer: image: steabert/gst-rtsp-launch @@ -76,7 +78,7 @@ jobs: - name: Build run: yarn build - name: Test basic video functionality - run: sbin/test.sh firefox + run: sbin/test.sh /usr/bin/firefox edge: runs-on: ubuntu-latest