Opening cluster list by data-testId

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev committed 2021-06-18 16:36:50 +03:00
1 parent 3ec08eaf24
commit f8d2892a74
5 files changed
+8 -5

No files matched your search

+2 -2
View File
@@ -99,8 +99,8 @@ export async function appStart() {
}
export async function showCatalog(app: Application) {
await app.client.waitForExist("#hotbarIcon-catalog-entity");
await app.client.click("#hotbarIcon-catalog-entity");
await app.client.waitForExist("#hotbarIcon-catalog-entity .Icon");
await app.client.click("#hotbarIcon-catalog-entity .Icon");
}
type AsyncPidGetter = () => Promise<number>;