mattermost-mobile-upstream/.github
yasser khan cd1ee5322b
Some checks are pending
ci / lint-typecheck (push) Waiting to run
ci / detox-lint-typecheck (push) Waiting to run
ci / test (push) Waiting to run
E2E: CI flake fixes; bump Maestro 2.11.0 and Detox 20.51.4 (#10257)
* fix(maestro): reset the iOS app before each batch; wait for timed-out config writes

- iOS: clearState reinstalls and launches at once, and on a loaded runner FrontBoard
  may not know the app yet. reset_ios_app.sh reinstalls it and returns once it
  launches; flows then skip clearState. A failed reset fails the batch.
- A config/patch the client timed out on is usually still applied, since saves run one
  at a time. Wait for it to land instead of resending, which queued more saves.
- iOS merges the server URL field label with its inline error; match the merged text.

* chore(e2e): bump Maestro to 2.11.0

* ci(e2e): give the Android emulator working DNS before specs run

Start the emulator with explicit resolvers, wait for it to resolve SITE_1 before
installing the app, and cold-boot it once if it cannot.

* ci(e2e): re-run iOS specs that failed only because the runner lost its route

The runner Mac can lose its network route for ~2 s, failing every request with -1009.
After a failed shard, re-run once only the spec files whose every failing test shows that
signature in its own device.log, and merge the results. Any other failure stays red.

* chore(e2e): bump Detox to 20.51.4

Adds regex toHaveText and RegExp/array URL blacklists; existing string-array
setURLBlacklist calls are unchanged. The postinstall patches still apply.

* fix(e2e): keep failures red when an iOS re-run or app reset fails

- Clear a shard failure only when the route-loss re-run and the merge both succeed.
- Record a JUnit failure when an isolated Maestro step cannot reset the app.
- Use /etc/resolv.conf for emulator DNS when systemd-resolved is absent.
- Set the runner-reset flag only when there is a device to reset.

* fix(maestro): bound simctl launch and terminate in the iOS app reset

* fix(maestro): find the server URL field by id when scrolling back to it

* fix(maestro): stop the batches when the config baseline cannot be applied
2026-10-19 22:58:41 +05:30
..
actions test(e2e): make CMT and PR E2E green (absorbs #10186) (#10184) 2026-09-22 12:33:09 +05:30
codeql Updated CodeQL to use latest version (#6689) 2022-10-18 10:26:22 -03:00
workflows E2E: CI flake fixes; bump Maestro 2.11.0 and Detox 20.51.4 (#10257) 2026-10-19 22:58:41 +05:30
dependabot.yaml fix: Proper glob path for dependabot (#8612) 2025-02-19 14:13:17 +02:00
ISSUE_TEMPLATE.md Added checklist to PR template (#5774) 2021-10-20 08:29:15 -03:00
PULL_REQUEST_TEMPLATE.md chore(e2e): Trigger server creating using matterwick for e2e tests (#9497) 2026-03-18 20:11:26 +05:30