Skip to content

Commit

Permalink
ci(e2e): fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
heristop committed Sep 23, 2024
1 parent 9768d6d commit 10f885b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/e2e/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ test.describe('TreemapFlow Page Tests', () => {
await expect(htmlElement).not.toHaveClass(/dark/, { timeout: 10000 })
})

test('Load configuration from URL', async ({ page }) => {
test('Load configuration', async ({ page }) => {
const urlInput = page.locator('input[placeholder="https://"]')
const loadFromUrlButton = page.locator('button[aria-label="Load Configuration from URL"]')
const loadFromUrlButton = page.locator('button[aria-label="Load Configuration"]')

await expect(loadFromUrlButton).toBeVisible({ timeout: 10000 })

Expand All @@ -49,7 +49,7 @@ test.describe('TreemapFlow Page Tests', () => {
await expect(page.locator('html')).toHaveText(/Root/, { timeout: 10000 })

// Click the button to go back to home
const resetButton = page.locator('button[aria-label="Go to home"]')
const resetButton = page.locator('button[aria-label="Go to Homepage"]')
await resetButton.click()
})

Expand Down

0 comments on commit 10f885b

Please sign in to comment.