automation changes
This commit is contained in:
@@ -1,11 +1,3 @@
|
|||||||
name: Run Robot Framework Browser Tests
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
pull_request:
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
browser-tests:
|
browser-tests:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -17,13 +9,19 @@ jobs:
|
|||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.10'
|
python-version: '3.13'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
rfbrowser init # Download Playwright browsers
|
rfbrowser init
|
||||||
|
|
||||||
|
- name: Create variables.robot with secrets
|
||||||
|
run: |
|
||||||
|
echo "*** Variables ***" > tests/variables.robot
|
||||||
|
echo "\${testuser01} ${{ secrets.LOGIN_USERNAME }}" >> tests/variables.robot
|
||||||
|
echo "\${password} ${{ secrets.LOGIN_PASSWORD }}" >> tests/variables.robot
|
||||||
|
|
||||||
- name: Run Browser Tests
|
- name: Run Browser Tests
|
||||||
run: |
|
run: |
|
||||||
robot Tests/
|
robot tests/
|
||||||
|
|||||||
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,3 +1,5 @@
|
|||||||
Results/output.xml
|
Results/output.xml
|
||||||
Results/playwright-log.txt
|
Results/playwright-log.txt
|
||||||
Results/report.html
|
Results/report.html
|
||||||
|
variables.robot
|
||||||
|
Results/log.html
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ Library Browser
|
|||||||
Resource ${CRED}
|
Resource ${CRED}
|
||||||
|
|
||||||
*** Variables ***
|
*** Variables ***
|
||||||
${CRED} C:\\Users\\thoma\\Documents\\Paypoint\\variables.robot
|
${CRED} ../variables.robot
|
||||||
|
|
||||||
*** Keywords ***
|
*** Keywords ***
|
||||||
Open Browser And Set Context
|
Open Browser And Set Context
|
||||||
|
|||||||
@@ -9,4 +9,4 @@ Nieuwe Afspraak Maken
|
|||||||
[Documentation] Maakt een nieuwe afspraak aan
|
[Documentation] Maakt een nieuwe afspraak aan
|
||||||
Enter Login Details ${testuser01} ${password}
|
Enter Login Details ${testuser01} ${password}
|
||||||
Open Agenda Tab
|
Open Agenda Tab
|
||||||
Afspraak Maken Knippen Thomas Tuinman 20-05-2025 10:00 11:00
|
Afspraak Maken Knippen Thomas Tuinman 30-05-2025 10:00 11:00
|
||||||
Reference in New Issue
Block a user