Commit graph

100 commits

Author SHA1 Message Date
Henrik Skupin
ad72058ded Bug 1877629 - [remote] Fix "mach puppeteer-test" for product "chrome". r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D203885
2024-03-08 14:23:19 +00:00
Henrik Skupin
9e63e4d637 Bug 1877214 - [remote] Fix lint failure in mach_commands.py r=webdriver-reviewers,Sasha
Differential Revision: https://phabricator.services.mozilla.com/D200137
2024-01-31 08:46:34 +00:00
Henrik Skupin
466956dec5 Bug 1877214 - [remote] Run tests with WebDriver BiDi in headful mode by default. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D200012
2024-01-31 08:24:26 +00:00
Henrik Skupin
ffcfc01dfa Bug 1877214 - [remote] Pass system environment variables to puppeteer test runner. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D200009
2024-01-31 08:24:24 +00:00
Julian Descottes
5d0579eca6 Bug 1872252 - [remote] Make mach puppeteer-test to use WebDriver BiDi by default r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D199620
2024-01-29 10:45:49 +00:00
Henrik Skupin
afe8da2f21 Bug 1865678 - [puppeteer] Always fail Puppeteer job when something is broken. r=webdriver-reviewers,Sasha
Differential Revision: https://phabricator.services.mozilla.com/D194569
2023-11-24 21:03:27 +00:00
Henrik Skupin
1d0ac5ad2a Bug 1862701 - [remote] Update mach command for Puppeteer. r=webdriver-reviewers,Sasha
Differential Revision: https://phabricator.services.mozilla.com/D194194
2023-11-21 22:29:50 +00:00
Geoff Brown
66f86ffbdd Bug 1860170 - Use mozprocess.run_and_wait in puppeteer r=hneiva,webdriver-reviewers,Sasha
Migrate away from mozprocess ProcessHandler, which is poorly supported.

Differential Revision: https://phabricator.services.mozilla.com/D191491
2023-10-30 16:43:16 +00:00
Julien Cristau
93630da8b8 Bug 1851988 - fix some python string escape sequences r=webdriver-reviewers,perftest-reviewers,whimboo,afinder,releng-reviewers,firefox-build-system-reviewers,ahal,sergesanspaille
Use r-strings or escape backslashes to avoid a deprecation warning.

Differential Revision: https://phabricator.services.mozilla.com/D187655
2023-10-04 09:49:09 +00:00
Logan Rosen
f024d94b2b Bug 1786490 - reformat the tree using black 23.3.0 r=sylvestre,webdriver-reviewers,taskgraph-reviewers,whimboo,jmaher,ahal,perftest-reviewers,geckoview-reviewers,afinder,m_kato
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D186092
2023-09-06 16:14:30 +00:00
Alexandra Borovova
3d6db0dae7 Bug 1824908 - [puppeteer] Sync vendored puppeteer to v20.1.0. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D177247
2023-05-09 12:51:05 +00:00
Henrik Skupin
13840898bb Bug 1817934 - [puppeteer] Update Puppeteer vendoring documentation. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D170798
2023-02-25 10:14:25 +00:00
Alexandra Borovova
9d1c945ad9 Bug 1811232 - [puppeteer] Add CI job to run Puppeteer with BiDi protocol. r=webdriver-reviewers,jgraham,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D167789
2023-01-27 16:50:46 +00:00
Alexandra Borovova
7e919228b0 Bug 1797744 - [puppeteer] Sync vendored puppeteer to v19.6.0. r=webdriver-reviewers,jdescottes,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D167407
2023-01-27 16:50:45 +00:00
CanadaHonk
7d0f445be8 Bug 1811494 - Fix running Puppeteer tests on Windows erroring out r=webdriver-reviewers,Sasha,jdescottes
Fixed regression which caused a Python error preventing Puppeteer tests
on Windows being ran.

Differential Revision: https://phabricator.services.mozilla.com/D167386
2023-01-20 15:48:55 +00:00
Alexandra Borovova
d115e24d80 Bug 1797723 - [puppeteer] Sync vendored puppeteer to v18.0.0. r=webdriver-reviewers,whimboo,jdescottes
Depends on D166650

Differential Revision: https://phabricator.services.mozilla.com/D166651
2023-01-17 10:42:50 +00:00
Alexandra Borovova
b306cf161f Bug 1806681 - [puppeteer] Make "mach puppeteer-test" clean up before setting up puppeteer. r=webdriver-reviewers,jdescottes,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D166650
2023-01-17 10:42:49 +00:00
Marco Castelluccio
f69e697461 Bug 1801836 - Remove no longer necessary 'from __future__' imports. r=linter-reviewers,glandium,webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jld,ahal,owlish,afinder DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D165395
2022-12-23 22:45:46 +00:00
Marco Castelluccio
1267ec48f8 Bug 1790816 - Reformat remote/ with isort. r=webdriver-reviewers,whimboo DONTBUILD
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D162648
2022-11-22 10:59:05 +00:00
Alexandra Borovova
428f90d6b8 Bug 1791532 - [puppeteer] Sync puppeteer v17.1.2 r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D160331
2022-10-27 07:22:47 +00:00
Alexandra Borovova
3b13e92b62 Bug 1756680 - [puppeteer] Sync puppeteer v16.1.1 r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D154912
2022-08-23 09:07:42 +00:00
Henrik Skupin
ee5c6046af Bug 1757701 - [puppeteer] Disable Husky when installing Puppeteer via npm. r=webdriver-reviewers,jdescottes
Depends on D145857

