File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
actions/run-playwright-tests Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 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
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 :
Original file line number Diff line number Diff line change 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 }}
You can’t perform that action at this time.
0 commit comments