test: Migrate cypress tests batch 1 to playwright (#19569)

This commit is contained in:
Artem Sorokin
2025-09-16 16:11:51 +02:00
committed by GitHub
parent b480f495d9
commit a4fc24371d
19 changed files with 2573 additions and 239 deletions

View File

@@ -265,4 +265,20 @@ export class NotificationsPage {
// Silent fail
}
}
getErrorNotifications(): Locator {
return this.page.locator('.el-notification:has(.el-notification--error)');
}
getSuccessNotifications(): Locator {
return this.page.locator('.el-notification:has(.el-notification--success)');
}
getWarningNotifications(): Locator {
return this.page.locator('.el-notification:has(.el-notification--warning)');
}
getInfoNotifications(): Locator {
return this.page.locator('.el-notification:has(.el-notification--info)');
}
}