e2e: select quick picks based on strings, not harcoded indexes
Selecting the 14th view container ran into problems when an (emty) Continue Console view container was added. This also changes it to move to new secondary sidebar container rather than reusing one from Copilot.
This commit is contained in:
parent
ffec6c6b5d
commit
25ee72e8fb
1 changed files with 6 additions and 2 deletions
|
|
@ -16,8 +16,12 @@ export class GUIActions {
|
|||
await GUIActions.toggleGui();
|
||||
await TestUtils.waitForSuccess(async () => {
|
||||
await new Workbench().executeCommand("View: Move View");
|
||||
await (await InputBox.create(DEFAULT_TIMEOUT.MD)).selectQuickPick(4);
|
||||
await (await InputBox.create(DEFAULT_TIMEOUT.MD)).selectQuickPick(14);
|
||||
await (
|
||||
await InputBox.create(DEFAULT_TIMEOUT.MD)
|
||||
).selectQuickPick("Continue");
|
||||
await (
|
||||
await InputBox.create(DEFAULT_TIMEOUT.MD)
|
||||
).selectQuickPick("New Secondary Side Bar Entry");
|
||||
});
|
||||
|
||||
// first call focuses the input
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue