Wait until git extension is loaded before checking for localized viewlet title

This commit is contained in:
Michel Kaporin
2017-06-29 09:56:25 +02:00
parent a609b2f1fc
commit 91f83afb13

View File

@@ -34,6 +34,7 @@ export function testLocalization() {
assert.equal(text.toLowerCase(), 'suchen');
await locale.openViewlet(ViewletType.SCM);
await app.wait(); // wait until git extension is loaded
text = await locale.getOpenedViewletTitle();
assert.equal(text.toLowerCase(), 'quellcodeverwaltung: git');