Skip to content

Commit dda2ca9

Browse files
committed
Update tests
1 parent e352371 commit dda2ca9

5 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/actions/start-runtime/action.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ runs:
3737

3838
- name: "Start mxruntime with retries"
3939
run: |
40-
set -e
4140
MAX_RETRIES=3
4241
RETRY=0
4342
until bin/m2ee -c ${{ github.workspace }}/project/m2ee-native.yml --verbose --yolo start; do
-667 Bytes
Loading
-507 Bytes
Loading
8.7 KB
Loading

packages/pluggableWidgets/line-chart-native/e2e/specs/maestro/LineChart.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,10 @@ appId: "${APP_ID}"
1010
text: "Line chart"
1111
- assertVisible:
1212
id: "container1"
13+
# Because the image loading can take some time due to resources on emulator, we need to wait for the image to be visible
14+
- extendedWaitUntil:
15+
visible: randText # Any random text that does not exist in the UI
16+
optional: true # This should be true so that the test won't fail
17+
timeout: 15000 # 15 seconds
1318
- takeScreenshot:
1419
path: "maestro/images/actual/${PLATFORM}/line_chart"

0 commit comments

Comments
 (0)