Skip to content

Commit 077798f

Browse files
2 parents c4131be + 8cf544b commit 077798f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

examples-functional-tests.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,19 @@ jobs:
3333
displayName: 'npm install'
3434
3535
- bash: |
36+
export PLAYWRIGHT_SHARD_INDEX=$(SHARD_INDEX)
3637
npm run examples:ci -- --shard=$(SHARD_INDEX)/$(SHARD_TOTAL)
3738
displayName: 'run Playwright tests'
3839
40+
41+
- task: PublishTestResults@2
42+
inputs:
43+
testResultsFormat: 'JUnit'
44+
testResultsFiles: '$(Build.SourcesDirectory)/test-results/results-shard-$(SHARD_INDEX).xml'
45+
testRunTitle: 'Playwright E2E Shard $(SHARD_INDEX)'
46+
condition: succeededOrFailed()
47+
displayName: 'Publish Playwright Test Results'
48+
3949
- task: CopyFiles@2
4050
inputs:
4151
SourceFolder: '$(Build.SourcesDirectory)/test-results/'

0 commit comments

Comments
 (0)