Closed
Bug 1606834
Opened 5 years ago
Closed 5 years ago
Document fit/fdescribe for Puppeteer tests
Categories
(Remote Protocol :: Agent, task, P1)
Remote Protocol
Agent
Tracking
(firefox74 fixed)
RESOLVED
FIXED
Firefox 74
| Tracking | Status | |
|---|---|---|
| firefox74 | --- | fixed |
People
(Reporter: ato, Assigned: ato)
Details
(Whiteboard: [puppeteer-beta-mvp])
Attachments
(1 file)
I learned today that it() functions can be replaced with fit(), and describe() with fdescribe() to select which tests to run. This is missing from our Puppeteer test documentation.
| Assignee | ||
Updated•5 years ago
|
Priority: -- → P3
Whiteboard: [puppeteer-beta-reserve]
| Assignee | ||
Comment 1•5 years ago
|
||
More documentation on mocha:
https://mochajs.org/index.html
| Assignee | ||
Updated•5 years ago
|
Assignee: nobody → ato
Status: NEW → ASSIGNED
Priority: P3 → P1
| Assignee | ||
Comment 2•5 years ago
|
||
We were lacking documentation on how to run inidividual Puppeteer
tests. It turns out this is not possible yet to do on a per-file
basis, like other test harnesses.
Instead, suggest use of fdescribe()/fit() and recommend some useful
Mocha flags.
Updated•5 years ago
|
Whiteboard: [puppeteer-beta-reserve] → [puppeteer-beta-mvp]
Pushed by atolfsen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6c6336d7656d
remote: document fdescribe(), fit(), and Mocha flags r=remote-protocol-reviewers,whimboo
Comment 4•5 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox74:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 74
You need to log in
before you can comment on or make changes to this bug.
Description
•