test: remove unintended awaits

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
This commit is contained in:
Raju Udava
2023-09-01 10:10:26 +05:30
parent 6e2a05db7e
commit eddd118280
40 changed files with 175 additions and 209 deletions

View File

@@ -24,7 +24,7 @@ export class DataSourcePage extends BasePage {
async getDatabaseTypeList() {
await this.databaseType.click();
const nodes = await this.rootPage.locator('.nc-dropdown-ext-db-type').locator('.ant-select-item');
const nodes = this.rootPage.locator('.nc-dropdown-ext-db-type').locator('.ant-select-item');
const list = [];
for (let i = 0; i < (await nodes.count()); i++) {
const node = nodes.nth(i);