Skip to content

Commit

Permalink
Testing check for E2E test failure state
Browse files Browse the repository at this point in the history
  • Loading branch information
hatboyzero committed Jun 18, 2024
1 parent 4e7c683 commit 90cc3a9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/e2e-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -781,9 +781,11 @@ jobs:

- name: Check E2E Test Status
uses: actions/github-script@v7
env:
TEST_RESULTS: ${{ steps.get-e2e-results.outputs.result }}
with:
script: |
const jsonString = "${{ steps.get-e2e-results.outputs.result }}"
const jsonString = process.env.TEST_RESULTS
console.log(jsonString)
var data = JSON.parse(jsonString)
for (const [key, value] of data.passed) {
Expand Down

0 comments on commit 90cc3a9

Please sign in to comment.