rsnext/test/e2e/pages-performance-mark
Jiachi Liu 28ef2473af
Fix performance measures crashing the app (#54858)
There're various of cases would cause the `beforeRender` performance mark is not existed in the performance entries, learned from the issues description. We have to check if that mark is existed.

This PR also refactors all the mark names and measurement names into constants so that we won't easily mistype them


Fixes #20743
Fixes #40903
Fixes #47560

Co-authored-by: Balázs Orbán <18369201+balazsorban44@users.noreply.github.com>
2023-09-01 14:51:38 +00:00
..
pages Fix performance measures crashing the app (#54858) 2023-09-01 14:51:38 +00:00
index.test.ts Fix performance measures crashing the app (#54858) 2023-09-01 14:51:38 +00:00
next.config.js Fix performance measures crashing the app (#54858) 2023-09-01 14:51:38 +00:00