Skip to content

Configuration

Simon Sai edited this page Sep 23, 2024 · 14 revisions

Set env

  • Create env-configs.properties from env-configs.properties.default
  • Ask your team if you dont have USERNAME and PASSWORD image

Run demo web

  • Go to the root folder of the project, where pom.xml exists, and run:

mvn test -P runner -Dcucumber.filter.tags="@google"

  • If nothing wrong, Google test cases start running with BUILD SUCCESS at the end. image

Run demo Android

  • Connect to a real device or start a simulator, then open a terminal and run:

appium

  • Make sure your apppium successfully runs with drivers.: flutter-integration, uiautomator2 image

  • If you have only 1 device connected, Appium will use that one.

  • If you have more than one, you need to set the device name in the env file. image

  • To get device name, run command below:

adb devices

image

  • Now, open a new termial while the appium server is still working and run:

    mvn test -P runner -Dcucumber.filter.tags="@demoAndroid"

  • You will see a few scenarios run; if any of them fail, you need to talk to the QA Leader. image

If you finish all steps above, your local is ready to work with. Congratulation.