Skip to content

Commit d37156f

Browse files
committed
Update app installer steps for rancher 2.15
Signed-off-by: Martin Kravec <kravciak@gmail.com>
1 parent b2b0296 commit d37156f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/e2e/rancher/rancher-apps.page.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ export class RancherAppsPage extends BasePage {
4848

4949
constructor(page: Page) {
5050
super(page)
51-
this.step1 = page.getByRole('heading', { name: 'Install: Step 1' })
52-
this.step2 = page.getByRole('heading', { name: 'Install: Step 2' })
51+
this.step1 = page.getByRole('heading', { name: 'Install: Step 1' }).or(this.page.getByRole('tab', { name: 'Metadata', selected: true })).first()
52+
this.step2 = page.getByRole('heading', { name: 'Install: Step 2' }).or(this.page.getByRole('tab', { name: 'Values', selected: true })).first()
5353
this.stepTitle = page.locator('div.top.choice-banner>.title')
5454
this.nextBtn = this.ui.button('Next')
5555
this.installBtn = this.ui.button(/Install|Install this version/)

0 commit comments

Comments
 (0)