ソースを参照

test(e2e): use random local-identifier

Jonas Gloning 1 年間 前
コミット
de1724a057
1 ファイル変更4 行追加5 行削除
  1. 4 5
      .github/workflows/browserstack.yml

+ 4 - 5
.github/workflows/browserstack.yml

@@ -14,8 +14,9 @@ jobs:
       - name: "BrowserStack Local Tunnel Setup" # Invokes the setup-local action
       - name: "BrowserStack Local Tunnel Setup" # Invokes the setup-local action
         uses: browserstack/github-actions/setup-local@master
         uses: browserstack/github-actions/setup-local@master
         with:
         with:
-          local-testing: start
-          local-identifier: peerjs-${{ github.run_id }}-${{ github.run_attempt }}
+          local-testing: 'start'
+          local-logging-level: 'all-logs'
+          local-identifier: 'random'
 
 
       # The next 3 steps are for building the web application to be tested and starting the web server on the runner environment
       # The next 3 steps are for building the web application to be tested and starting the web server on the runner environment
 
 
@@ -30,10 +31,8 @@ jobs:
 
 
       - name: "Running test on BrowserStack" # Invokes the actual test script that would run on BrowserStack browsers
       - name: "Running test on BrowserStack" # Invokes the actual test script that would run on BrowserStack browsers
         run: npm run e2e:bstack # See sample test script above
         run: npm run e2e:bstack # See sample test script above
-        env:
-          BROWSERSTACK_LOCAL_IDENTIFIER: peerjs-${{ github.run_id }}-${{ github.run_attempt }}
 
 
       - name: "BrowserStackLocal Stop" # Terminating the BrowserStackLocal tunnel connection
       - name: "BrowserStackLocal Stop" # Terminating the BrowserStackLocal tunnel connection
         uses: browserstack/github-actions/setup-local@master
         uses: browserstack/github-actions/setup-local@master
         with:
         with:
-          local-testing: stop
+          local-testing: 'stop'