mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-08-19 09:30:21 +00:00
test(ui): find scheduled scan e2e row in In Progress tab (#11385)
This commit is contained in:
@@ -171,9 +171,13 @@ export class ScansPage extends BasePage {
|
||||
// 1. The provider exists in the table (by account ID/UID)
|
||||
// 2. The scan name field contains "scheduled scan"
|
||||
|
||||
// Scheduled scans live in the Scheduled tab; /scans defaults to Completed,
|
||||
// which would show an empty-state card (no table) in a fresh environment.
|
||||
await this.gotoTab("scheduled");
|
||||
// Adding a provider first creates a scheduled-trigger scan in the
|
||||
// AVAILABLE state (the immediate first run), which the tabbed view lists
|
||||
// under "In Progress" — not "Scheduled" (that tab only shows state=scheduled,
|
||||
// a later run created asynchronously). /scans defaults to Completed, which
|
||||
// would show an empty-state card (no table) in a fresh environment, so
|
||||
// navigate to the active tab where this row actually appears.
|
||||
await this.gotoTab("active");
|
||||
await this.verifyPageLoaded();
|
||||
|
||||
// Find a row that contains the account ID (provider UID in Provider column)
|
||||
|
||||
Reference in New Issue
Block a user