Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(439)

Issue 2428773005: bluetooth: Basic browser tests for chrome://bluetooth-internals. (Closed)

Created:
4 years, 2 months ago by mbrunson
Modified:
4 years, 1 month ago
Reviewers:
scheib, ortuno, dpapad
CC:
arv+watch_chromium.org, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

bluetooth: Basic browser tests for chrome://bluetooth-internals. UI tests of device management chrome://bluetooth-internals page including device creation, device changes, and device removal. BUG=651282 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/4a392852b8e9c6856f99fbcfcd8515246eca7cbb Cr-Commit-Position: refs/heads/master@{#433365}

Patch Set 1 #

Patch Set 2 : Fix type errors, merge upstream #

Patch Set 3 : Add refreshDeviceList to deviceChanged #

Patch Set 4 : Fix missing dependencies, enforce execution order of setup and test, add comments and helper functi… #

Patch Set 5 : Clean up #

Total comments: 15

Patch Set 6 : Fix tests #

Total comments: 16

Patch Set 7 : Fix tests #

Patch Set 8 : Fix formatting #

Total comments: 2

Patch Set 9 : Add rssi testing procedure, fix changeDevice #

Patch Set 10 : Merge upstream #

Patch Set 11 : Merge upstream #

Patch Set 12 : Merge upstream #

Patch Set 13 : Merge upstream #

Patch Set 14 : Merge upstream #

Patch Set 15 : Merge upstream #

