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', () => { ...@@ -61,7 +61,7 @@ describe('react-performance-track', () => {
expect(track).toEqual( expect(track).toEqual(
expect.arrayContaining([ expect.arrayContaining([
{ {
name: '\u200bparams [Prefetch]', name: '\u200bparams [Prefetchable]',
properties: [], properties: [],
}, },
]) ])
...@@ -80,7 +80,7 @@ describe('react-performance-track', () => { ...@@ -80,7 +80,7 @@ describe('react-performance-track', () => {
expect(track).toEqual( expect(track).toEqual(
expect.arrayContaining([ expect.arrayContaining([
{ {
name: '\u200bsearchParams [Prefetch]', name: '\u200bsearchParams [Prefetchable]',
properties: [], properties: [],
}, },
]) ])
...@@ -97,7 +97,7 @@ describe('react-performance-track', () => { ...@@ -97,7 +97,7 @@ describe('react-performance-track', () => {
expect(track).toEqual( expect(track).toEqual(
expect.arrayContaining([ expect.arrayContaining([
{ {
name: '\u200bcookies [Prefetch]', name: '\u200bcookies [Prefetchable]',
properties: [], properties: [],
}, },
// TODO: The error message makes this seem like it shouldn't pop up here. // TODO: The error message makes this seem like it shouldn't pop up here.
...@@ -123,7 +123,7 @@ describe('react-performance-track', () => { ...@@ -123,7 +123,7 @@ describe('react-performance-track', () => {
}) })
const track = await browser.eval('window.reactServerRequests.getSnapshot()') const track = await browser.eval('window.reactServerRequests.getSnapshot()')
// TODO: Should include "draftMode [Prefetch]". // TODO: Should include "draftMode [Prefetchable]".
expect(track).toEqual([ expect(track).toEqual([
{ {
name: '\u200b', name: '\u200b',
...@@ -142,7 +142,7 @@ describe('react-performance-track', () => { ...@@ -142,7 +142,7 @@ describe('react-performance-track', () => {
expect(track).toEqual( expect(track).toEqual(
expect.arrayContaining([ expect.arrayContaining([
{ {
name: '\u200bheaders [Prefetch]', name: '\u200bheaders [Prefetchable]',
properties: [], properties: [],
}, },
// TODO: The error message makes this seem like it shouldn't pop up here. // 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