mattermost-mobile-upstream/.github
Claude 127dfb535e
fix(e2e): match the login placeholder by regex instead of patching server LDAP
The maestro login subflow selected the username field by the exact string
"Email, Username or AD/LDAP Username". That placeholder is assembled at runtime
in app/screens/login/form.tsx from the server's auth config, so it only reads
that way when email + username + LDAP sign-in are all enabled; a stock server
renders "Email or Username" and Maestro's full-string regex misses.

The CI template worked around it by enabling LDAP on the test server before
every maestro job. That fixes the wrong layer: it leaves a permanently broken
AD/LDAP option on a shared server's login screen, LdapSettings.Enable is a
licensed field so the curl -f hard-fails an unlicensed server, and it is the
same full-string-regex trap GUIDELINES.md warns about in this very PR. Match
"Email.*Username" instead, which holds for both compositions, and drop the
server patching.

Also:
- The config-baseline step is setup, not teardown, so it no longer runs under
  always(): after a failed or cancelled provision it would fire at a server
  that may not exist and mask the real seed failure with a curl error. The
  end-of-job AllowDownloadLogs restore keeps always(), which is what it is for.
- Re-exclude MM-T5603 on iOS. It was un-excluded on three consecutive local
  greens, but it was quarantined as a ~50% intermittent with an unknown
  mechanism, and nothing about the flow changed - three greens against a coin
  flip is a 1-in-8 coincidence, not a fix. MM-T5611 stays enabled: it has a
  named root cause and two negative controls that failed as required.
- Prune exclude_tags.json to the live exclusions and their reasons. The
  historical un-exclusion narratives are in git log; keeping them inline made
  the file grow without bound and re-serializing it escaped every non-ASCII
  character, so real edits arrived buried in whole-file diff noise. The QUIC
  transport finding was not about any exclusion and moves to README.md.
2026-08-30 08:37:12 +00:00
..
actions fix(e2e): never install demo plugin through Cloudflare 2026-08-22 01:01:18 +05:30
codeql Updated CodeQL to use latest version (#6689) 2022-10-18 10:26:22 -03:00
workflows fix(e2e): match the login placeholder by regex instead of patching server LDAP 2026-08-30 08:37:12 +00:00
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