Unified diffs Side-by-side diffs Delta from patch set Stats (+423 lines, -14 lines) Patch
M chrome/browser/resources/bluetooth_internals/bluetooth_internals.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +7 lines, -3 lines 0 comments Download
M chrome/browser/resources/bluetooth_internals/interfaces.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +20 lines, -11 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/webui/bluetooth_internals_browsertest.js View 1 2 3 4 5 6 7 8 1 chunk +395 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 36 (19 generated)
mbrunson
4 years, 1 month ago (2016-11-01 23:04:15 UTC) #3
dpapad
https://codereview.chromium.org/2428773005/diff/80001/chrome/test/data/webui/bluetooth_internals_browsertest.js File chrome/test/data/webui/bluetooth_internals_browsertest.js (right): https://codereview.chromium.org/2428773005/diff/80001/chrome/test/data/webui/bluetooth_internals_browsertest.js#newcode49 chrome/test/data/webui/bluetooth_internals_browsertest.js:49: */ How many copies of this function do we ...
4 years, 1 month ago (2016-11-02 00:03:00 UTC) #5
mbrunson
https://codereview.chromium.org/2428773005/diff/80001/chrome/test/data/webui/bluetooth_internals_browsertest.js File chrome/test/data/webui/bluetooth_internals_browsertest.js (right): https://codereview.chromium.org/2428773005/diff/80001/chrome/test/data/webui/bluetooth_internals_browsertest.js#newcode49 chrome/test/data/webui/bluetooth_internals_browsertest.js:49: */ On 2016/11/02 00:03:00, dpapad wrote: > How many ...
4 years, 1 month ago (2016-11-02 22:47:24 UTC) #6
dpapad
https://codereview.chromium.org/2428773005/diff/80001/chrome/test/data/webui/bluetooth_internals_browsertest.js File chrome/test/data/webui/bluetooth_internals_browsertest.js (right): https://codereview.chromium.org/2428773005/diff/80001/chrome/test/data/webui/bluetooth_internals_browsertest.js#newcode296 chrome/test/data/webui/bluetooth_internals_browsertest.js:296: else expectFalse(removedRow.classList.contains('removed')); On 2016/11/02 at 22:47:24, mbrunson wrote: > ...
4 years, 1 month ago (2016-11-02 23:19:15 UTC) #7
mbrunson
https://codereview.chromium.org/2428773005/diff/100001/chrome/test/data/webui/bluetooth_internals_browsertest.js File chrome/test/data/webui/bluetooth_internals_browsertest.js (right): https://codereview.chromium.org/2428773005/diff/100001/chrome/test/data/webui/bluetooth_internals_browsertest.js#newcode129 chrome/test/data/webui/bluetooth_internals_browsertest.js:129: return Promise.resolve({ info: this.adapterInfo_ }); On 2016/11/02 23:19:15, dpapad ...
4 years, 1 month ago (2016-11-03 20:55:10 UTC) #8
mbrunson
https://codereview.chromium.org/2428773005/diff/100001/chrome/test/data/webui/bluetooth_internals_browsertest.js File chrome/test/data/webui/bluetooth_internals_browsertest.js (right): https://codereview.chromium.org/2428773005/diff/100001/chrome/test/data/webui/bluetooth_internals_browsertest.js#newcode51 chrome/test/data/webui/bluetooth_internals_browsertest.js:51: 'content/public/renderer/frame_interfaces', On 2016/11/02 23:19:14, dpapad wrote: > Nit: There ...
4 years, 1 month ago (2016-11-03 20:59:05 UTC) #9
dpapad
lgtm
4 years, 1 month ago (2016-11-03 22:03:16 UTC) #12
ortuno
https://codereview.chromium.org/2428773005/diff/130001/chrome/test/data/webui/bluetooth_internals_browsertest.js File chrome/test/data/webui/bluetooth_internals_browsertest.js (right): https://codereview.chromium.org/2428773005/diff/130001/chrome/test/data/webui/bluetooth_internals_browsertest.js#newcode330 chrome/test/data/webui/bluetooth_internals_browsertest.js:330: Can you add a test for when an update ...
4 years, 1 month ago (2016-11-03 22:20:49 UTC) #13
mbrunson
https://codereview.chromium.org/2428773005/diff/130001/chrome/test/data/webui/bluetooth_internals_browsertest.js File chrome/test/data/webui/bluetooth_internals_browsertest.js (right): https://codereview.chromium.org/2428773005/diff/130001/chrome/test/data/webui/bluetooth_internals_browsertest.js#newcode330 chrome/test/data/webui/bluetooth_internals_browsertest.js:330: On 2016/11/03 22:20:48, ortuno wrote: > Can you add ...
4 years, 1 month ago (2016-11-04 01:28:54 UTC) #16
ortuno
lgtm
4 years, 1 month ago (2016-11-04 01:34:11 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2428773005/270001
4 years, 1 month ago (2016-11-19 00:52:59 UTC) #28
commit-bot: I haz the power
Committed patchset #15 (id:270001)
4 years, 1 month ago (2016-11-19 01:08:59 UTC) #30
commit-bot: I haz the power
Patchset 15 (id:??) landed as https://crrev.com/4a392852b8e9c6856f99fbcfcd8515246eca7cbb Cr-Commit-Position: refs/heads/master@{#433365}
4 years, 1 month ago (2016-11-19 01:13:22 UTC) #32
stgao
FYI: this CL seems to introduce a new flaky test as show by https://findit-for-me.appspot.com/waterfall/check-flake?master_name=chromium.mac&builder_name=Mac10.11%20Tests&build_number=3830&step_name=browser_tests%20on%20Mac-10.11&test_name=BluetoothInternalsTest.Startup_BluetoothInternals One ...
4 years, 1 month ago (2016-11-21 19:43:11 UTC) #33
mbrunson
On 2016/11/21 19:43:11, stgao (slow on Monday) wrote: > FYI: this CL seems to introduce ...
4 years, 1 month ago (2016-11-21 21:23:44 UTC) #34
dpapad
On 2016/11/21 at 21:23:44, mbrunson wrote: > On 2016/11/21 19:43:11, stgao (slow on Monday) wrote: ...
4 years, 1 month ago (2016-11-21 21:38:15 UTC) #35
mbrunson
4 years, 1 month ago (2016-11-21 22:02:18 UTC) #36
Message was sent while issue was closed.
On 2016/11/21 21:38:15, dpapad wrote:
> On 2016/11/21 at 21:23:44, mbrunson wrote:
> > On 2016/11/21 19:43:11, stgao (slow on Monday) wrote:
> > > FYI: this CL seems to introduce a new flaky test as show by
> > >
>
https://findit-for-me.appspot.com/waterfall/check-flake?master_name=chromium....
> > > 
> > > One occurrence on Waterfall is
> > >
>
https://build.chromium.org/p/chromium.mac/builders/Mac10.11%20Tests/builds/3830
> > 
> > Looking into it.
> 
> FWIW, the chrome://plugins tests (which is another WebUI page using Mojo),
have
> been disabled for flakiness, see
> https://bugs.chromium.org/p/chromium/issues/detail?id=647305. Perhaps it's the
> same cause makes both tests flaky?

Hmm. That could be the case since they're using the same structure. Although,
this test is having timeout issues and not assertion errors. That would point to
something not loading properly or quickly enough. More research required...

Powered by Google App Engine
This is Rietveld 408576698