Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
ec69ebda
Commit
ec69ebda
authored
Oct 09, 2025
by
Zack Tanner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[tests]: de-flake app-action deploy test
parent
8f6155f4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
app-action.test.ts
test/e2e/app-dir/actions/app-action.test.ts
+9
-4
No files found.
test/e2e/app-dir/actions/app-action.test.ts
View file @
ec69ebda
...
...
@@ -739,17 +739,22 @@ describe('app-dir action handling', () => {
await
submit
.
click
()
await
retry
(
async
()
=>
{
expect
(
await
browser
.
hasElementByCssSelector
(
'#error'
)).
toBe
(
false
)
expect
(
await
browser
.
url
()).
toContain
(
'/redirect/other'
)
})
await
browser
.
waitForIdleNetwork
()
// go back to the page that was revalidated
await
browser
.
elementByCss
(
'[href="/redirect"]'
).
click
()
await
browser
.
waitForElementByCss
(
'#main-page'
)
await
browser
.
waitForIdleNetwork
()
await
retry
(
async
()
=>
{
const
newRandom
=
await
browser
.
elementById
(
'random-number'
).
text
()
expect
(
newRandom
).
not
.
toBe
(
initialRandom
)
})
})
// TODO(client-segment-cache): re-enable when this optimization is added back
it
.
skip
(
'should reset the form state when the action redirects to itself'
,
async
()
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment