Add Import smoke test (#15111)

* Add smoke test

* Add wait for service

* Also revert liveshare

* fixes

* Use custom extensions dir

* fix

* compile extensions

* Use build extensions dir

* test break

* revert

* revert yarn.lock

* Add comment

* Add comments
This commit is contained in:
Charles Gagnon
2021-04-14 08:43:45 -07:00
committed by GitHub
parent 5e8ac017a6
commit 5922047f6b
6 changed files with 43 additions and 8 deletions

View File

@@ -35,8 +35,9 @@ export class StatusBar {
return this.code.waitForTextContent(this.getSelector(StatusBarElement.EOL_STATUS), eol);
}
async waitForStatusbarText(title: string, text: string): Promise<void> {
await this.code.waitForTextContent(`${this.mainSelector} .statusbar-item[title="${title}"]`, text);
// {{SQL CARBON EDIT}} Add retryCount
async waitForStatusbarText(title: string, text: string, retryCount?: number): Promise<void> {
await this.code.waitForTextContent(`${this.mainSelector} .statusbar-item[title="${title}"]`, text, undefined, retryCount);
}
private getSelector(element: StatusBarElement): string {