aws-samples / aws-device-farm-appium-tests-for-sample-app

AWS Device Farm Appium tests
Apache License 2.0
91 stars 77 forks source link

Could not find the testng.xml in the jar file Error #23

Open QA1980 opened 2 years ago

QA1980 commented 2 years ago

My test fails on AWS build even after I followed all steps https://aws.amazon.com/premiumsupport/knowledge-center/xml-file-tests-jar-file-device-farm/ Question:

  1. Should I comment out Desire capabilities before running mvn clean package -DskipTests=true?
  2. when I check if the testng.xml exist in the jar tests here is what I get
    0 Thu Feb 10 11:59:32 EST 2022 META-INF/
    128 Thu Feb 10 11:59:32 EST 2022 META-INF/MANIFEST.MF
    1531 Thu Feb 10 11:59:30 EST 2022 LoginTest.class
     0 Thu Feb 10 11:59:32 EST 2022 META-INF/maven/
     0 Thu Feb 10 11:59:32 EST 2022 META-INF/maven/com.tesksio/
     0 Thu Feb 10 11:59:32 EST 2022 META-INF/maven/com.tesksio/Aws-Booksio/
    3562 Thu Feb 10 11:56:42 EST 2022 META-INF/maven/com.test/Aws-Booksio/pom.xml
    126 Thu Feb 10 11:59:32 EST 2022 META-INF/maven/com.test/Aws/pom.properties

    Does this mean that tesng is not available in the jar ? image