Skip to content

Commit 1c03b59

Browse files
author
Dennis Labordus
committed
Embed Screenshots and save reports.
Signed-off-by: Dennis Labordus <[email protected]>
1 parent 14c7bc7 commit 1c03b59

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/run-integration-tests.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,15 @@ jobs:
6060
# --network=compas_default \
6161
# ppodgorsek/robot-framework:latest
6262

63+
- name: Archive Robot Framework Reports
64+
uses: actions/upload-artifact@v2
65+
with:
66+
name: robot-framework-reports
67+
retention-days: 7
68+
path: |
69+
target/firefox/*.*
70+
target/chromium/*.*
71+
6372
- name: Stop containers
6473
if: always()
6574
run: docker-compose -f "compas/docker-compose.yml" down -v

integration-testing/include/general-openscd.robot

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@ Initialize and Start OpenSCD
1919

2020
Make screenshot and Stop OpenSCD
2121
Run Keyword If Test Passed Take Screenshot filename=${TEST NAME}-{index} fullPage=true
22+
Run Keyword If Test Passed Take Screenshot filename=EMBED fullPage=true
2223
Close OpenSCD
2324

2425
Make screenshot on failure
2526
Take Screenshot filename=${TEST NAME}-failure-{index} fullPage=true
27+
Take Screenshot filename=EMBED fullPage=true
2628

2729
Open OpenSCD and Login
2830
New Browser browser=${browser}

0 commit comments

Comments
 (0)