Skip to content

Commit

Permalink
Use fullscreen arg
Browse files Browse the repository at this point in the history
  • Loading branch information
andyrichardson committed Mar 16, 2020
1 parent 6dc46c8 commit 33f866d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/panel/visual-regression.test.ts
Expand Up @@ -10,12 +10,13 @@ beforeAll(async () => {
try {
browser = await puppeteer.launch({ args: ["--no-sandbox"] });
fixtures = (
await getFixtureUrls({ cosmosConfig: detectCosmosConfig() })
await getFixtureUrls({
cosmosConfig: detectCosmosConfig(),
fullScreen: true
})
).map(url => ({
id: url.replace(/.*?fixtureId\=/, ""),
url: `http://${url
.replace("?fixtureId", "_renderer.html?_fixtureId")
.replace("localhost", "cosmos")}`
url: `http://${url.replace("localhost", "cosmos")}`
}));
} catch (err) {
console.error(err);
Expand Down

0 comments on commit 33f866d

Please sign in to comment.