-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[browser tests] [typescript] Solidify tests
Testcases 'references-view.find'/'references-view.findImplementations' is triggering a couple of exceptions that result in error pop-ups in the app, that seem to intermitently derail the following test cases. It happens when opening the references view directly, but not when triggering the find references / find implementations, which in any case also open the view. In consequence, I have reorganized the order of operations to minimize issues: trigger the commands first, then "open" the already opened view to get a handle on it and be able to confirm that the content is what's expected. Observing the failure points, added a bit more strategic "robustness" to the following TypeScript tests: - editor.action.triggerSuggest - Can execute code actions - editor.action.quickFix Also added a delay in beforeEach and afterEach handlers, to give time for code action contributions to be updated when editors are closedand reopened. This helped with a few intermittent problems. Signed-off-by: Marc Dumais <[email protected]>
- Loading branch information
1 parent
f0be4f1
commit a4b189a
Showing
1 changed file
with
75 additions
and
20 deletions.
There are no files selected for viewing
This file contains 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