Skip to content

Commit

Permalink
Merge pull request #8 from wix-incubator/protractor
Browse files Browse the repository at this point in the history
enable puppeteer tests and let them pass
  • Loading branch information
borisd9 authored Sep 25, 2018
2 parents 02baa87 + 6dca9af commit f315f80
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/lib/puppeteer/spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,9 @@ let browser: Browser;

const before = async () => {
const args = process.env.CI ? ['--no-sandbox'] : [];
const headless = process.env.CI ? true : false;
server = await startServer(port);
browser = await puppeteer.launch({
headless: false,
args
});
browser = await puppeteer.launch({headless,args});
};

const after = async () => {
Expand All @@ -39,7 +37,7 @@ const setup: TodoAppSetupFn = async (data) => {
}


describe.skip('puppeteer', () => {
describe('puppeteer', () => {
runTestSuite({setup, before, after});
});

Expand Down

0 comments on commit f315f80

Please sign in to comment.