Jack Franklin
e839c0cf22
Enable long import wrapping for JS imports
...
DISABLE_THIRD_PARTY_CHECK=big clang format run against all files in
front_end and test/
Bug: 1319340
Change-Id: I1fff63cb07544ccd0e3059fc901f9a48ff4af13b
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3598879
Reviewed-by: Alex Rudenko <alexrudenko@chromium.org >
Commit-Queue: Jack Franklin <jacktfranklin@chromium.org >
Reviewed-by: Wolfgang Beyer <wolfi@chromium.org >
2022-05-03 10:22:12 +00:00
Victor Porof
d250d0e8c9
Re-enable webaudio_test.ts
...
I suspect this is the same issue as with the autocompletion tests.
Bug: 1086519
Change-Id: If1a4d9cc4872bb3603f3fc12f9bdd1e3eb2b3219
Signed-off-by: Victor Porof <victorporof@chromium.org >
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3598875
Reviewed-by: Benedikt Meurer <bmeurer@chromium.org >
2022-04-21 11:56:10 +00:00
Peter Marshall
467b0b1632
tests: Use mocha-extensions in e2e tests
...
The extensions have helpers like it.repeat() and async tracing which
make development and debugging easier. All the tests will import from
the extensions file now rather than mocha directly.
A follow-up CL will add lint checks for this.
Bug: 1101782
Change-Id: I7b1a540be1685375b06f1db5d0fda2f2879446c2
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2354104
Commit-Queue: Peter Marshall <petermarshall@chromium.org >
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org >
Reviewed-by: Paul Lewis <aerotwist@chromium.org >
2020-08-17 07:37:56 +00:00
Patrick Brosset
0805f4a033
Shared goToResource e2e helper to simplify tests
...
This introduces a new goToResource shared helper for all e2e puppeteer
tests to use.
It helps simplify a bunch of tests and other helpers in that they don't
need to replicate the `${resourcesPath}/some/file.html` part.
Because this helper also knows how to get hold of the target on its own
it also further simplifies other tests that don't need to import it
anymore.
The next step would be to create a shared helper that knows how to
navigate to panels inside the DevTools front-end as this is also
duplicated across tests.
Bug: 1091226
Change-Id: I717455a51dec30e153d796ef101eab3d42bc2da1
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2230320
Commit-Queue: Patrick Brosset <patrick.brosset@microsoft.com >
Reviewed-by: Jan Scheffler <janscheffler@chromium.org >
Reviewed-by: Jose Leal <joselea@microsoft.com >
2020-06-11 09:52:45 +00:00
Tim van der Lippe
d76dbd1fe3
Add node_ts_library for Node scripts
...
ts_library by default uses ES modules. However, Node doesn't fully
support ES modules yet, nor do our dependencies for our e2e-tests
support them fully. Therefore, transpile to commonjs for now, if
running in Node.
DISABLE_THIRD_PARTY_CHECK=Fixes to ts_library
R=aerotwist@chromium.org ,jacktfranklin@chromium.org
Bug: 1088463
Change-Id: Ie6acf886417b80eb38365f9c2377799e370634fe
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2224805
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org >
Reviewed-by: Paul Lewis <aerotwist@chromium.org >
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org >
2020-06-02 10:24:00 +00:00
Tim van der Lippe
df1b56ad02
Disable webaudio test
...
It flaked on CQ: https://logs.chromium.org/logs/devtools-frontend/buildbucket/cr-buildbucket.appspot.com/8879225875861763360/+/steps/E2E_tests/0/stdout
R=joselea@microsoft.com
Bug: 1086519
Change-Id: Ib5d76a9a90ff860f1f9d9ee903d56f69a2e100b4
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2215853
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org >
Commit-Queue: Brandon Goddard <brgoddar@microsoft.com >
Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org >
Reviewed-by: Brandon Goddard <brgoddar@microsoft.com >
2020-05-26 16:52:16 +00:00
Jose Leal Chapa
29dd8efdf4
Add e2e tests for WebAudio
...
Bug: 1079076
Change-Id: I42e76ea87b4aa60cbfb170375ce0c604a57794b5
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2200003
Commit-Queue: Jose Leal <joselea@microsoft.com >
Reviewed-by: Brandon Goddard <brgoddar@microsoft.com >
Reviewed-by: Vidal Diazleal <vidorteg@microsoft.com >
Reviewed-by: Brian Cui <brcui@microsoft.com >
Reviewed-by: Jack Lynch <jalyn@microsoft.com >
2020-05-23 10:56:26 +00:00