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

Commit 14fc2044 authored by Guillaume Jacquart's avatar Guillaume Jacquart
Browse files

test:4025: Add maestro tests on installapplib

parent 574233bc
Loading
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}
+12 −0
Original line number Diff line number Diff line
# Scenario: install-app-lib show AppLounge configuration
#    Given InstallAppDemo is installed
#    When open InstallAppDemo
#    Then GPlayAccountType shows GPLAY_ACCOUNT_TYPE
#    And SeachableSrouces shows SEARCHABLE_SOURCES

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

- launchApp
- assertVisible: ${GPLAY_ACCOUNT_TYPE}
- assertVisible: ${SEARCHABLE_SOURCES}
+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
+20 −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/googleBT
- tapOn: PROCEED TO GOOGLE LOGIN
- tapOn: Sign in with Google in AppLounge only
- tapOn: Email or phone
- inputText: ${GOOGLE_ACCOUNT}
- tapOn: Next
- extendedWaitUntil:
    visible: Show password
    timeout: 10000
- inputText: ${GOOGLE_PASSWORD}
- tapOn: Next
- tapOn: I agree
+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
Loading