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

Issue 9467013: Add prefs UI tests for Incognito exceptions for new Settings UI. (Closed)

Created:
8 years, 10 months ago by dyu1
Modified:
8 years, 9 months ago
Reviewers:
kkania, Nirnimesh
CC:
chromium-reviews, dennis_jeffrey, John Grabowski, anantha, dyu1, Nirnimesh
Visibility:
Public.

Description

Add prefs UI tests for Incognito exceptions for new Settings UI. TEST=none BUG=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=124962

Patch Set 1 : #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : #

Total comments: 9

Patch Set 4 : #

Patch Set 5 : #

Total comments: 8

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -31 lines) Patch
M chrome/test/functional/prefs_ui.py View 1 2 3 4 5 2 chunks +34 lines, -4 lines 0 comments Download
M chrome/test/functional/webdriver_pages/settings.py View 1 2 3 4 2 chunks +73 lines, -25 lines 0 comments Download
M chrome/test/pyautolib/pyauto.py View 1 2 3 4 5 6 3 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
dyu1
8 years, 10 months ago (2012-02-24 21:48:58 UTC) #1
dyu1
8 years, 10 months ago (2012-02-24 23:45:36 UTC) #2
Nirnimesh
LGTM http://codereview.chromium.org/9467013/diff/4/chrome/test/functional/prefs_ui.py File chrome/test/functional/prefs_ui.py (right): http://codereview.chromium.org/9467013/diff/4/chrome/test/functional/prefs_ui.py#newcode75 chrome/test/functional/prefs_ui.py:75: msg=('No displayed host name matches pattern "%s"' % ...
8 years, 10 months ago (2012-02-24 23:49:47 UTC) #3
kkania
http://codereview.chromium.org/9467013/diff/5001/chrome/test/functional/prefs_ui.py File chrome/test/functional/prefs_ui.py (right): http://codereview.chromium.org/9467013/diff/5001/chrome/test/functional/prefs_ui.py#newcode142 chrome/test/functional/prefs_ui.py:142: self._VerifyIncognitoContentExceptionUI( how about do all this without loading the ...
8 years, 10 months ago (2012-02-27 00:56:35 UTC) #4
dyu1
Questions for kkania http://codereview.chromium.org/9467013/diff/4/chrome/test/functional/prefs_ui.py File chrome/test/functional/prefs_ui.py (right): http://codereview.chromium.org/9467013/diff/4/chrome/test/functional/prefs_ui.py#newcode75 chrome/test/functional/prefs_ui.py:75: msg=('No displayed host name matches pattern ...
8 years, 10 months ago (2012-02-27 20:54:45 UTC) #5
kkania
http://codereview.chromium.org/9467013/diff/5001/chrome/test/functional/prefs_ui.py File chrome/test/functional/prefs_ui.py (right): http://codereview.chromium.org/9467013/diff/5001/chrome/test/functional/prefs_ui.py#newcode142 chrome/test/functional/prefs_ui.py:142: self._VerifyIncognitoContentExceptionUI( I didn't think about it. How about something ...
8 years, 10 months ago (2012-02-28 00:51:30 UTC) #6
dyu1
removed some tests and added some new tests. I've kept the original incognito pattern where ...
8 years, 9 months ago (2012-02-29 22:50:15 UTC) #7
kkania
Talked offline. Let me know when you've made changes again.
8 years, 9 months ago (2012-03-02 16:44:23 UTC) #8
dyu1
Added additional tests and added a windex option for GetPrefs function in pyauto.py.
8 years, 9 months ago (2012-03-02 19:34:26 UTC) #9
kkania
lgtm http://codereview.chromium.org/9467013/diff/21001/chrome/test/functional/prefs_ui.py File chrome/test/functional/prefs_ui.py (right): http://codereview.chromium.org/9467013/diff/21001/chrome/test/functional/prefs_ui.py#newcode184 chrome/test/functional/prefs_ui.py:184: self._driver, ContentTypes.PLUGINS) bad indentation and several places below ...
8 years, 9 months ago (2012-03-03 02:02:27 UTC) #10
dyu1
8 years, 9 months ago (2012-03-03 02:16:45 UTC) #11
http://codereview.chromium.org/9467013/diff/21001/chrome/test/functional/pref...
File chrome/test/functional/prefs_ui.py (right):

http://codereview.chromium.org/9467013/diff/21001/chrome/test/functional/pref...
chrome/test/functional/prefs_ui.py:184: self._driver, ContentTypes.PLUGINS)
On 2012/03/03 02:02:27, kkania wrote:
> bad indentation and several places below

Done.

http://codereview.chromium.org/9467013/diff/21001/chrome/test/functional/pref...
chrome/test/functional/prefs_ui.py:195:
page.AddNewException(**plugins_exception)
On 2012/03/03 02:02:27, kkania wrote:
> this is pretty fancy, but can you just do it the normal way

Done.

http://codereview.chromium.org/9467013/diff/21001/chrome/test/functional/pref...
chrome/test/functional/prefs_ui.py:200: def
testCorrectBehaviorSetInIncognitoUI(self):
Removing since SetPrefs() function doesn't offer the capability of setting
behavior or patterns within Incognito mode. This test just happens to work based
on the behavior, thus removing until capability is added. 

On 2012/03/03 02:02:27, kkania wrote:
> remove?

http://codereview.chromium.org/9467013/diff/21001/chrome/test/functional/webd...
File chrome/test/functional/webdriver_pages/settings.py (right):

http://codereview.chromium.org/9467013/diff/21001/chrome/test/functional/webd...
chrome/test/functional/webdriver_pages/settings.py:332:
self._incognito_list_elem = driver.find_element_by_xpath(
Will refactor the class at a later time.

On 2012/03/03 02:02:27, kkania wrote:
> Consider the alternative design we talked about. Up to you.

Powered by Google App Engine
This is Rietveld 408576698