Skip to content

Commit

Permalink
fix: e2e test node selection
Browse files Browse the repository at this point in the history
  • Loading branch information
m8vago committed Jan 6, 2025
1 parent ad74ce8 commit db14aef
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ test.describe('Versionless Project', () => {
const copyButton = await page.locator(`[alt="Copy"]:right-of(:has-text("${projectName}"))`).first()
await copyButton.click()

await page.locator(`button:has-text("${nodeName}"):above(:has-text("Prefix"))`).click()
await page.locator(`button:has-text("${nodeName}"):above(label:has-text("Prefix"))`).click()
await fillDeploymentPrefix(page, prefix)
await page.locator('button:has-text("Copy")').click()

Expand Down Expand Up @@ -72,7 +72,7 @@ test.describe('Versionless Project', () => {
const copyButton = page.locator('button:has-text("Copy")')
await copyButton.click()

await page.locator(`button:has-text("${otherNode}"):above(:has-text("Prefix"))`).click()
await page.locator(`button:has-text("${otherNode}"):above(label:has-text("Prefix"))`).click()
await fillDeploymentPrefix(page, prefix)

const currentUrl = page.url()
Expand All @@ -99,7 +99,7 @@ test.describe('Versionless Project', () => {
const copyButton = page.locator('button:has-text("Copy")')
await copyButton.click()

await page.locator(`button:has-text("${nodeName}"):above(:has-text("Prefix"))`).click()
await page.locator(`button:has-text("${nodeName}"):above(label:has-text("Prefix"))`).click()
await fillDeploymentPrefix(page, `${prefix}-new-prefix`)

const currentUrl = page.url()
Expand Down

0 comments on commit db14aef

Please sign in to comment.