mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 19:11:13 +00:00
test: Migrate cypress tests batch 1 to playwright (#19569)
This commit is contained in:
@@ -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)');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user