Skip to content

Commit 2477573

Browse files
committed
[WIP] another attempt to fix UI tests on macOS
Signed-off-by: David Thompson <davidethompson@me.com>
1 parent 81449fb commit 2477573

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

test/ui-test/customTagsTest.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,9 @@ export function customTagsTest(): void {
3636

3737
await hardDelay(2000);
3838
const textSettingsEditor = (await editorView.openEditor('settings.json')) as TextEditor;
39-
if (process.platform === 'darwin') {
40-
await driver.actions().sendKeys(' "customTag1"').perform();
41-
} else {
42-
const coor = await textSettingsEditor.getCoordinates();
43-
await textSettingsEditor.typeTextAt(coor[0], coor[1], ' "customTag1"');
44-
}
39+
40+
const coor = await textSettingsEditor.getCoordinates();
41+
await textSettingsEditor.typeTextAt(coor[0], coor[1], ' "customTag1"');
4542
await textSettingsEditor.save();
4643
await hardDelay(1_000);
4744

test/ui-test/extensionUITest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export function extensionUIAssetsTest(): void {
2626
driver = VSBrowser.instance.driver;
2727
view = await new ActivityBar().getViewControl('Extensions');
2828
sideBar = await view.openView();
29-
driver.wait(
29+
await driver.wait(
3030
async () => !(await sideBar.getContent().hasProgress()),
3131
5000,
3232
"Progress bar hasn't been hidden within the timeout"

0 commit comments

Comments
 (0)