Skip to content

Commit

Permalink
Minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
svanaeinars committed Nov 15, 2024
1 parent 05e489f commit af54dcc
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 47 deletions.
2 changes: 1 addition & 1 deletion apps/web/e2e/smoke/homepage.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {
BrowserContext,
type BrowserContext,
createPageAndNavigate,
expect,
session,
Expand Down
2 changes: 1 addition & 1 deletion apps/web/e2e/smoke/search.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {
BrowserContext,
type BrowserContext,
expect,
session,
test,
Expand Down
4 changes: 2 additions & 2 deletions apps/web/e2e/smoke/sites-of-institutions.spec.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import slugify from 'slugify'

import {
BrowserContext,
type BrowserContext,
expect,
Page,
type Page,
session,
test,
} from '@island.is/testing/e2e'
Expand Down
40 changes: 0 additions & 40 deletions apps/web/e2e/utils/addons.ts

This file was deleted.

2 changes: 0 additions & 2 deletions apps/web/playwright.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { createPlaywrightConfig } from '@island.is/testing/e2e'

import './e2e/utils/addons'

const webConfig = createPlaywrightConfig({
webServerUrl: 'http://localhost:4200',
command: '(yarn dev-init web && yarn dev web)',
Expand Down
3 changes: 2 additions & 1 deletion libs/testing/e2e/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ export * from './lib/session/session'
export * from './lib/modules/urls'
export * from './lib/helpers/utils'
export * from './lib/config/playwright-config'
export { test, expect, Page, Locator, BrowserContext } from '@playwright/test'
export { test, expect } from '@playwright/test'
export type { Page, Locator, BrowserContext } from '@playwright/test'

0 comments on commit af54dcc

Please sign in to comment.