Skip to content

Allow Overriding Local Webdriver Tests#67509

Merged
Hamms merged 3 commits into
stagingfrom
elijah/add-commit-flag-to-override-local-webdriver
Aug 11, 2025
Merged

Allow Overriding Local Webdriver Tests#67509
Hamms merged 3 commits into
stagingfrom
elijah/add-commit-flag-to-override-local-webdriver

Conversation

@Hamms

@Hamms Hamms commented Aug 1, 2025

Copy link
Copy Markdown
Contributor

Follow-up to #65064, which added logic to use a local webdriver for the first run of all UI and Eyes tests, only falling back to SauceLabs for any tests which fail that first run.

This PR adds a commit flag which can be used to selectively override that behavior if a developer has a specific reason to want even passing tests to run in SauceLabs (for example, if they want to share a video of a newly-added UI test running successfully).

Links

Slack thread

Testing story

Validated with an empty commit that with the new flag, all tests are run on saucelabs

Hamms added 3 commits August 1, 2025 12:35
Follow-up to #65064, which added logic to use a local webdriver for the first run of all UI and Eyes tests, only falling back to SauceLabs for any tests which fail that first run.

This PR adds a commit flag which can be used to selectively override that behavior if a developer has a specific reason to want even passing tests to run in SauceLabs (for example, if they want to share a video of a newly-added UI test running successfully).

[Slack thread](https://codedotorg.slack.com/archives/C08AMQ869QX/p1753933950644269)
@Hamms Hamms marked this pull request as ready for review August 7, 2025 21:28
@Hamms Hamms requested review from a team and hannahbergam August 7, 2025 21:29
@Hamms Hamms added UI Testing dev-experience Developer experience improvements labels Aug 7, 2025

@hannahbergam hannahbergam left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, and thank you! So this flag would be [skip local webdriver] (in brackets), right?

@Hamms

Hamms commented Aug 11, 2025

Copy link
Copy Markdown
Contributor Author

Yep! See this test commit for an example, and this comment for some (minimal) documentation

@Hamms Hamms merged commit 6dc32ab into staging Aug 11, 2025
6 checks passed
@Hamms Hamms deleted the elijah/add-commit-flag-to-override-local-webdriver branch August 11, 2025 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dev-experience Developer experience improvements UI Testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants