mirror of
https://github.com/luxfi/safe-wallet.git
synced 2026-10-30 15:19:21 +00:00
* fix(mobile): infoSheet loses content * test(mobile): refactor e2e tests Reorganise the e2e test and make them easier to maintain. The previous structure was monotlithic. One would start the history tests and would have to wait for all of them to complete. Now one can test individual features - like twap, swap, stake txs without having the run the whole flow. Each of those can be run on it’s own. They can also be run as a whole in the __suite__ - every suite is optimised to start the app once and then to run flow without uninstalling and instalilng the app again. * test(mobile): run tests on android as well * test(mobile): fix wrong mock data * fix(mobile): linting * test(mobile): make assertions android compatible * fix(mobile): prettier * test(mobile): add stake claim test * test(mobile): speed up app launch in dev mode * test(mobile): test improvements * test(mobile): unstable hooks caused app to crash There was somethign wrong with AssetsNavbar and the way that react-navigation renders it. In tests we got crashes due to different number of hooks being rendered * test(mobile): fix prettier
38 lines
1.2 KiB
YAML
38 lines
1.2 KiB
YAML
appId: ${APP_ID}
|
|
tags:
|
|
- util
|
|
---
|
|
# ===========================================
|
|
# On-Chain Rejection Transaction Card (Pending)
|
|
# ===========================================
|
|
# Tests clicking on an on-chain rejection transaction in the pending transactions list
|
|
# On-chain rejections may appear in the "Conflicting transactions" section
|
|
#
|
|
# Environment variables:
|
|
# IS_EXECUTABLE: Whether the transaction is expected to be executable - "true" or "false"
|
|
# Defaults to "false" if not provided (most rejections are not immediately executable)
|
|
|
|
# Verify the rejection card is visible
|
|
# The card shows "Rejected" (type) and "On-chain rejection" (label)
|
|
- assertVisible:
|
|
text: '.*Rejected.*'
|
|
- assertVisible:
|
|
text: '.*On-chain rejection.*'
|
|
|
|
# Tap on the On-chain rejection transaction text
|
|
# Note: On-chain rejections may appear in "Conflicting transactions" sections
|
|
# Using index: 0 to select the first one found
|
|
- tapOn:
|
|
text: '.*On-chain rejection.*'
|
|
index: 0
|
|
|
|
# Pass IS_EXECUTABLE to the detail test
|
|
# If IS_EXECUTABLE is not provided, on-chain-rejection-tx.yml will default to "false"
|
|
- runFlow:
|
|
file: ./on-chain-rejection-tx.yml
|
|
env:
|
|
IS_EXECUTABLE: ${IS_EXECUTABLE}
|
|
|
|
- tapOn:
|
|
id: 'go-back'
|