E2E - fixing

This commit is contained in:
Vito Albano
2023-12-05 17:27:49 +00:00
parent 7e4604ef41
commit 4e0b76c066
4 changed files with 6 additions and 4 deletions

View File

@@ -208,7 +208,7 @@ export class MetadataViewPage {
}
async changeContentType(option: string, attempt = 0, maxAttempt = 3): Promise<boolean> {
const nodeType = TestElement.byCss('div[data-automation-id="header-nodeType"] .mat-select-trigger');
const nodeType = TestElement.byCss('div[data-automation-id="header-nodeType"] .mat-mdc-select-trigger');
if (attempt > maxAttempt) {
Logger.error(`content type select option not found. check acs version may be lesser than 7.0.0`);
return false;