Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
docs: Improve usage of PublishTestResults for Azure Pipelines (#18241)
Jacob Stevensonb7a49fb37147
diff --git a/docs/src/ci.md b/docs/src/ci.mdindex b6287ab7af..df0787f577 100644--- a/docs/src/ci.md+++ b/docs/src/ci.md@@ -319,7 +319,7 @@ jobs:npx playwright test```This will make the pipeline run fail if any of the playwright tests fails.-If you also want to integrate the test results with Azure DevOps, use `failOnStderr:false` and the built-in `PublishTestResults` task like so:+If you also want to integrate the test results with Azure DevOps, use the task `PublishTestResults` task like so:```ymljobs:- deployment: Run_E2E_Tests@@ -337,13 +337,12 @@ jobs:inputs:workingDirectory: 'my-e2e-tests'targetType: 'inline'- failOnStderr: false+ failOnStderr: trueenv:CI: truescript: |npm cinpx playwright test- exit 0- task: PublishTestResults@2displayName: 'Publish test results'inputs:@@ -353,6 +352,8 @@ jobs:mergeTestResults: truefailTaskOnFailedTests: truetestRunTitle: 'My End-To-End Tests'+ condition: succeededOrFailed()+```Note: The JUnit reporter needs to be configured accordingly via```ts