Skip to content

Commit

Permalink
fix(repo): temporary disable supportUi
Browse files Browse the repository at this point in the history
  • Loading branch information
vsavkin committed Feb 26, 2020
1 parent 7828b67 commit 618ebff
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 5 additions & 2 deletions e2e/next.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {
readFile,
runCLI,
runCLIAsync,
supportUi,
uniq,
updateFile
} from './utils';
Expand Down Expand Up @@ -216,8 +217,10 @@ async function checkApp(appName: string, opts: { checkLint: boolean }) {
const testResults = await runCLIAsync(`test ${appName}`);
expect(testResults.stderr).toContain('Test Suites: 1 passed, 1 total');

const e2eResults = runCLI(`e2e ${appName}-e2e --headless`);
expect(e2eResults).toContain('All specs passed!');
if (supportUi()) {
const e2eResults = runCLI(`e2e ${appName}-e2e --headless`);
expect(e2eResults).toContain('All specs passed!');
}

const buildResult = runCLI(`build ${appName}`);
expect(buildResult).toContain(`Compiled successfully`);
Expand Down
3 changes: 2 additions & 1 deletion e2e/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,8 @@ export function ensureProject(): void {
}

export function supportUi() {
return !process.env.NO_CHROME;
return false;
// return !process.env.NO_CHROME;
}

export function copyMissingPackages(): void {
Expand Down

0 comments on commit 618ebff

Please sign in to comment.