Removed test reference to wall time

This commit is contained in:
Adam Gastineau 2024-12-19 12:41:25 -08:00
parent 50c6ea3aaf
commit bd55d5d8ff

View file

@ -240,7 +240,6 @@ test('should show params and return value', async ({ showTraceViewer }) => {
await traceViewer.selectAction('page.evaluate');
await expect(traceViewer.callLines).toHaveText([
/page.evaluate/,
/wall time:[0-9/:,APM ]+/,
/start:[\d\.]+m?s/,
/duration:[\d]+ms/,
/expression:"\({↵ a↵ }\) => {↵ console\.log\(\'Info\'\);↵ console\.warn\(\'Warning\'\);↵ console/,
@ -252,7 +251,6 @@ test('should show params and return value', async ({ showTraceViewer }) => {
await traceViewer.selectAction(`locator('button')`);
await expect(traceViewer.callLines).toContainText([
/expect.toHaveText/,
/wall time:[0-9/:,APM ]+/,
/start:[\d\.]+m?s/,
/duration:[\d]+ms/,
/locator:locator\('button'\)/,
@ -268,7 +266,6 @@ test('should show null as a param', async ({ showTraceViewer, browserName }) =>
await traceViewer.selectAction('page.evaluate', 1);
await expect(traceViewer.callLines).toHaveText([
/page.evaluate/,
/wall time:[0-9/:,APM ]+/,
/start:[\d\.]+m?s/,
/duration:[\d]+ms/,
'expression:"() => 1 + 1"',