Skip to content

Commit

Permalink
fix: overflowing node name
Browse files Browse the repository at this point in the history
  • Loading branch information
m8vago committed Jan 6, 2025
1 parent 23a152d commit 7ef8f77
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ test.describe('Versioned Project', () => {
const copyButton = await page.locator('button:has-text("Copy")')
await copyButton.click()

await page.locator(`button:has-text("${nodeName}")`).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 All @@ -87,7 +87,7 @@ test.describe('Versioned Project', () => {
})

test('deployment should not be copiable to the same node with the same prefix', async ({ page }) => {
const nodeName = 'versioned-copiability-same-node-same-prefix'
const nodeName = 'vc-same-node-same-prefix'
const projectName = nodeName
const prefix = projectName

Expand All @@ -105,7 +105,7 @@ test.describe('Versioned Project', () => {
const copyButton = await page.locator(`[alt="Copy"]:right-of(:has-text("${projectName}"))`).first()
await copyButton.click()

await page.locator(`button:has-text("${nodeName}")`).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

0 comments on commit 7ef8f77

Please sign in to comment.