mattermost-mobile-upstream/app
yasser khan c37808ebcf
Bring release-2.45 E2E up to main for CMT (#10174 + #10187 merge + #10184) (#10188)
* fix: read manual time entry from both datetime config keys, and unblock main-branch E2E (#10174)

Apps form: Reads both manual_time_entry and the deprecated allow_manual_time_entry keys, preserving compatibility across supported server versions. Tests cover both keys, precedence, and the unset case.

Channel Attributes E2E: Gates the suite on the presence of the server feature flag so it does not run against 11.x servers where the feature does not exist.

E2E reliability: Fixes several main-branch failure modes, including cross-shard interference from server-global required channel attributes, Maestro account-screen timing, transient channel-creation failures, and bookmark setup/recovery after ambiguous network responses.

Bookmark setup: Makes channel creation idempotent by name and verifies membership through a read-back rather than blindly retrying writes.

Test coverage: Adds component-level coverage for the not_set channel-attribute state while documenting the intended re-homing of the skipped E2E case.

Test conventions/documentation: Aligns new test names and comments with project conventions and clarifies server-version behavior.

(cherry picked from commit 4f5b83e6af)

* test(e2e): make CMT and PR E2E green (absorbs #10186) (#10184)

test(e2e): stabilize mobile suites and shared-server configuration

- Restore Android character-limit coverage with realistic word-based payloads.
- Use a time-based grace period for classification-lock transport failures,
  resetting it after each successful request.
- Pin the demo plugin to v0.12.1 and replace mismatched installations using
  the multipart upload force flag.
- Recover uncertain channel creation through read-back, retry transient
  membership and profile-update failures, and check setup results.
- Improve sidebar navigation, channel-info recovery, tooltip dismissal,
  archived-channel assertions, and archived-search retries.
- Verify banner attributes before UI assertions and report observed failures
  without attributing unsupported causes.
- Reduce ChannelAttributes flag changes, retry app reloads, strengthen
  feature-state assertions, and remove unsafe full-config updates.
- Check configuration writability and environment overrides before patching;
  verify the app reflects AllowDownloadLogs and fix Maestro text matching.
- Increase the Jest timeout to accommodate existing test waits.

(cherry picked from commit 72e74b8785)
2026-09-22 10:37:35 +03:00
..
actions Mm 70299 channel labels display phase 1 (#10113) (#10171) 2026-09-18 08:10:30 +03:00
client Log network failures in REST client and websocket manager (#10074) 2026-09-14 11:33:35 +00:00
components Bring release-2.45 E2E up to main for CMT (#10174 + #10187 merge + #10184) (#10188) 2026-09-22 10:37:35 +03:00
constants Mm 70299 channel labels display phase 1 (#10113) (#10171) 2026-09-18 08:10:30 +03:00
context Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
database Mm 70299 channel labels display phase 1 (#10113) (#10171) 2026-09-18 08:10:30 +03:00
helpers Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
hooks Mm 67525 bump min version (#9640) 2026-09-16 10:53:06 +00:00
i18n Add autotranslations (#9324) 2026-02-10 17:50:39 +01:00
init [MM-70525] Fix CallKit call disconnect on lock-screen answer (#10111) 2026-09-08 14:17:56 -04:00
keyboard Mm 67525 bump min version (#9640) 2026-09-16 10:53:06 +00:00
managers Mm 67525 bump min version (#9640) 2026-09-16 10:53:06 +00:00
products Mm 67525 bump min version (#9640) 2026-09-16 10:53:06 +00:00
queries Mm 70299 channel labels display phase 1 (#10113) (#10171) 2026-09-18 08:10:30 +03:00
routes Mm 67525 bump min version (#9640) 2026-09-16 10:53:06 +00:00
screens Bring release-2.45 E2E up to main for CMT (#10174 + #10187 merge + #10184) (#10188) 2026-09-22 10:37:35 +03:00
store Mm 70299 channel labels display phase 1 (#10113) (#10171) 2026-09-18 08:10:30 +03:00
utils Mm 70299 channel labels display phase 1 (#10113) (#10171) 2026-09-18 08:10:30 +03:00