Skip to content

Commit

Permalink
test: fix video channel tests (#18807)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelfeldman committed Nov 15, 2022
1 parent dbf3fc5 commit 98513c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/library/channels.spec.ts
Expand Up @@ -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');
Expand All @@ -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: [
Expand Down

0 comments on commit 98513c3

Please sign in to comment.