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

Issue 1882603003: [Chromedriver] Add testcase for testing alert on new window. (Closed)

Created:
4 years, 8 months ago by gmanikpure
Modified:
3 years, 8 months ago
Reviewers:
samuong
CC:
chromium-reviews, samuong+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Chromedriver] Add testcase for testing alert on new window. And disable it by default until the issue is fixed. BUG=chromedriver:833 Review-Url: https://codereview.chromium.org/1882603003 Cr-Commit-Position: refs/heads/master@{#459971} Committed: https://chromium.googlesource.com/chromium/src/+/1512539632abf713b55f5a16fe7b709fb1f4a57d

Patch Set 1 #

Total comments: 6

Patch Set 2 : modifications #

Patch Set 3 : disable this test on webview shell. #

Patch Set 4 : Reland - Disable test in _NEGATIVE_FILTER #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -0 lines) Patch
M chrome/test/chromedriver/test/run_py_tests.py View 1 2 3 3 chunks +15 lines, -0 lines 0 comments Download
A chrome/test/data/chromedriver/alert_onload.html View 1 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (7 generated)
gmanikpure
Hi Sam, Could you please have a look whenever time permits? Thanks, Gauri
4 years, 8 months ago (2016-04-12 18:53:02 UTC) #2
samuong
https://codereview.chromium.org/1882603003/diff/1/chrome/test/chromedriver/test/run_py_tests.py File chrome/test/chromedriver/test/run_py_tests.py (right): https://codereview.chromium.org/1882603003/diff/1/chrome/test/chromedriver/test/run_py_tests.py#newcode728 chrome/test/chromedriver/test/run_py_tests.py:728: self._driver.Load(self._http_server.GetUrl() + '/newwindowWithAlert') i'd suggest just loading about:blank, and ...
3 years, 9 months ago (2017-03-27 18:22:07 UTC) #3
gmanikpure
https://codereview.chromium.org/1882603003/diff/1/chrome/test/chromedriver/test/run_py_tests.py File chrome/test/chromedriver/test/run_py_tests.py (right): https://codereview.chromium.org/1882603003/diff/1/chrome/test/chromedriver/test/run_py_tests.py#newcode728 chrome/test/chromedriver/test/run_py_tests.py:728: self._driver.Load(self._http_server.GetUrl() + '/newwindowWithAlert') On 2017/03/27 18:22:06, samuong wrote: > ...
3 years, 9 months ago (2017-03-27 20:38:39 UTC) #4
samuong
What about using window.open instead? ExecuteScript('window.open(%s)' % self.GetHttpUrlForFile('/chromedriver/alert_onload.html'))
3 years, 9 months ago (2017-03-27 20:41:22 UTC) #5
gmanikpure
On 2017/03/27 20:41:22, samuong wrote: > What about using window.open instead? > > ExecuteScript('window.open(%s)' % ...
3 years, 9 months ago (2017-03-27 20:58:16 UTC) #6
gmanikpure
https://codereview.chromium.org/1882603003/diff/1/chrome/test/data/chromedriver/alert_onload.html File chrome/test/data/chromedriver/alert_onload.html (right): https://codereview.chromium.org/1882603003/diff/1/chrome/test/data/chromedriver/alert_onload.html#newcode1 chrome/test/data/chromedriver/alert_onload.html:1: <html> On 2017/03/27 18:22:07, samuong wrote: > don't forget ...
3 years, 9 months ago (2017-03-27 20:59:36 UTC) #7
samuong
lgtm, but put the bug number in the BUG= line rather than the title
3 years, 9 months ago (2017-03-27 21:08:26 UTC) #8
gmanikpure
On 2017/03/27 21:08:26, samuong wrote: > lgtm, but put the bug number in the BUG= ...
3 years, 9 months ago (2017-03-27 21:11:54 UTC) #11
samuong
Oh one more thing, put newlines after the summary line and before the BUG= line: ...
3 years, 9 months ago (2017-03-27 21:29:12 UTC) #12
gmanikpure
On 2017/03/27 21:29:12, samuong wrote: > Oh one more thing, put newlines after the summary ...
3 years, 9 months ago (2017-03-27 21:31:50 UTC) #14
samuong
thanks, lgtm
3 years, 9 months ago (2017-03-27 21:33:23 UTC) #15
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/1882603003/40001
3 years, 9 months ago (2017-03-27 21:35:02 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/1512539632abf713b55f5a16fe7b709fb1f4a57d
3 years, 8 months ago (2017-03-28 01:31:01 UTC) #20
samuong
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/2780723004/ by samuong@chromium.org. ...
3 years, 8 months ago (2017-03-29 00:01:10 UTC) #21
gmanikpure
On 2017/03/29 00:01:10, samuong wrote: > A revert of this CL (patchset #3 id:40001) has ...
3 years, 8 months ago (2017-03-29 16:11:14 UTC) #22
samuong
3 years, 8 months ago (2017-03-29 16:49:06 UTC) #23
Message was sent while issue was closed.
lgtm for the reland patchset

Powered by Google App Engine
This is Rietveld 408576698