Skip to content

Commit

Permalink
Archive screenshots
Browse files Browse the repository at this point in the history
Diego Martinez committed Oct 3, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 973b2f9 commit 56c10c3
Showing 2 changed files with 11 additions and 4 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
@@ -68,9 +68,16 @@ jobs:
shell: cmd
run: mvn test -DsuiteXmlFile=TestNG.xml -Dstyle.color=always -Dcucumber.filter.tags="@WEB"

- name: Archive test evidences
- name: Archive video test evidences
if: always()
uses: actions/upload-artifact@v4
with:
name: web-test-evidences
path: 'C:\temp\selenoid\video'
name: web-video-evidences
path: 'C:\temp\selenoid\video'

- name: Archive image test evidences
if: always()
uses: actions/upload-artifact@v4
with:
name: web-image-evidences
path: 'C:\temp\evidences'
2 changes: 1 addition & 1 deletion src/configurations/Configuration.json
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@
"webDriverType": "local",
"baseUrl": "https://www.saucedemo.com/v1/",
"selenoidUri": "http://localhost:4444/wd/hub",
"deleteEvidencesForPassedTests": true,
"deleteEvidencesForPassedTests": false,
"capabilities" : []
},
{

0 comments on commit 56c10c3

Please sign in to comment.