mercredi 19 août 2020

mvn compile and mvn install issue - App testing

Automated App Testing

I want to skip a pop up so I added a new element (just tap on text "SWITCH").
When I run the test locally in eclipse using appium everything works fine and my pop-up is skipped.

Step 1: maven install

enter image description here

Step 2: run configurations - android emulator

enter image description here

Test is successful. I can see my new element (SWITCH)

enter image description here

Now when I run my pipeline in Gitlab this FAILS.

.yml file in gitlab repo. Build stage is fine. Test stage fails. My new element (SWITCH) is never called. After "NOT NOW" it just moves on to other elements.

enter image description here

enter image description here

What is the difference between mvn compile and mvn install??
Can this be the issue why the test is not picking my new changes???

Aucun commentaire:

Enregistrer un commentaire