Skip to content

Commit

Permalink
remove unused test
Browse files Browse the repository at this point in the history
  • Loading branch information
GunnlaugurG committed Jan 15, 2025
1 parent 4e072c0 commit 9456674
Showing 1 changed file with 0 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,24 +27,4 @@ test.describe('Admin portal - admin delegations', () => {
await expect(page.getByText('Skrá nýtt umboð')).toBeVisible()
})
})

test.describe('With no write access', () => {
test.beforeAll(async ({ browser }) => {
context = await session({
browser,
homeUrl: `/stjornbord`,
phoneNumber: '0107789',
idsLoginOn: true,
})
})
test.afterAll(async () => {
await context.close()
})

test('should not see "Add" button', async () => {
const page = await context.newPage()
await page.goto('/stjornbord/delegation-admin')
await expect(page.getByText('Skrá nýtt umboð')).not.toBeVisible()
})
})
})

0 comments on commit 9456674

Please sign in to comment.