Skip to content

ci: run all UI tests on PR when AuthFlowTester changes#4089

Merged
wmathurin merged 1 commit into
forcedotcom:devfrom
wmathurin:fix-run-all-ui-tests-on-authflowtester-change
Jun 27, 2026
Merged

ci: run all UI tests on PR when AuthFlowTester changes#4089
wmathurin merged 1 commit into
forcedotcom:devfrom
wmathurin:fix-run-all-ui-tests-on-authflowtester-change

Conversation

@wmathurin

Copy link
Copy Markdown
Contributor

What

When a PR modifies anything under native/SampleApps/AuthFlowTester/, the full UI suite runs instead of the single fixed smoke test.

How it works:

  • TestOrchestrator.rb detects changes under native/SampleApps/AuthFlowTester/ and emits run_all_ui_tests=true
  • pr.yaml wires that output through test-orchestratorui-tests-pr via the new run_all_ui_tests input
  • reusable-ui-test-workflow.yaml adds a run_all_ui_tests boolean input:
    • false (default): existing "Run UI tests" step runs with pr_test filter (single smoke test)
    • true: new "Run All UI Tests" step runs with no -only-testing filter (full suite)

This mirrors the equivalent change already merged on Android (#2941 + #2942).

Testing

Validated with actionlint — no errors on pr.yaml and reusable-ui-test-workflow.yaml.

Note: pull_request_target cannot be triggered within a personal fork (it only fires on cross-repo PRs), so live CI validation was not possible on the fork. The actionlint clean pass is equivalent to the signal we had before merging the Android fix.

If a PR modifies anything under native/SampleApps/AuthFlowTester/,
TestOrchestrator emits run_all_ui_tests=true and the ui-tests-pr job
passes an empty pr_test, causing the full suite to run instead of
the single fixed smoke test.
@codecov

codecov Bot commented Jun 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 66.71%. Comparing base (29439f0) to head (10c1396).

Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #4089      +/-   ##
==========================================
- Coverage   70.73%   66.71%   -4.02%     
==========================================
  Files         246      246              
  Lines       21541    21541              
==========================================
- Hits        15237    14372     -865     
- Misses       6304     7169     +865     
Components Coverage Δ
Analytics 70.78% <ø> (ø)
Common 70.79% <ø> (-0.19%) ⬇️
Core 59.42% <ø> (-6.21%) ⬇️
SmartStore 73.60% <ø> (ø)
MobileSync 88.56% <ø> (ø)
see 34 files with indirect coverage changes
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions

Copy link
Copy Markdown
TestsPassedSkippedFailed ❌️
AuthFlowTester UI Test Results all1 ran1 ❌
TestResult
AuthFlowTester UI Test Results all
AuthFlowTesterUITests.xctest
LegacyLoginTests.testCAOpaque_DefaultScopes_WebServerFlow()❌ failure

@wmathurin wmathurin merged commit 3379fb2 into forcedotcom:dev Jun 27, 2026
24 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants