Commit Graph
5 Commits
Author SHA1 Message Date
Maks Orlovich 5ebe27d191 Custom UA-CH emulation: initial integration test
Fow now, this just covers adding a new emulation device, including
user agent client hints, and that this actually works.

Bug: 1073909
Change-Id: I18c358277565531aeed6c1195ce318dbc793d46a
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2610068
Commit-Queue: Maksim Orlovich <morlovich@chromium.org>
Reviewed-by: Mathias Bynens <mathias@chromium.org>
Reviewed-by: Simon Zünd <szuend@chromium.org>
2021-01-11 17:34:17 +00:00
Tim van der Lippe ea5df6afa1 Move copy_to_gen into build/ninja
Also rename it to `copy.gni`, since I will be adding a separate
`copy_to_resources` template that copies the content to
`resources/inspector/`.

R=aerotwist@chromium.org,jacktfranklin@chromium.org

Bug: 1098730
Change-Id: If4266a9f701ac591614125442b4986d4fe38aafe
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2278476
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
2020-07-06 15:59:51 +00:00
Songtao Xia 67f65da531 [e2e] Tests for dual screen emulation.
Test the experimental feature of dual screen emulation.

Test the dual screen span mode exists for a dual screen device but
not for a non-dual-screen device.

Change-Id: I72b0cb4e77bb58305f112b32fd7b040436ec42c9
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2225335
Commit-Queue: Songtao Xia <soxia@microsoft.com>
Reviewed-by: John Emau <John.Emau@microsoft.com>
Reviewed-by: Jose Leal <joselea@microsoft.com>
2020-06-11 18:13:05 +00:00
Tim van der Lippe bc913faa45 Copy all e2e-resources to gen/
R=aerotwist@chromium.org,jacktfranklin@chromium.org

Bug: 1088463
Change-Id: I7f9f43879a36d760afbec05d5b9110730f2b46ee
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2224808
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
2020-06-02 10:45:30 +00:00
Changhao Han b7228caa92 e2e test for media query inspector; add canDock option in ReloadDevTools
Add e2e test for Device Toolbar's media query inspector, as a follow-up
to an earlier issue that media query inspector did not show media query
rules from style tag attributes.
When adding this e2e test for Device Toolbar, it's required that the
e2e test driver can reload DevTools frontend page with "can_dock=true"
parameter in its URL. This CL also adds "canDock" as an option when
reloading DevTools frontend in e2e testing.

Bug: chromium:1069467, chromium:1086159
Change-Id: Ic8685fc231fa7b01554e05a1121b3c2394fb7131
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2215857
Commit-Queue: Changhao Han <changhaohan@chromium.org>
Auto-Submit: Changhao Han <changhaohan@chromium.org>
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Mathias Bynens <mathias@chromium.org>
2020-05-27 12:25:00 +00:00