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
976a2222
Unverified
Commit
976a2222
authored
Oct 28, 2025
by
Sebastian "Sebbie" Silbermann
Committed by
GitHub
Oct 28, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[test] Ensure we can toggle the DevTools menu while status indicators are active (#85456)
parent
b95dbe6a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletion
+3
-1
next-logo.tsx
...s/dev-overlay/components/devtools-indicator/next-logo.tsx
+1
-0
status-indicator.tsx
...verlay/components/devtools-indicator/status-indicator.tsx
+1
-0
playwright.ts
test/lib/browsers/playwright.ts
+1
-1
No files found.
packages/next/src/next-devtools/dev-overlay/components/devtools-indicator/next-logo.tsx
View file @
976a2222
...
@@ -539,6 +539,7 @@ function CacheBypassBadge({
...
@@ -539,6 +539,7 @@ function CacheBypassBadge({
<
div
data
-
issues
data
-
cache
-
bypass
-
badge
>
<
div
data
-
issues
data
-
cache
-
bypass
-
badge
>
<
button
<
button
data
-
issues
-
open
data
-
issues
-
open
data
-
nextjs
-
dev
-
tools
-
button
aria
-
label=
"Open Next.js Dev Tools"
aria
-
label=
"Open Next.js Dev Tools"
onClick=
{
onTriggerClick
}
onClick=
{
onTriggerClick
}
>
>
...
...
packages/next/src/next-devtools/dev-overlay/components/devtools-indicator/status-indicator.tsx
View file @
976a2222
...
@@ -158,6 +158,7 @@ export function StatusIndicator({ status, onClick }: StatusIndicatorProps) {
...
@@ -158,6 +158,7 @@ export function StatusIndicator({ status, onClick }: StatusIndicatorProps) {
</
style
>
</
style
>
<
button
<
button
data
-
indicator
-
status
data
-
indicator
-
status
data
-
nextjs
-
dev
-
tools
-
button
onClick=
{
onClick
}
onClick=
{
onClick
}
aria
-
label=
"Open Next.js Dev Tools"
aria
-
label=
"Open Next.js Dev Tools"
>
>
...
...
test/lib/browsers/playwright.ts
View file @
976a2222
...
@@ -615,7 +615,7 @@ export class Playwright<TCurrent = undefined> {
...
@@ -615,7 +615,7 @@ export class Playwright<TCurrent = undefined> {
}
}
locateDevToolsIndicator
():
Locator
{
locateDevToolsIndicator
():
Locator
{
return
page
.
locator
(
'nextjs-portal [data-nextjs-dev-tools-button]'
)
return
page
.
locator
(
'nextjs-portal [data-nextjs-dev-tools-button]
:visible
'
)
}
}
locator
(
selector
:
string
,
options
?:
Parameters
<
(
typeof
page
)[
'locator'
]
>
[
1
])
{
locator
(
selector
:
string
,
options
?:
Parameters
<
(
typeof
page
)[
'locator'
]
>
[
1
])
{
...
...
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