Skip to content

Commit

Permalink
edit connect test
Browse files Browse the repository at this point in the history
  • Loading branch information
bryannho committed Oct 2, 2023
1 parent 804cee3 commit 062472f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui-tests/tests/widget.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,7 @@ for (const {alias, id} of specialAliases) {
await page.locator('#connBtn_default').click();
await page.locator(`#connBtn_${id}`).click();

await expect(page.locator('.connection-name')).toContainText(alias);
await page.locator(`#connBtn_${id}`).waitFor();
await expect(page.locator(`#connBtn_${id}`)).toContainText('Connected');
})
}

0 comments on commit 062472f

Please sign in to comment.