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

Issue 2732973003: Use shared matchers for common elements. (Closed)

Created:
3 years, 9 months ago by baxley
Modified:
3 years, 9 months ago
CC:
chromium-reviews, ios-reviews+chrome_chromium.org, ios-reviews_chromium.org, pkl (ping after 24h if needed), noyau+watch_chromium.org, asvitkine+watch_chromium.org, marq+watch_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use shared matchers for common elements. Add new matcher for OpenLinkInNewTabMenuItem(), and make all tests use this. Also remove tests that have methods to match the stack view button, and use the existing shared matcher ShowOpenTabs(). BUG=698774, 638674 Review-Url: https://codereview.chromium.org/2732973003 Cr-Commit-Position: refs/heads/master@{#454957} Committed: https://chromium.googlesource.com/chromium/src/+/17581175d5df6d58e62d9e3e7b699df99dca1b19

Patch Set 1 #

Total comments: 4

Patch Set 2 : clean up format with using #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -28 lines) Patch
M ios/chrome/browser/context_menu/context_menu_egtest.mm View 3 chunks +4 lines, -8 lines 0 comments Download
M ios/chrome/browser/metrics/tab_usage_recorder_egtest.mm View 3 chunks +6 lines, -11 lines 0 comments Download
M ios/chrome/browser/ui/history/history_ui_egtest.mm View 1 3 chunks +2 lines, -5 lines 0 comments Download
M ios/chrome/browser/ui/ntp/new_tab_page_egtest.mm View 2 chunks +2 lines, -4 lines 0 comments Download
M ios/chrome/test/earl_grey/chrome_matchers.h View 1 chunk +4 lines, -0 lines 0 comments Download
M ios/chrome/test/earl_grey/chrome_matchers.mm View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (5 generated)
baxley
3 years, 9 months ago (2017-03-06 19:40:29 UTC) #2
Eugene But (OOO till 7-30)
Thank you for cleanup. lgtm https://codereview.chromium.org/2732973003/diff/1/ios/chrome/browser/context_menu/context_menu_egtest.mm File ios/chrome/browser/context_menu/context_menu_egtest.mm (right): https://codereview.chromium.org/2732973003/diff/1/ios/chrome/browser/context_menu/context_menu_egtest.mm#newcode178 ios/chrome/browser/context_menu/context_menu_egtest.mm:178: chrome_test_util::OpenLinkInNewTabMenuItem()); Optional nit: do ...
3 years, 9 months ago (2017-03-06 20:10:04 UTC) #3
baxley
https://codereview.chromium.org/2732973003/diff/1/ios/chrome/browser/context_menu/context_menu_egtest.mm File ios/chrome/browser/context_menu/context_menu_egtest.mm (right): https://codereview.chromium.org/2732973003/diff/1/ios/chrome/browser/context_menu/context_menu_egtest.mm#newcode178 ios/chrome/browser/context_menu/context_menu_egtest.mm:178: chrome_test_util::OpenLinkInNewTabMenuItem()); On 2017/03/06 20:10:04, Eugene But wrote: > Optional ...
3 years, 9 months ago (2017-03-06 20:53:35 UTC) #4
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/2732973003/20001
3 years, 9 months ago (2017-03-06 20:54:15 UTC) #7
commit-bot: I haz the power
3 years, 9 months ago (2017-03-06 21:15:16 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/17581175d5df6d58e62d9e3e7b69...

Powered by Google App Engine
This is Rietveld 408576698