We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c4131be + 8cf544b commit 077798fCopy full SHA for 077798f
examples-functional-tests.yml
@@ -33,9 +33,19 @@ jobs:
33
displayName: 'npm install'
34
35
- bash: |
36
+ export PLAYWRIGHT_SHARD_INDEX=$(SHARD_INDEX)
37
npm run examples:ci -- --shard=$(SHARD_INDEX)/$(SHARD_TOTAL)
38
displayName: 'run Playwright tests'
39
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
49
- task: CopyFiles@2
50
inputs:
51
SourceFolder: '$(Build.SourcesDirectory)/test-results/'
0 commit comments