Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 78a7a338 authored by Guillaume Jacquart's avatar Guillaume Jacquart Committed by Guillaume Jacquart
Browse files

test:4025: Customize maestro tests

parent 549a5650
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
# Scenario: install-app-lib abort with EXPECTED_STATE on install app by PACKAGE_NAME
#    Given InstallAppDemo is installed
#    When user set PACKAGE_NAME in packageName field
#    And click Install
#    Then the status finally change to EXPECTED_STATE

appId: foundation.e.apps.installapp.demo
---

- launchApp
- tapOn: Package name
- inputText: ${PACKAGE_NAME}
- tapOn: Install

- assertVisible: ${EXPECTED_STATE}
+9 −0
Original line number Diff line number Diff line
appId: foundation.e.apps

---

- launchApp: foundation.e.apps
- tapOn:
    id: foundation.e.apps:id/agreeBT
- tapOn:
    id: foundation.e.apps:id/anonymousBT
+9 −0
Original line number Diff line number Diff line
appId: foundation.e.apps

---

- launchApp: foundation.e.apps
- tapOn:
    id: foundation.e.apps:id/agreeBT
- tapOn:
    id: foundation.e.apps:id/noGoogleBT
+5 −1
Original line number Diff line number Diff line
@@ -4,4 +4,8 @@ env:
  # "com.woefe.shoppinglist", "com.icedblueberry.shoppinglisteasy")
---

- launchApp
- launchApp: foundation.e.apps.installapp.demo
- tapOn: Package name
- inputText: com.woefe.shoppinglist
- tapOn: Install
- assertVisible: INSTALLED
+23 −0
Original line number Diff line number Diff line
# Scenario: Install app by PACKAGE_NAME through install-app-lib
#    Given AppLounge is configured with anonymous or Google account
#    And InstallAppDemo is installed
#    And App with PACKAGE_NAME is not installed
#    When user set PACKAGE_NAME in packageName field
#    And click Install
#    Then the app starts to download
#    And status move to DOWNLOADING, INSTALLING and finally INSTALLED

appId: foundation.e.apps.installapp.demo
#env:
#  PACKAGE_NAME: "com.woefe.shoppinglist"
#  # "com.woefe.shoppinglist", "com.icedblueberry.shoppinglisteasy")
---

- launchApp
- tapOn: Package name
- inputText: ${PACKAGE_NAME}
- tapOn: Install

- assertVisible: DOWNLOADING
- assertVisible: INSTALLING
- assertVisible: INSTALLED
Loading