How can I avoid "Data at the root level is invalid" Error in Maven task for Automation Testing on Azure DevOps?

62 views Asked by At

I am using Azure DevOps for a task related to Automation Testing. I need help with resolving these two errors that I am facing:

1-

##[warning]Failed to read /home/vsts/work/1/s/src/test/resources/features/matas/app/homescreen/InStoreModeScreen.feature. Error : Data at the root level is invalid. Line 1, position 1..

2-

Caused by: net.thucydides.core.webdriver.DriverConfigurationError: Could not instantiate new WebDriver instance of type class io.appium.java_client.AppiumDriver (Connection refused (Connection refused) enter image description here

Please guide me which task can I use to install Appium Driver in a Build Pipeline(CI) on Azure DevOps? Also explain why is Appium Driver important to execute Automation Testing?

I tried these tasks: enter image description here enter image description here

enter image description here enter image description here

I am expecting that pipeline automatically performs steps mentioned in InStoreModeScreen.feature file in repository. enter image description here

Right now, tests are not being executed even when pipeline runs successfully.

Serenity Summary Report: enter image description here

0

There are 0 answers