Skip to content

Commit

Permalink
remove unnecessary test skip logic
Browse files Browse the repository at this point in the history
  • Loading branch information
lubieowoce committed Jul 30, 2024
1 parent 1f6bb86 commit 850d6f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
import { nextTestSetup } from 'e2e-utils'

describe('app dir - form - with basepath', () => {
const { next, skipped } = nextTestSetup({
const { next } = nextTestSetup({
files: __dirname,
skipDeployment: true,
})

if (skipped) {
return
}

it('should add basePath to `action`', async () => {
const session = await next.browser('/base/forms/basic')

Expand Down
6 changes: 1 addition & 5 deletions test/e2e/app-dir/next-form/default/next-form.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,10 @@ import { nextTestSetup } from 'e2e-utils'
import { BrowserInterface } from '../../../../lib/next-webdriver'

describe('app dir - form', () => {
const { next, skipped, isNextDev } = nextTestSetup({
const { next, isNextDev } = nextTestSetup({
files: __dirname,
})

if (skipped) {
return
}

it('should soft-navigate on submit and show the prefetched loading state', async () => {
const session = await next.browser('/forms/basic')
const navigationTracker = await trackMpaNavs(session)
Expand Down

0 comments on commit 850d6f6

Please sign in to comment.