Skip to content

Commit 54a8623

Browse files
more attempts to fix e2e tests in the pipeline
1 parent b281c44 commit 54a8623

2 files changed

Lines changed: 6 additions & 8 deletions

File tree

.github/workflows/e2e-tests.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,7 @@ jobs:
119119
mkdir -p example/maestro-output/debug
120120
maestro test ./example/maestro/ --format junit --output example/maestro-results.xml --debug-output example/maestro-output/debug || true
121121
# Attempt to record each Flow file individually (maestro record accepts a single flow file)
122-
bash << 'EOF'
123-
for f in ./example/maestro/*.yaml ./example/maestro/*.yml ./example/maestro/*.flow; do
124-
if [ -f "$f" ]; then
125-
echo "Recording $f"
126-
maestro record --local "$f" "example/maestro-output/$(basename "$f").mp4" --debug-output example/maestro-output/debug || echo "record failed for $f"
127-
fi
128-
done
129-
EOF
122+
bash -lc 'for f in ./example/maestro/*.yaml ./example/maestro/*.yml ./example/maestro/*.flow; do if [ -f "$f" ]; then echo "Recording $f"; maestro record --local "$f" "example/maestro-output/$(basename "$f").mp4" --debug-output example/maestro-output/debug || echo "record failed for $f"; fi; done' || true
130123
# If Maestro wrote to the user home tests dir, copy those into the output dir for upload
131124
if [ -d "$HOME/.maestro/tests" ]; then
132125
mkdir -p example/maestro-output/.maestro-tests

example/maestro/connectWidget.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
appId: com.anonymous.example
22
---
33
- launchApp
4+
- screenshot: "after-launch"
45
- tapOn: "Connect"
6+
- screenshot: "after-tap-connect"
57
- assertVisible: "Select your institution"
8+
- screenshot: "after-select-institution"
69
- tapOn: ".*MX Bank.*"
10+
- screenshot: "after-tap-mx-bank"
711
- assertVisible: "Enter your credentials"
12+
- screenshot: "after-enter-credentials"

0 commit comments

Comments
 (0)