Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

output stdout #1149

Closed
wants to merge 9 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
- shell: 'script -q -e -c "bash {0}"'
run: npx browser-driver-manager install chrome
working-directory: packages/cli
- run: npm run coverage --workspace=packages/cli
- run: DEBUG_CLI_TESTS=true npm run coverage --workspace=packages/cli

webdriverjs:
strategy:
Expand Down
4 changes: 3 additions & 1 deletion packages/cli/src/bin/cli.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,10 @@ describe('cli', () => {
const result = await runCLI(
`file://${SIMPLE_HTML_FILE}`,
'--include',
'marquee'
'marquee',
'--headless'
);
console.log(result);
assert.notInclude(result.stdout, 'Violation of "region"');
assert.include(
result.stdout,
Expand Down
2 changes: 1 addition & 1 deletion packages/webdriverjs/test/test-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const Webdriver = (): WebDriver => {
// Weird type change since 4.23.1 release
// @see https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/69724
const options = new chrome.Options();
options.addArguments('headless');
// options.addArguments('headless');
options.setBinaryPath(process.env.CHROME_TEST_PATH as string);

const builder = new Builder()
Expand Down
Loading