Differential Revision: https://phabricator.services.mozilla.com/D145858
2022-05-17 21:52:11 +00:00
Joel Maher
ab1727d3e3 Bug 1762991 - switch to --disable-fission and fission by default. r=gbrown,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D144985
2022-05-10 17:41:03 +00:00
Butkovits Atila
8a2fe790ec Backed out changeset 1ce55e10b927 (bug 1762991) for causing jit failures. CLOSED TREE 2022-05-10 09:41:32 +03:00
Joel Maher
f33bac2082 Bug 1762991 - switch to --disable-fission and fission by default. r=gbrown,webdriver-reviewers,whimboo
updated patch for android_hardware_unittests.py, asking for a review- please look at the interdiff to see recent changes.

Differential Revision: https://phabricator.services.mozilla.com/D144985
2022-05-10 00:41:01 +00:00
Cristian Tuns
9462119251 Backed out changeset 60dcc095f627 (bug 1762991) for causing multiple failures (exit status 2). CLOSED TREE 2022-05-06 14:34:10 -04:00
Joel Maher
8e2741c219 Bug 1762991 - switch to --disable-fission and fission by default. r=gbrown,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D144985
2022-05-06 15:01:22 +00:00
Gijs Kruitbosch
a19c8c37f2 Bug 1759248 - don't mess up paths for npm/node on Windows when running puppeteer tests, r=whimboo,jgraham,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D140901
2022-03-28 12:03:25 +00:00
Mitchell Hentges
f04ccd7a53 Bug 1759256: Update all PATH-munging to use os.pathsep r=webdriver-reviewers,ahochheiden,jgraham
Windows uses `;` as the path separator, Unix-based systems use `:`.
`os.pathsep` conveniently represents the current system's separator.

All OS-specific path separators have been replaced with `os.pathsep`
except for some explicitly Windows-specific mozharness configs.

Differential Revision: https://phabricator.services.mozilla.com/D140981
2022-03-14 18:41:49 +00:00
Henrik Skupin
0daff79242 Bug 1757523 - [puppeteer] Add "--no-install" argument to "mach puppeteer-test". r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D139921
2022-03-01 15:44:08 +00:00
Andrew Halberstadt
14a5425d27 Bug 1736859 - Explicitly disable fission if '--enable-fission' is not set in |mach puppeteer-test|, r=jgraham,webdriver-reviewers
This ensures that when the default value of 'fission.autostart' changes, we
don't accidentally start running with fission enabled even without
'--enable-fission'.

As a follow-up, we should switch the flag to '--disable-fission' once the pref
has flipped.

Differential Revision: https://phabricator.services.mozilla.com/D129820
2021-10-28 14:52:29 +00:00
Henrik Skupin
6553b9b08f Bug 1601245 - [remote] Enable Puppeteer and CDP browser-chrome mochitests for Fission. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D127524
2021-10-06 04:30:27 +00:00
Alex Lopez
63022efc7a Bug 1696251: Allow mach commands as stand-alone functions and adapt existing commands. r=mhentges,webdriver-reviewers,perftest-reviewers,sparky,whimboo
This removes the `@CommandProvider` decorator and the need to implement
mach commands inside subclasses of `MachCommandBase`, and moves all
existing commands out from classes to module level functions.

Differential Revision: https://phabricator.services.mozilla.com/D121512
2021-09-27 18:12:51 +00:00
Butkovits Atila
eb735ac57e Backed out changeset 53b1fa0faa6d (bug 1696251) for breaking the static-analysis integration. a=backout 2021-09-23 13:06:40 +03:00
Alex Lopez
a8e7083c84 Bug 1696251: Allow mach commands as stand-alone functions and adapt existing commands. r=mhentges,webdriver-reviewers,perftest-reviewers,sparky,whimboo
This removes the `@CommandProvider` decorator and the need to implement
mach commands inside subclasses of `MachCommandBase`, and moves all
existing commands out from classes to module level functions.

Differential Revision: https://phabricator.services.mozilla.com/D121512
2021-09-21 20:38:16 +00:00
Butkovits Atila
c06a3dd9fa Backed out changeset 510dd46a9de7 (bug 1696251) for causing Android build bustages. 2021-09-21 05:16:50 +03:00
Alex Lopez
fe61e94ec8 Bug 1696251: Allow mach commands as stand-alone functions and adapt existing commands. r=mhentges,webdriver-reviewers,perftest-reviewers,sparky,whimboo
This removes the `@CommandProvider` decorator and the need to implement
mach commands inside subclasses of `MachCommandBase`, and moves all
existing commands out from classes to module level functions.

