Implement a preferences UI editor smoke test for `Preferences turns off editor line numbers and verifies the live change`
See original GitHub issueUpdate
This was originally a test failure, but my suggestion in the end would be to come up with a settings smoke test that leverages the settings UI editor if possible.
Original:
1) VSCode Smoke Tests (Electron)
Preferences
turns off editor line numbers and verifies the live change:
Error: Timeout: get elements '.line-numbers' after 20 seconds.
at poll (D:\a\1\s\test\automation\src\code.ts:109:10)
at Code.waitForElements (D:\a\1\s\test\automation\src\code.ts:258:10)
at Context.<anonymous> (src\areas\preferences\preferences.test.ts:23:4)
//cc @sandy081
Issue Analytics
- State:
- Created 2 years ago
- Comments:34 (34 by maintainers)
Top Results From Across the Web
Implement a preferences UI editor smoke test for `Preferences turns ...
Implement a preferences UI editor smoke test for `Preferences turns off editor line numbers and verifies the live change`. On Comment #93045 #93045....
Read more >February 2020 (version 1.43) - Visual Studio Code
Learn what is new in the Visual Studio Code February 2020 Release (1.43) ... Draggable sash corners - Easily change the editor layout...
Read more >Changing the Pop-up Blocker Settings in Chrome, Firefox, or ...
Open Internet Explorer, select the Tools button, and then select Internet options. 2. On the Privacy tab, under Pop-up Blocker, select or clear...
Read more >Tips and Tricks for Mac Management - Apple
editor. This domain allows the administrator to establish a setting, yet the user may be allowed to edit that preference during the session....
Read more >Preference - Android Developers
android:singleLineTitle, Whether to use single line for the preference title text. ... Editor where this Preference can save its value(s).
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@rzhao271 I think it would be a good smoke test for settings editor. We have similar test for keybindings editor.
If you search for
capturePage
you can see an end to end of a method that is accessible from the smoke tests all the way into the running VSCode app where the method is implemented. Methods exposed fromdriver.ts
can be used from smoke tests via the driver’s IPC channel. You should be familiar with that way of implementing an IPC channel as it is the same used for all our other IPC communications 👍Yes, please do.