From 9259984a7808c38b1821f0f08986da6506f5eefa Mon Sep 17 00:00:00 2001 From: r1n04h Date: Fri, 22 May 2026 16:28:04 +0100 Subject: [PATCH] fix: test ci 323 mobile --- mobile/.maestro/send-spark.yml | 23 +-------------- mobile/.maestro/send-token.yml | 22 +------------- .../.maestro/subflows/input-spark-address.yml | 29 +++++++++++++++++++ 3 files changed, 31 insertions(+), 43 deletions(-) create mode 100644 mobile/.maestro/subflows/input-spark-address.yml diff --git a/mobile/.maestro/send-spark.yml b/mobile/.maestro/send-spark.yml index 5c8a2425..25f15508 100644 --- a/mobile/.maestro/send-spark.yml +++ b/mobile/.maestro/send-spark.yml @@ -34,29 +34,8 @@ jsEngine: graaljs # ok, balance copied, lets send it so hardcoded address from our 2nd account - tapOn: id: 'SendButton' -- tapOn: - id: 'send-address-input' -# split into chunks - single 68-char inputText hangs iOS WDA (port 7001) on CI -- inputText: 'spark1pgssyjcyyyp' -- runFlow: - file: subflows/sleep.yml - env: - TIMEOUT: 1000 -- inputText: 'uufme5g6n4rg7avcx' -- runFlow: - file: subflows/sleep.yml - env: - TIMEOUT: 1000 -- inputText: 'kx029am5ccpfn63d5' -- runFlow: - file: subflows/sleep.yml - env: - TIMEOUT: 1000 -- inputText: 'ryr6d308m0j4akqhx' - runFlow: - file: subflows/sleep.yml - env: - TIMEOUT: 1000 + file: subflows/input-spark-address.yml - tapOn: id: 'send-address-next-button' - waitForAnimationToEnd diff --git a/mobile/.maestro/send-token.yml b/mobile/.maestro/send-token.yml index b74c0dbc..172975e0 100644 --- a/mobile/.maestro/send-token.yml +++ b/mobile/.maestro/send-token.yml @@ -34,28 +34,8 @@ jsEngine: graaljs # ok, balance copied, lets send it so hardcoded address from our 2nd account - tapOn: id: 'token-row-btkn1mjpzcvak0mk9xv4kjdztwl6udk5rkgzetyz4qdz8375mk0wpvpqqe0alhv' -- tapOn: - id: 'send-address-input' -- inputText: 'spark1pgssyjcyyyp' -- runFlow: - file: subflows/sleep.yml - env: - TIMEOUT: 1000 -- inputText: 'uufme5g6n4rg7avcx' -- runFlow: - file: subflows/sleep.yml - env: - TIMEOUT: 1000 -- inputText: 'kx029am5ccpfn63d5' -- runFlow: - file: subflows/sleep.yml - env: - TIMEOUT: 1000 -- inputText: 'ryr6d308m0j4akqhx' - runFlow: - file: subflows/sleep.yml - env: - TIMEOUT: 1000 + file: subflows/input-spark-address.yml - tapOn: id: 'send-address-next-button' - waitForAnimationToEnd diff --git a/mobile/.maestro/subflows/input-spark-address.yml b/mobile/.maestro/subflows/input-spark-address.yml new file mode 100644 index 00000000..b441a6b7 --- /dev/null +++ b/mobile/.maestro/subflows/input-spark-address.yml @@ -0,0 +1,29 @@ +appId: com.layerzwallet.mobile +--- +# Chunked entry: one long inputText hangs iOS WDA on CI. eraseText: 1 primes the field after tapOn +# (Maestro/Android can drop leading characters on the first inputText otherwise). +- tapOn: + id: 'send-address-input' +- waitForAnimationToEnd +- eraseText: 1 +- inputText: 'spark1pgssyjcyyyp' +- runFlow: + file: sleep.yml + env: + TIMEOUT: 1000 +- inputText: 'uufme5g6n4rg7avcx' +- runFlow: + file: sleep.yml + env: + TIMEOUT: 1000 +- inputText: 'kx029am5ccpfn63d5' +- runFlow: + file: sleep.yml + env: + TIMEOUT: 1000 +- inputText: 'ryr6d308m0j4akqhx' +- runFlow: + file: sleep.yml + env: + TIMEOUT: 1000 +- assertNotVisible: 'Invalid address'