test: fix flakiness in GH connection test case (#1383)

This commit is contained in:
QAComet
2023-10-25 03:04:04 -06:00
committed by GitHub
parent d82b50fcdb
commit 2fceaf2cf4
3 changed files with 13 additions and 8 deletions

View File

@@ -13,9 +13,9 @@ export class ApplicationsModal extends BasePage {
constructor (page) {
super(page);
this.modal = page.getByTestId('add-app-connection-dialog');
this.searchInput = page.getByTestId('search-for-app-text-field');
this.appListItem = page.getByTestId('app-list-item');
this.appLoader = page.getByTestId('search-for-app-loader');
this.searchInput = this.modal.getByTestId('search-for-app-text-field');
this.appListItem = this.modal.getByTestId('app-list-item');
this.appLoader = this.modal.getByTestId('search-for-app-loader');
}
/**