Skip to content

Commit 90e485e

Browse files
committed
add API base url to github workflow
1 parent a2196b6 commit 90e485e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/github_actions_tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
env:
16-
BASE_URL: https://ultimateqa.com/complicated-page # <-- Set your actual BASE_URL here
16+
BASE_URL_FE: https://ultimateqa.com/complicated-page # <-- Set your actual BASE_URL here
17+
BASE_URL_API: https://jsonplaceholder.typicode.com
1718

1819
steps:
1920
- name: Checkout code
@@ -38,7 +39,8 @@ jobs:
3839
3940
- name: Create .env file from workflow
4041
run: |
41-
echo "BASE_URL=${BASE_URL}" > .env
42+
echo "BASE_URL_FE=${BASE_URL_FE}" > .env
43+
echo "BASE_URL_API=${BASE_URL_API}" > .env
4244
4345
- name: Run tests(UI & API) with Pytest
4446
run: |

0 commit comments

Comments
 (0)