Skip to content

Commit

Permalink
Move new test into existing dynamic-io test app
Browse files Browse the repository at this point in the history
  • Loading branch information
unstubbable committed Oct 4, 2024
1 parent dcf1dfb commit 30a8872
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 20 deletions.
8 changes: 0 additions & 8 deletions test/e2e/app-dir/dynamic-io-server-action/app/layout.tsx

This file was deleted.

10 changes: 0 additions & 10 deletions test/e2e/app-dir/dynamic-io-server-action/next.config.js

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { nextTestSetup } from 'e2e-utils'
import { retry } from 'next-test-utils'

describe('dynamic-io-server-action', () => {
describe('dynamic-io', () => {
const { next } = nextTestSetup({
files: __dirname,
})

it('should not fail decoding server action arguments', async () => {
const browser = await next.browser('/')
const browser = await next.browser('/server-action')
expect(await browser.elementByCss('p').text()).toBe('initial')
await browser.elementByCss('button').click()

Expand Down

0 comments on commit 30a8872

Please sign in to comment.