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

Issue 10854026: Added webdriver support for App v2. (Closed)

Created:
8 years, 4 months ago by Danh Nguyen
Modified:
8 years, 4 months ago
Reviewers:
James Hawkins, kkania
CC:
chromium-reviews, robertshield, kkania, Sheridan Rawlins
Visibility:
Public.

Description

Added webdriver support for App v2. This change allows testing using Chrome webdriver on App v2 windows. It exposes (via window_handles) and allows switching control to App v2 windows for testing. BUG=6801177 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=151328

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added test and addressed review comments. #

Total comments: 6

Patch Set 3 : Second update per review comments. #

Total comments: 3

Patch Set 4 : Added a comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -26 lines) Patch
M chrome/browser/automation/automation_util.cc View 3 chunks +6 lines, -1 line 0 comments Download
M chrome/common/automation_id.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/webdriver/commands/target_locator_commands.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
A chrome/test/webdriver/test/app_shell_extension/bg.js View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
A chrome/test/webdriver/test/app_shell_extension/manifest.json View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
A + chrome/test/webdriver/test/app_shell_extension/view_checks.html View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/test/webdriver/test/chromedriver.py View 1 2 3 3 chunks +30 lines, -25 lines 0 comments Download
M chrome/test/webdriver/test/chromedriver_tests.py View 1 2 2 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Danh Nguyen
Hi Ken, As we talked last week, this CL adds supports for testing Apps v2, ...
8 years, 4 months ago (2012-08-07 16:50:19 UTC) #1
James Hawkins
Yes, just ping me when it's ready.
8 years, 4 months ago (2012-08-07 16:57:07 UTC) #2
kkania
can you add a test in chrome/test/webdriver/test/chromedriver_tests.py in the Extension test class? Also, make sure ...
8 years, 4 months ago (2012-08-07 19:57:44 UTC) #3
Danh Nguyen
Thanks Ken for your quick response. I'm working on it. Thanks, Danh On Tue, Aug ...
8 years, 4 months ago (2012-08-07 20:33:09 UTC) #4
Danh Nguyen
Hi Ken, I've added a test for packaged app in webdriver/test. Also removed the changes ...
8 years, 4 months ago (2012-08-09 18:21:47 UTC) #5
kkania
http://codereview.chromium.org/10854026/diff/7001/chrome/test/webdriver/test/chromedriver.py File chrome/test/webdriver/test/chromedriver.py (right): http://codereview.chromium.org/10854026/diff/7001/chrome/test/webdriver/test/chromedriver.py#newcode25 chrome/test/webdriver/test/chromedriver.py:25: EXTENSION_PACKAGED_APP = 6 is this the same thing as ...
8 years, 4 months ago (2012-08-09 22:04:49 UTC) #6
Danh Nguyen
Thanks Ken for reviewing and your comments. I hope I've addressed them all. Could you ...
8 years, 4 months ago (2012-08-10 16:35:09 UTC) #7
kkania
lgtm
8 years, 4 months ago (2012-08-10 16:58:15 UTC) #8
James Hawkins
LGTM with semi-question nit. http://codereview.chromium.org/10854026/diff/3002/chrome/test/webdriver/test/chromedriver.py File chrome/test/webdriver/test/chromedriver.py (right): http://codereview.chromium.org/10854026/diff/3002/chrome/test/webdriver/test/chromedriver.py#newcode25 chrome/test/webdriver/test/chromedriver.py:25: APP_SHELL = 6 6? What ...
8 years, 4 months ago (2012-08-11 16:33:17 UTC) #9
Danh Nguyen
Thanks James for reviewing the changes and for your approval. Danh http://codereview.chromium.org/10854026/diff/3002/chrome/test/webdriver/test/chromedriver.py File chrome/test/webdriver/test/chromedriver.py (right): ...
8 years, 4 months ago (2012-08-13 15:28:42 UTC) #10
James Hawkins
OK, SLGTM, but please add comment where that value would be explaining this.
8 years, 4 months ago (2012-08-13 15:29:31 UTC) #11
Danh Nguyen
Just added the comment. Thanks, James. Danh http://codereview.chromium.org/10854026/diff/3002/chrome/test/webdriver/test/chromedriver.py File chrome/test/webdriver/test/chromedriver.py (right): http://codereview.chromium.org/10854026/diff/3002/chrome/test/webdriver/test/chromedriver.py#newcode25 chrome/test/webdriver/test/chromedriver.py:25: APP_SHELL = ...
8 years, 4 months ago (2012-08-13 17:05:28 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danhn@chromium.org/10854026/2004
8 years, 4 months ago (2012-08-13 17:05:50 UTC) #13
commit-bot: I haz the power
8 years, 4 months ago (2012-08-13 19:53:11 UTC) #14
Change committed as 151328

Powered by Google App Engine
This is Rietveld 408576698