mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Add maestro test for send location (#914)
Originally part of https://github.com/vector-im/element-x-android/pull/770 It's been extracted out since it's currently blocked by our lack of maestro cloud credits. - https://github.com/vector-im/element-meta/issues/1682
This commit is contained in:
@@ -36,6 +36,8 @@ jobs:
|
|||||||
java-version: '17'
|
java-version: '17'
|
||||||
- name: Assemble debug APK
|
- name: Assemble debug APK
|
||||||
run: ./gradlew assembleDebug $CI_GRADLE_ARG_PROPERTIES
|
run: ./gradlew assembleDebug $CI_GRADLE_ARG_PROPERTIES
|
||||||
|
env:
|
||||||
|
ELEMENT_ANDROID_MAPTILER_API_KEY: ${{ secrets.MAPTILER_KEY }}
|
||||||
- name: Upload debug APKs
|
- name: Upload debug APKs
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
appId: ${APP_ID}
|
||||||
|
---
|
||||||
|
- takeScreenshot: build/maestro/520-Timeline
|
||||||
|
- tapOn: "Add attachment"
|
||||||
|
- tapOn: "Location"
|
||||||
|
- tapOn: "Share my location"
|
||||||
|
- takeScreenshot: build/maestro/521-Timeline
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
appId: ${APP_ID}
|
||||||
|
---
|
||||||
|
- takeScreenshot: build/maestro/510-Timeline
|
||||||
|
- tapOn: "Message"
|
||||||
|
- inputText: "Hello world!"
|
||||||
|
- tapOn: "Send"
|
||||||
|
- hideKeyboard
|
||||||
|
- takeScreenshot: build/maestro/511-Timeline
|
||||||
@@ -1,12 +1,9 @@
|
|||||||
appId: ${APP_ID}
|
appId: ${APP_ID}
|
||||||
---
|
---
|
||||||
# This is the name of one room
|
# This is the name of one room
|
||||||
# TODO Create a room on a new account
|
|
||||||
- tapOn: ${ROOM_NAME}
|
- tapOn: ${ROOM_NAME}
|
||||||
- takeScreenshot: build/maestro/500-Timeline
|
- takeScreenshot: build/maestro/500-Timeline
|
||||||
- tapOn: "Message"
|
- runFlow: messages/text.yaml
|
||||||
- inputText: "Hello world!"
|
- runFlow: messages/location.yaml
|
||||||
- tapOn: "Send"
|
|
||||||
- hideKeyboard
|
|
||||||
- back
|
- back
|
||||||
- runFlow: ../../assertions/assertHomeDisplayed.yaml
|
- runFlow: ../../assertions/assertHomeDisplayed.yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user