Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
test: update electron Tracing expectations (#36076)
Max Schmitt926c02735e19
diff --git a/tests/electron/electron-tracing.spec.ts b/tests/electron/electron-tracing.spec.tsindex 91ebab78c9..ffb650645a 100644--- a/tests/electron/electron-tracing.spec.ts+++ b/tests/electron/electron-tracing.spec.ts@@ -28,9 +28,9 @@ test('should record trace', async ({ newWindow, server, runAndTrace }) => {expect(await window.evaluate('result')).toBe('Clicked');});await expect(traceViewer.actionTitles).toHaveText([- /page.goto/,- /page.click/,- /page.evaluate/,+ /Navigate/,+ /Click/,+ /Evaluate/,]);});@@ -42,7 +42,7 @@ test('should support custom protocol', async ({ electronApp, newWindow, server,const traceViewer = await runAndTrace(async () => {await window.click('button');});- const frame = await traceViewer.snapshotFrame('page.click');+ const frame = await traceViewer.snapshotFrame('Click');await expect(frame.locator('button')).toHaveCSS('color', 'rgb(255, 0, 0)');await expect(frame.locator('button')).toHaveCSS('font-weight', '700');});