Differential Revision: https://phabricator.services.mozilla.com/D121512
2021-09-20 20:21:07 +00:00
Noemi Erli
91aa2e2b9c Backed out changeset 5f5b612878f3 (bug 1696251) for causing multiple bustages 2021-09-18 02:22:39 +03:00
Alex Lopez
bf860fe7dc Bug 1696251: Allow mach commands as stand-alone functions and adapt existing commands. r=mhentges,webdriver-reviewers,perftest-reviewers,sparky,whimboo
This removes the `@CommandProvider` decorator and the need to implement
mach commands inside subclasses of `MachCommandBase`, and moves all
existing commands out from classes to module level functions.

Differential Revision: https://phabricator.services.mozilla.com/D121512
2021-09-17 19:00:39 +00:00
Alex Lopez
77ce415604 Bug 1696251 - Replace self with command_context where possible in existing mach commands. r=mhentges,webdriver-reviewers,perftest-reviewers,whimboo
This step removes all the dependencies of mach commands to
having a MachCommandBase as the `self` by using the `command_context`
argument instead. This also removes any remaining statefulness from those
classes that implement mach commands, ultimately making it easier to move
existing commands out of classes in a follow-up.

Differential Revision: https://phabricator.services.mozilla.com/D118058
2021-07-19 16:04:25 +00:00
Butkovits Atila
a07f790e42 Backed out changeset e1921c5112d8 (bug 1696251) for causing bustages complaining about 'CommandContext'. CLOSED TREE 2021-07-16 20:35:55 +03:00
Alex Lopez
190e03aaab Bug 1696251 - Replace self with command_context where possible in existing mach commands. r=mhentges,webdriver-reviewers,perftest-reviewers,whimboo
This step removes all the dependencies of mach commands to
having a MachCommandBase as the `self` by using the `command_context`
argument instead. This also removes any remaining statefulness from those
classes that implement mach commands, ultimately making it easier to move
existing commands out of classes in a follow-up.

Differential Revision: https://phabricator.services.mozilla.com/D118058
2021-07-16 15:51:29 +00:00
Yaron Tausky
768366d7b8 Bug 1496997 - Remove dom.serviceWorkers.parent_intercept pref r=asuth,dom-workers-and-storage-reviewers,perftest-reviewers,jgraham,sparky,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D101788
2021-06-15 08:52:39 +00:00
Alex Lopez
1ee8086c02 Bug 1696251 - Refactor constructors in MachCommandBase subclasses to remove them. r=mhentges,remote-protocol-reviewers
Another step towards avoiding the need for classes in mach commands;
here we are removing constructors either by changing them into helpers
or by simple refactorings.

Differential Revision: https://phabricator.services.mozilla.com/D112434
2021-05-28 18:30:03 +00:00
Butkovits Atila
6bb47ac424 Backed out changeset 4b889750da57 (bug 1696251) for causing lint failures. CLOSED TREE 2021-05-28 01:43:11 +03:00
Alex Lopez
2e8613720d Bug 1696251 - Refactor constructors in MachCommandBase subclasses to remove them. r=mhentges,remote-protocol-reviewers
Another step towards avoiding the need for classes in mach commands;
here we are removing constructors either by changing them into helpers
or by simple refactorings.

Differential Revision: https://phabricator.services.mozilla.com/D112434
2021-05-27 21:03:46 +00:00
Alex Lopez
455d9a088b Bug 1696251 - Pass MachCommandBase object as first argument for Mach Commands. r=mhentges,remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers
As an intermediate step to allow mach commands as standalone functions, the MachCommandBase
subclass instance that currently corresponds to self has to be made available as a separate
argument (named command_context).

Differential Revision: https://phabricator.services.mozilla.com/D109650
2021-05-17 16:15:58 +00:00
Butkovits Atila
2e34e363b9 Backed out 2 changesets (bug 1696251) for causing js-bench-sm failures. CLOSED TREE
Backed out changeset 1c84c9a34575 (bug 1696251)
Backed out changeset e169193b7423 (bug 1696251)
2021-04-23 02:53:36 +03:00
Alex Lopez
d1a82b8092 Bug 1696251 - Pass MachCommandBase object as first argument for Mach Commands. r=mhentges,remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers
As an intermediate step to allow mach commands as standalone functions, the MachCommandBase
subclass instance that currently corresponds to self has to be made available as a separate
argument (named command_context).

Differential Revision: https://phabricator.services.mozilla.com/D109650
2021-04-22 18:56:15 +00:00
Cosmin Sabou
785f9b8a87 Backed out changeset d4a5d8567977 (bug 1696251) for non-unified build bustages. CLOSED TREE 2021-04-19 19:43:31 +03:00