Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion app/src/maestro/flows/flow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@ appId: io.github.lordraydenmk.themoviedbapp
---
- launchApp
- tapOn: "Karate Kid: Legends"
- assertVisible: "After a family tragedy, kung fu prodigy Li Fong.*"
- runFlow: reusable/trigger-process-death.yml
- assertVisible: "After a family tragedy, kung fu prodigy Li Fong.*"
- back
- assertVisible: "Karate Kid: Legends"
- assertVisible: "Movies App"
6 changes: 6 additions & 0 deletions app/src/maestro/flows/reusable/trigger-process-death.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
appId: io.github.lordraydenmk.themoviedbapp
---
- pressKey: Home # Puts the app into the background
- killApp # Kills the app (adb shell am kill)
- launchApp: # Relaunches the app
stopApp: false # Without adb shell am stop
2 changes: 1 addition & 1 deletion e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if [ $result -ne 0 ]; then
echo "Printing hierarchy"
maestro hierarchy
echo "Printing logcat for app"
adb logcat -d | grep "io.github.lordraydenmk.superheroesapp"
adb logcat -d | grep "io.github.lordraydenmk.themoviedbapp"
fi

# return the result of the first command as the result of the script
Expand Down
2 changes: 1 addition & 1 deletion wiremock/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ COPY __files /home/wiremock/__files

EXPOSE 8080

CMD ["--port", "8080", "--global-response-templating", "--verbose"]
ENTRYPOINT ["/docker-entrypoint.sh", "--global-response-templating", "--disable-gzip", "--verbose"]