fix(@wdio/runner): retry on Outdated Optimize Dep Vite errors (#13330)#13331
Merged
christian-bromann merged 2 commits intov8from Aug 6, 2024
Merged
fix(@wdio/runner): retry on Outdated Optimize Dep Vite errors (#13330)#13331christian-bromann merged 2 commits intov8from
christian-bromann merged 2 commits intov8from
Conversation
* fix(@wdio/runner): retry on Outdated Optimize Dep Vite errors * minor code improvements
80a60b8 to
51d79e2
Compare
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed changes
Sometimes Vite throws this Outdated Optimize Dep error which we should fix by better bundling WebdriverIO. Until we do that, this patch will help resolve these flakiness by just reloading the page which should give Vite the chance to properly optimize the deps. Furthermore this check helps to make sure we fail the process early in cases a network error happens when the testpage is loaded.
Types of changes
Checklist
Further comments
Reviewers: @webdriverio/project-committers