I'm using Azure DevOps to run test cases using Selenium.
I want to know how to create a work item when a test case fail in selenium
The pipeline is completing without error( without notifying that the test case has failed)
Below is the code from my yml pipeline:
# Maven
# Build your Java project and run tests with Apache Maven.
# Add steps that analyze code, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/java
trigger:
- master
pool: 'Self hosted agent'
steps:
- task: Maven@3
inputs:
mavenPomFile: 'pom.xml'
mavenOptions: '-Xmx3072m'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.8.0_231'
jdkArchitectureOption: 'x64'
publishJUnitResults: false
testResultsFiles: 'Logs/*'
goals: 'package'
- task: BatchScript@1
inputs:
filename: 'merge.bat'