bug 1540655: remote: document how to run Puppeteer tests; r=remote-protocol-reviewers,jdescottes

Differential Revision: https://phabricator.services.mozilla.com/D39659

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Andreas Tolfsen 2019-08-16 12:58:32 +00:00
Родитель a7e5e01481
Коммит eb6edbf0df
1 изменённых файлов: 23 добавлений и 2 удалений

Просмотреть файл

@ -23,8 +23,8 @@ on Treeherder.
[xpcshell]: https://developer.mozilla.org/en-US/docs/Mozilla/QA/Writing_xpcshell-based_unit_tests
Functional tests
----------------
Browser chrome tests
--------------------
We also have a set of functional [browser chrome] tests located
under _remote/test/browser_:
@ -47,3 +47,24 @@ display.
[browser chrome]: https://developer.mozilla.org/en-US/docs/Mozilla/Browser_chrome_tests
[headless mode]: https://developer.mozilla.org/en-US/Firefox/Headless_mode
Puppeteer tests
---------------
In addition to our own Firefox-specific tests, we run the upstream
[Puppeteer test suite] against our implementation to track progress
towards achieving full [Puppeteer support] in Firefox.
These tests are vendored under _remote/test/puppeteer/_ and are
run locally like this:
% ./mach test remote/test/puppeteer/test
On try they appear under the `remote(pup)` symbol, but because theyre
a Tier-3 class test job theyre not automatically scheduled.
To schedule the tests, look for `source-test-remote-puppeteer` in
`./mach try fuzzy`.
[Puppeteer test suite]: https://github.com/GoogleChrome/puppeteer/tree/master/test
[Puppeteer support]: https://bugzilla.mozilla.org/show_bug.cgi?id=puppeteer