Skip to content

Commit cf0d8bf

Browse files
Action rework
1 parent 811bea0 commit cf0d8bf

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/actions/run-playwright-tests/action.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ inputs:
88
required: true
99
type: string
1010
marker_to_use:
11-
description: "The test marker to use when running tests (e.g. smokescreen)"
11+
description: "The test marker to use when running tests (e.g. smoke)"
1212
required: true
1313
type: string
1414

@@ -29,7 +29,10 @@ runs:
2929
run: python -m playwright install --with-deps
3030
- name: Run specified tests
3131
shell: bash
32-
run: pytest -m ${{ inputs.marker_to_use }} --base-url=$URL_TO_USE --ignore=tests_utils/
32+
run: |
33+
URL_TO_USE=${ $URL_TO_USE_DEFAULT/<REPLACE>/${{ inputs.bcss_cloud_environment }} }
34+
ORACLE_DB=${ $ORACLE_DB_DEFAULT/<REPLACE>/${{ inputs.bcss_cloud_environment }} }
35+
pytest -m ${{ inputs.marker_to_use }} --base-url=https://$URL_TO_USE --ignore=tests_utils/
3336
- uses: actions/upload-artifact@v4
3437
if: ${{ !cancelled() }}
3538
with:

.github/workflows/execute-tests.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ jobs:
2828
bcss_cloud_environment: "${{ inputs.bcss_cloud_environment }}"
2929
marker_to_use: "${{ inputs.marker_to_use }}"
3030
env:
31-
BCSS_PASS: "${{ secrets.BCSS_PASS }}"
32-
ORACLE_DB: ${ ${{ secrets.ORACLE_DB }}/<REPLACE>/${{ inputs.bcss_cloud_environment }} }
31+
BCSS_PASS: ${{ secrets.BCSS_PASS }}
32+
ORACLE_DB_DEFAULT: ${{ secrets.ORACLE_DB }}
3333
ORACLE_USERNAME: ${{ secrets.ORACLE_USERNAME }}
3434
ORACLE_PASS: ${{ secrets.ORACLE_PASS }}
35-
URL_TO_USE: ${ ${{ vars.CLOUD_ENV_URL }}/<REPLACE>/${{ inputs.bcss_cloud_environment }} }
35+
URL_TO_USE_DEFAULT: ${{ vars.CLOUD_ENV_URL }}

0 commit comments

Comments
 (0)