Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Add WTR Runner#3138

Merged
jasonLaster merged 1 commit into
firefox-devtools:masterfrom
jasonLaster:wtr-runner
Jun 14, 2017
Merged

Add WTR Runner#3138
jasonLaster merged 1 commit into
firefox-devtools:masterfrom
jasonLaster:wtr-runner

Conversation

@jasonLaster

Copy link
Copy Markdown
Contributor

Associated Issue: #2634

Summary of Changes

This re-introduces the work done here: #2852 to have a wtr headless runner. The test runs fail, but it's still good to have in the codebase so that we can get the tests passing and then run it in CI.

NOTE: you need to start chrome headlessly to run the tests
canary --headless --remote-debugging-port=9222 https://chromium.org

@codecov

codecov Bot commented Jun 8, 2017

Copy link
Copy Markdown

Codecov Report

Merging #3138 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3138   +/-   ##
=======================================
  Coverage   47.59%   47.59%           
=======================================
  Files          97       97           
  Lines        4036     4036           
  Branches      828      828           
=======================================
  Hits         1921     1921           
  Misses       2115     2115

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 40df77e...ce389db. Read the comment docs.

@codehag codehag left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good save for one console log that was confusing.

Comment thread bin/wtr-runner.js
Runtime.enable();
Runtime.consoleAPICalled(({ type, args }) => {
const argVals = args.map(arg => arg.value).join(", ");
console.log(argVals);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need this console log? If so should it have a descriptive text?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's nice to have it for now. It's easy to take out and tweak later

@jasonLaster jasonLaster merged commit 4192b0c into firefox-devtools:master Jun 14, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants