Skip to content

Commit 6f4bdb6

Browse files
author
Rob Tjalma
authored
Merge pull request #32 from com-pas/robot-test-fix
Small changes to Robot Framework Tests
2 parents 9a8a422 + 8a05352 commit 6f4bdb6

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

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

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313

1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v1
16+
uses: actions/checkout@v2
1717
- name: Set up Docker Buildx
1818
id: buildx
1919
uses: docker/setup-buildx-action@v1
20-
- name: Cache register
20+
- name: Cache Docker Register
2121
uses: actions/cache@v2
2222
with:
2323
path: /tmp/.buildx-cache
@@ -60,6 +60,16 @@ jobs:
6060
# --network=compas_default \
6161
# ppodgorsek/robot-framework:latest
6262

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

integration-testing/include/general-openscd.robot

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ Initialize and Start OpenSCD
1818
Open OpenSCD and Login
1919

2020
Make screenshot and Stop OpenSCD
21-
Run Keyword If Test Passed Take Screenshot filename=${TEST NAME}-{index} fullPage=true
21+
Run Keyword If Test Passed Take Screenshot filename=EMBED fullPage=true
2222
Close OpenSCD
2323

2424
Make screenshot on failure
25-
Take Screenshot filename=${TEST NAME}-failure-{index} fullPage=true
25+
Take Screenshot filename=EMBED fullPage=true
2626

2727
Open OpenSCD and Login
2828
New Browser browser=${browser}

0 commit comments

Comments
 (0)