Skip to content

Commit cd01033

Browse files
authored
Merge pull request #1448 from kravciak/ns-filter-fix
Use empty table fix on cronjobs page
2 parents 3a6a649 + 4e81e39 commit cd01033

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/e2e/components/navigation.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ export class Navigation {
9090
await this.sideNavHandler(groupName, childName)
9191

9292
// Handle known cases of empty tables
93-
if (groupName === 'Apps' && childName === 'Installed Apps') {
94-
const row = this.ui.tableRow('rancher').row
93+
if (childName === 'Installed Apps' || childName === 'CronJobs') {
94+
const row = this.ui.tableRow(/^(rancher|audit-scanner)$/).row
9595
await expect(row).toBeVisible().catch(async() => {
9696
test.info().annotations.push({ type: 'Table is empty', description: 'Resetting namespace filter' })
9797
const rancher = new RancherCommonPage(this.page)

0 commit comments

Comments
 (0)