Skip to content

Commit

Permalink
tests(fr): update test artifact (#12202)
Browse files Browse the repository at this point in the history
  • Loading branch information
brendankenny authored and paulirish committed Mar 23, 2021
1 parent 8668890 commit e044b62
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,16 +133,18 @@ describe('NavigationRunner', () => {
{
...config,
navigations: [
{id: 'default', artifacts: ['Accessibility']},
{id: 'default', artifacts: ['FontSize']},
{id: 'second', artifacts: ['ConsoleMessages']},
],
},
{gatherMode: 'navigation'}
).config;

// Both gatherers will error in these test conditions, but artifact errors
// will be merged into single `artifacts` object.
const {artifacts} = await runner._navigations({driver, config, requestedUrl});
const artifactIds = Object.keys(artifacts);
expect(artifactIds).toContain('Accessibility');
expect(artifactIds).toContain('FontSize');
expect(artifactIds).toContain('ConsoleMessages');
});
});
Expand Down

0 comments on commit e044b62

Please sign in to comment.