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: fix video channel tests (#18807)
Pavel Feldman98513c37374a
diff --git a/tests/library/channels.spec.ts b/tests/library/channels.spec.tsindex 2a4132b214..7162d47275 100644--- a/tests/library/channels.spec.ts+++ b/tests/library/channels.spec.ts@@ -183,7 +183,7 @@ it('should scope browser handles', async ({ browserType, expectScopeState }) =>expectScopeState(browserType, GOLDEN_PRECONDITION);});-it('should not generate dispatchers for subresources w/o listeners', async ({ page, server, browserType, expectScopeState }) => {+it('should not generate dispatchers for subresources w/o listeners', async ({ page, server, browserType, expectScopeState, video }) => {server.setRedirect('/one-style.css', '/two-style.css');server.setRedirect('/two-style.css', '/three-style.css');server.setRedirect('/three-style.css', '/four-style.css');@@ -200,6 +200,7 @@ it('should not generate dispatchers for subresources w/o listeners', async ({ pa{ _guid: 'browser-type', objects: [{_guid: 'browser', objects: [+ ...(video === 'on' ? [{ _guid: 'artifact', objects: [] }] : []),{ _guid: 'browser-context', objects: [{_guid: 'page', objects: [