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

Issue 2154023002: adding action mode tests (Closed)

Created:
4 years, 5 months ago by aluo
Modified:
4 years, 1 month ago
CC:
android-webview-reviews_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add action mode tests. BUG=628757 Committed: https://crrev.com/f4851343a554057597a3f7cc197b989e5326fd9e Cr-Commit-Position: refs/heads/master@{#431751}

Patch Set 1 #

Total comments: 14

Patch Set 2 : Make tests work for Android L #

Total comments: 1

Patch Set 3 : Disabled animations, use updated espresso in third-party after junit refactor. #

Total comments: 27

Patch Set 4 : Addressed Mike's comments #

Total comments: 4

Patch Set 5 : Addressed comments from mikecase@ #

Patch Set 6 : Updated to use BaseJUnit4ClassRunner. #

Total comments: 20

Patch Set 7 : Addressed comments, added animation disable code that was missed in previous patch. #

Total comments: 8

Patch Set 8 : Updated L rootMatcher code per mikecase@ comments #

Total comments: 4

Patch Set 9 : Set rootMatcher in the catch too. #

Patch Set 10 : Updated description #

Total comments: 4

Patch Set 11 : Re-arranged popup action logic per mikecase@ #

Patch Set 12 : fix merge conflict #

Messages

Total messages: 33 (13 generated)
aluo
Tests for action mode in webview. Uses the AndroidJUnitRunner (see related cl https://codereview.chromium.org/2142413004).
4 years, 5 months ago (2016-07-15 23:17:05 UTC) #2
mikecase (-- gone --)
https://codereview.chromium.org/2154023002/diff/1/android_webview/tools/automated_ui_tests/BUILD.gn File android_webview/tools/automated_ui_tests/BUILD.gn (right): https://codereview.chromium.org/2154023002/diff/1/android_webview/tools/automated_ui_tests/BUILD.gn#newcode57 android_webview/tools/automated_ui_tests/BUILD.gn:57: "//third_party/hamcrest:hamcrest_library_java", We should see if we can get this ...
4 years, 5 months ago (2016-07-25 21:19:02 UTC) #3
aluo
https://codereview.chromium.org/2154023002/diff/1/android_webview/tools/automated_ui_tests/BUILD.gn File android_webview/tools/automated_ui_tests/BUILD.gn (right): https://codereview.chromium.org/2154023002/diff/1/android_webview/tools/automated_ui_tests/BUILD.gn#newcode57 android_webview/tools/automated_ui_tests/BUILD.gn:57: "//third_party/hamcrest:hamcrest_library_java", On 2016/07/25 21:19:01, mikecase wrote: > We should ...
4 years, 4 months ago (2016-08-08 23:20:06 UTC) #4
mikecase (-- gone --)
https://codereview.chromium.org/2154023002/diff/1/android_webview/tools/automated_ui_tests/BUILD.gn File android_webview/tools/automated_ui_tests/BUILD.gn (right): https://codereview.chromium.org/2154023002/diff/1/android_webview/tools/automated_ui_tests/BUILD.gn#newcode57 android_webview/tools/automated_ui_tests/BUILD.gn:57: "//third_party/hamcrest:hamcrest_library_java", On 2016/08/08 at 23:20:05, aluo wrote: > On ...
4 years, 4 months ago (2016-08-08 23:48:32 UTC) #5
aluo
On 2016/08/08 23:48:32, mikecase wrote: > https://codereview.chromium.org/2154023002/diff/1/android_webview/tools/automated_ui_tests/BUILD.gn > File android_webview/tools/automated_ui_tests/BUILD.gn (right): > > https://codereview.chromium.org/2154023002/diff/1/android_webview/tools/automated_ui_tests/BUILD.gn#newcode57 > ...
4 years, 4 months ago (2016-08-09 22:10:54 UTC) #6
mikecase (-- gone --)
Want to rebase this CL. Then I'll review it. Once this lands we can just ...
4 years, 3 months ago (2016-08-26 19:47:53 UTC) #7
mikecase (-- gone --)
Looks awesome. https://codereview.chromium.org/2154023002/diff/40001/android_webview/tools/automated_ui_tests/java/src/org/chromium/webview_ui_test/WebViewUiTestActivity.java File android_webview/tools/automated_ui_tests/java/src/org/chromium/webview_ui_test/WebViewUiTestActivity.java (right): https://codereview.chromium.org/2154023002/diff/40001/android_webview/tools/automated_ui_tests/java/src/org/chromium/webview_ui_test/WebViewUiTestActivity.java#newcode55 android_webview/tools/automated_ui_tests/java/src/org/chromium/webview_ui_test/WebViewUiTestActivity.java:55: private void disableAnimation() { Add comments here. ...
4 years, 2 months ago (2016-09-29 19:27:51 UTC) #8
mikecase (-- gone --)
Did you have comments for my feedback. Anyhow, some more comments while Im at it. ...
4 years, 2 months ago (2016-10-04 22:12:56 UTC) #9
mikecase (-- gone --)
Nit: Improve commit message punctuation. Adding UI action-mode tests for WebView. Just a few final ...
4 years, 1 month ago (2016-11-04 22:22:52 UTC) #10
the real yoland
lgtm with nits and also +mikecase's comments https://codereview.chromium.org/2154023002/diff/100001/android_webview/tools/automated_ui_tests/javatests/src/org/chromium/webview_ui_test/test/ActionModeTest.java File android_webview/tools/automated_ui_tests/javatests/src/org/chromium/webview_ui_test/test/ActionModeTest.java (right): https://codereview.chromium.org/2154023002/diff/100001/android_webview/tools/automated_ui_tests/javatests/src/org/chromium/webview_ui_test/test/ActionModeTest.java#newcode133 android_webview/tools/automated_ui_tests/javatests/src/org/chromium/webview_ui_test/test/ActionModeTest.java:133: onView(withId(R.id.edittext)).check(matches(withText("world"))); nits: ...
4 years, 1 month ago (2016-11-04 22:46:03 UTC) #11
aluo
Thanks guys for reviewing this again, I'll land this unless there are more comments in ...
4 years, 1 month ago (2016-11-08 00:34:29 UTC) #12
mikecase (-- gone --)
A tiny bit more feedback. Also, just fyi, "Acknowledged" I think is usually for "I ...
4 years, 1 month ago (2016-11-08 16:47:02 UTC) #13
aluo
Thanks Mike, updated comments and patch. Yes I should've used Ack, that's the right one ...
4 years, 1 month ago (2016-11-08 18:45:33 UTC) #14
mikecase (-- gone --)
lgtm with my 1 last suggestion https://codereview.chromium.org/2154023002/diff/140001/android_webview/tools/automated_ui_tests/javatests/src/org/chromium/webview_ui_test/test/ActionModeTest.java File android_webview/tools/automated_ui_tests/javatests/src/org/chromium/webview_ui_test/test/ActionModeTest.java (right): https://codereview.chromium.org/2154023002/diff/140001/android_webview/tools/automated_ui_tests/javatests/src/org/chromium/webview_ui_test/test/ActionModeTest.java#newcode239 android_webview/tools/automated_ui_tests/javatests/src/org/chromium/webview_ui_test/test/ActionModeTest.java:239: } catch (NoMatchingViewException ...
4 years, 1 month ago (2016-11-11 18:52:15 UTC) #15
aluo
https://codereview.chromium.org/2154023002/diff/120001/android_webview/tools/automated_ui_tests/javatests/src/org/chromium/webview_ui_test/test/ActionModeTest.java File android_webview/tools/automated_ui_tests/javatests/src/org/chromium/webview_ui_test/test/ActionModeTest.java (right): https://codereview.chromium.org/2154023002/diff/120001/android_webview/tools/automated_ui_tests/javatests/src/org/chromium/webview_ui_test/test/ActionModeTest.java#newcode236 android_webview/tools/automated_ui_tests/javatests/src/org/chromium/webview_ui_test/test/ActionModeTest.java:236: } catch (Throwable e) { On 2016/11/08 16:47:02, mikecase ...
4 years, 1 month ago (2016-11-11 19:53:34 UTC) #16
mikecase (-- gone --)
https://codereview.chromium.org/2154023002/diff/180001/android_webview/tools/automated_ui_tests/javatests/src/org/chromium/webview_ui_test/test/ActionModeTest.java File android_webview/tools/automated_ui_tests/javatests/src/org/chromium/webview_ui_test/test/ActionModeTest.java (right): https://codereview.chromium.org/2154023002/diff/180001/android_webview/tools/automated_ui_tests/javatests/src/org/chromium/webview_ui_test/test/ActionModeTest.java#newcode233 android_webview/tools/automated_ui_tests/javatests/src/org/chromium/webview_ui_test/test/ActionModeTest.java:233: rootMatcher = withDecorView(withChild(withText(name))); setting rootMatcher here doesnt do anything ...
4 years, 1 month ago (2016-11-11 21:00:42 UTC) #20
aluo
https://codereview.chromium.org/2154023002/diff/180001/android_webview/tools/automated_ui_tests/javatests/src/org/chromium/webview_ui_test/test/ActionModeTest.java File android_webview/tools/automated_ui_tests/javatests/src/org/chromium/webview_ui_test/test/ActionModeTest.java (right): https://codereview.chromium.org/2154023002/diff/180001/android_webview/tools/automated_ui_tests/javatests/src/org/chromium/webview_ui_test/test/ActionModeTest.java#newcode233 android_webview/tools/automated_ui_tests/javatests/src/org/chromium/webview_ui_test/test/ActionModeTest.java:233: rootMatcher = withDecorView(withChild(withText(name))); On 2016/11/11 21:00:42, mikecase wrote: > ...
4 years, 1 month ago (2016-11-11 22:26:33 UTC) #21
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/2154023002/220001
4 years, 1 month ago (2016-11-12 02:03:38 UTC) #30
commit-bot: I haz the power
Committed patchset #12 (id:220001)
4 years, 1 month ago (2016-11-12 02:33:24 UTC) #31
commit-bot: I haz the power
4 years, 1 month ago (2016-11-12 02:37:36 UTC) #33
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/f4851343a554057597a3f7cc197b989e5326fd9e
Cr-Commit-Position: refs/heads/master@{#431751}

Powered by Google App Engine
This is Rietveld 408576698