Unverified Commit 42b02b07 authored by Janka Uryga's avatar Janka Uryga Committed by GitHub

[Cache Components] fix env labels in perf track test (#85132)

We updated the label for the Runtime stage to `Prefetchable` in #85076,
and #85111 wasn't rebased on top of that
parent df102ae3
......@@ -61,7 +61,7 @@ describe('react-performance-track', () => {
expect(track).toEqual(
expect.arrayContaining([
{
name: '\u200bparams [Prefetch]',
name: '\u200bparams [Prefetchable]',
properties: [],
},
])
......@@ -80,7 +80,7 @@ describe('react-performance-track', () => {
expect(track).toEqual(
expect.arrayContaining([
{
name: '\u200bsearchParams [Prefetch]',
name: '\u200bsearchParams [Prefetchable]',
properties: [],
},
])
......@@ -97,7 +97,7 @@ describe('react-performance-track', () => {
expect(track).toEqual(
expect.arrayContaining([
{
name: '\u200bcookies [Prefetch]',
name: '\u200bcookies [Prefetchable]',
properties: [],
},
// TODO: The error message makes this seem like it shouldn't pop up here.
......@@ -123,7 +123,7 @@ describe('react-performance-track', () => {
})
const track = await browser.eval('window.reactServerRequests.getSnapshot()')
// TODO: Should include "draftMode [Prefetch]".
// TODO: Should include "draftMode [Prefetchable]".
expect(track).toEqual([
{
name: '\u200b',
......@@ -142,7 +142,7 @@ describe('react-performance-track', () => {
expect(track).toEqual(
expect.arrayContaining([
{
name: '\u200bheaders [Prefetch]',
name: '\u200bheaders [Prefetchable]',
properties: [],
},
// TODO: The error message makes this seem like it shouldn't pop up here.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment