Skip to content

Commit

Permalink
BC-5468 updated main.yml and cypress config after correct script
Browse files Browse the repository at this point in the history
  • Loading branch information
UzaeirKhan committed Nov 14, 2023
1 parent 206f617 commit f04c88c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
done
done
- name: Read JSON files and set environment variables
- name: Aggregate JSON Data into one File
id: read_variables
run: |
instances=(brb dbc nbc)
Expand Down Expand Up @@ -106,15 +106,7 @@ jobs:
json_output=$(jq -s 'reduce .[] as $item ({}; . + ($item | with_entries(.value |= tostring)))' "${file_paths[@]}")
# json_output="{"
# for key in "${!key_value_pairs[@]}"; do
# json_output+="\"$key\":\"${key_value_pairs[$key]}\","
# done
# json_output="${json_output%,}"
# json_output+="}"
echo "$json_output" > ${{ github.workspace }}/e2e-system-tests/env_variables/combined_credentials.json
cat ${{ github.workspace }}/e2e-system-tests/env_variables/combined_credentials.json
echo "$json_output" > ${{ github.workspace }}/e2e-system-tests/env_variables/combined_credentials.json
- name: Clean up previous report
uses: cypress-io/github-action@v5
Expand Down
1 change: 0 additions & 1 deletion cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ async function setupNodeEvents (on, config) {
}
console.log('loaded settings for environment %s', environmentName)
}
console.log(config.env)

// This is required for the preprocessor to be able to generate JSON reports after each run, and more,
await preprocessor.addCucumberPreprocessorPlugin(on, config)
Expand Down

0 comments on commit f04c88c

Please sign in to comment.