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

Issue 838543002: Implement browser test for It2Me (Closed)

Created:
5 years, 11 months ago by kelvinp
Modified:
5 years, 11 months ago
Reviewers:
weitao, Jamie
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement browser test for It2Me This CL implements a browser test for It2Me connection by automating the steps below: 1. Generates an access code. 2. Launches another Chrome Remote Desktop App instance. 3. Connects with the generated access code. 4. Verifies that the session is connected. This CL also 1. Modifies LaunchingChromotingApp to takes an optional parameter so that it can launch the app in a new tab instead of the current tab. 2. Allows a JavaScript browser test to send a value back to the C++ code when a browser test succeeds. BUG=446342 Committed: https://crrev.com/d90fe697c8b0ae5325ca5d2acccced2e284050b6 Cr-Commit-Position: refs/heads/master@{#311159}

Patch Set 1 #

Total comments: 29

Patch Set 2 : Address CL feedback #

Total comments: 10

Patch Set 3 : Address feedback + rebase #

Patch Set 4 : Rebase #

Patch Set 5 : Fix merge conflicts #

Unified diffs Side-by-side diffs Delta from patch set Stats (+273 lines, -68 lines) Patch
M chrome/chrome_tests.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/remoting/fullscreen_browsertest.cc View 1 2 chunks +2 lines, -4 lines 0 comments Download
A chrome/test/remoting/it2me_browsertest.cc View 1 2 3 4 1 chunk +67 lines, -0 lines 0 comments Download
M chrome/test/remoting/me2me_browsertest.cc View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/test/remoting/pin_browsertest.cc View 1 3 chunks +3 lines, -9 lines 0 comments Download
M chrome/test/remoting/remote_desktop_browsertest.h View 1 2 3 4 5 chunks +12 lines, -12 lines 0 comments Download
M chrome/test/remoting/remote_desktop_browsertest.cc View 1 2 3 4 7 chunks +26 lines, -12 lines 0 comments Download
M chrome/test/remoting/scrollbar_browsertest.cc View 1 1 chunk +1 line, -3 lines 0 comments Download
M chrome/test/remoting/unauthenticated_browsertest.cc View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download
M remoting/remoting_webapp_files.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M remoting/webapp/browser_test/browser_test.js View 1 2 4 chunks +35 lines, -14 lines 0 comments Download
A remoting/webapp/browser_test/it2me_browser_test.js View 1 1 chunk +98 lines, -0 lines 0 comments Download
M remoting/webapp/browser_test/timeout_waiter.js View 1 2 4 chunks +22 lines, -8 lines 0 comments Download

Messages

Total messages: 21 (8 generated)
kelvinp
PTAL
5 years, 11 months ago (2015-01-06 00:51:04 UTC) #2
Jamie
https://codereview.chromium.org/838543002/diff/1/chrome/test/remoting/it2me_browsertest.cc File chrome/test/remoting/it2me_browsertest.cc (right): https://codereview.chromium.org/838543002/diff/1/chrome/test/remoting/it2me_browsertest.cc#newcode20 chrome/test/remoting/it2me_browsertest.cc:20: LoadScript(app_web_content(), FILE_PATH_LITERAL("browser_test.js")); This is basically the same code as ...
5 years, 11 months ago (2015-01-06 22:18:52 UTC) #3
kelvinp
PTAL https://codereview.chromium.org/838543002/diff/1/chrome/test/remoting/it2me_browsertest.cc File chrome/test/remoting/it2me_browsertest.cc (right): https://codereview.chromium.org/838543002/diff/1/chrome/test/remoting/it2me_browsertest.cc#newcode20 chrome/test/remoting/it2me_browsertest.cc:20: LoadScript(app_web_content(), FILE_PATH_LITERAL("browser_test.js")); On 2015/01/06 22:18:51, Jamie wrote: > ...
5 years, 11 months ago (2015-01-09 22:21:30 UTC) #6
Jamie
https://codereview.chromium.org/838543002/diff/1/remoting/webapp/browser_test/it2me_browser_test.js File remoting/webapp/browser_test/it2me_browser_test.js (right): https://codereview.chromium.org/838543002/diff/1/remoting/webapp/browser_test/it2me_browser_test.js#newcode36 remoting/webapp/browser_test/it2me_browser_test.js:36: browserTest.CONNECT_IT2ME.prototype.clickOnAccessButton = function() { On 2015/01/09 22:21:30, kelvinp wrote: ...
5 years, 11 months ago (2015-01-10 00:14:24 UTC) #7
Jamie
With the exception of the change that I called out as being a follow-up, my ...
5 years, 11 months ago (2015-01-10 00:15:08 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/838543002/80001
5 years, 11 months ago (2015-01-12 21:01:02 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator/builds/48118)
5 years, 11 months ago (2015-01-12 21:06:50 UTC) #12
kelvinp
FYI https://codereview.chromium.org/838543002/diff/60001/chrome/test/remoting/it2me_browsertest.cc File chrome/test/remoting/it2me_browsertest.cc (right): https://codereview.chromium.org/838543002/diff/60001/chrome/test/remoting/it2me_browsertest.cc#newcode28 chrome/test/remoting/it2me_browsertest.cc:28: LoadScript(helper_content, FILE_PATH_LITERAL("browser_test.js")); On 2015/01/10 00:14:24, Jamie wrote: > ...
5 years, 11 months ago (2015-01-12 21:15:24 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/838543002/80001
5 years, 11 months ago (2015-01-12 22:28:39 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator/builds/48162) mac_chromium_compile_dbg_ng on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/13427)
5 years, 11 months ago (2015-01-12 22:32:46 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/838543002/120001
5 years, 11 months ago (2015-01-12 23:48:04 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:120001)
5 years, 11 months ago (2015-01-13 00:33:04 UTC) #20
commit-bot: I haz the power
5 years, 11 months ago (2015-01-13 00:34:15 UTC) #21
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/d90fe697c8b0ae5325ca5d2acccced2e284050b6
Cr-Commit-Position: refs/heads/master@{#311159}

Powered by Google App Engine
This is Rietveld 408576698