The EG tests for ContentSuggestions will be more easily implemented in showcase where the data can be mock easily.
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/9d21d637803bb3b0e674ca2c060aac9947146fab commit 9d21d637803bb3b0e674ca2c060aac9947146fab Author: gambard <gambard@chromium.org> Date: Thu Mar 23 14:15:41 2017 Rename Suggestions to ContentSuggestions in Showcase This CL renames the Suggestions feature in showcase to be consistent with the name in Chrome. BUG= 704493 Review-Url: https://codereview.chromium.org/2766313003 Cr-Commit-Position: refs/heads/master@{#459073} [modify] https://crrev.com/9d21d637803bb3b0e674ca2c060aac9947146fab/ios/showcase/BUILD.gn [rename] https://crrev.com/9d21d637803bb3b0e674ca2c060aac9947146fab/ios/showcase/content_suggestions/BUILD.gn [add] https://crrev.com/9d21d637803bb3b0e674ca2c060aac9947146fab/ios/showcase/content_suggestions/sc_content_suggestions_coordinator.h [rename] https://crrev.com/9d21d637803bb3b0e674ca2c060aac9947146fab/ios/showcase/content_suggestions/sc_content_suggestions_coordinator.mm [rename] https://crrev.com/9d21d637803bb3b0e674ca2c060aac9947146fab/ios/showcase/content_suggestions/sc_content_suggestions_egtest.mm [modify] https://crrev.com/9d21d637803bb3b0e674ca2c060aac9947146fab/ios/showcase/core/showcase_model.mm [delete] https://crrev.com/fd4f2da01569ad80206f09edd2b585e186d06ed8/ios/showcase/suggestions/sc_suggestions_coordinator.h
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/6858b7fa2ae42b6c687589f39dd8c70509cb44ac commit 6858b7fa2ae42b6c687589f39dd8c70509cb44ac Author: gambard <gambard@chromium.org> Date: Fri Jun 02 16:19:02 2017 Add CSDataSource in showcase This CL adds a fake data source for ContentSuggestions in showcase. BUG= 704493 Review-Url: https://codereview.chromium.org/2769063005 Cr-Commit-Position: refs/heads/master@{#476683} [modify] https://crrev.com/6858b7fa2ae42b6c687589f39dd8c70509cb44ac/ios/showcase/DEPS [modify] https://crrev.com/6858b7fa2ae42b6c687589f39dd8c70509cb44ac/ios/showcase/content_suggestions/BUILD.gn [modify] https://crrev.com/6858b7fa2ae42b6c687589f39dd8c70509cb44ac/ios/showcase/content_suggestions/sc_content_suggestions_coordinator.mm [add] https://crrev.com/6858b7fa2ae42b6c687589f39dd8c70509cb44ac/ios/showcase/content_suggestions/sc_content_suggestions_data_source.h [add] https://crrev.com/6858b7fa2ae42b6c687589f39dd8c70509cb44ac/ios/showcase/content_suggestions/sc_content_suggestions_data_source.mm [modify] https://crrev.com/6858b7fa2ae42b6c687589f39dd8c70509cb44ac/ios/showcase/content_suggestions/sc_content_suggestions_egtest.mm [add] https://crrev.com/6858b7fa2ae42b6c687589f39dd8c70509cb44ac/ios/showcase/content_suggestions/sc_content_suggestions_item.h [add] https://crrev.com/6858b7fa2ae42b6c687589f39dd8c70509cb44ac/ios/showcase/content_suggestions/sc_content_suggestions_item.mm [add] https://crrev.com/6858b7fa2ae42b6c687589f39dd8c70509cb44ac/ios/showcase/content_suggestions/sc_content_suggestions_most_visited_item.h [add] https://crrev.com/6858b7fa2ae42b6c687589f39dd8c70509cb44ac/ios/showcase/content_suggestions/sc_content_suggestions_most_visited_item.mm
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/2be5085c9c7797ebadf40df25c25e54449743406 commit 2be5085c9c7797ebadf40df25c25e54449743406 Author: gambard <gambard@chromium.org> Date: Tue Jun 13 12:36:50 2017 Add EG test for SCContentSuggestions This CL adds Earl Grey tests testing swipe to dismiss, tap and long press on suggested content. BUG= 704493 Change-Id: Ibd3d9e8030fcaf4069a2cf632791bbb0387a7301 Reviewed-on: https://chromium-review.googlesource.com/529248 Commit-Queue: Gauthier Ambard <gambard@chromium.org> Reviewed-by: Louis Romero <lpromero@chromium.org> Cr-Commit-Position: refs/heads/master@{#478984} [modify] https://crrev.com/2be5085c9c7797ebadf40df25c25e54449743406/ios/showcase/content_suggestions/BUILD.gn [modify] https://crrev.com/2be5085c9c7797ebadf40df25c25e54449743406/ios/showcase/content_suggestions/sc_content_suggestions_data_source.h [modify] https://crrev.com/2be5085c9c7797ebadf40df25c25e54449743406/ios/showcase/content_suggestions/sc_content_suggestions_data_source.mm [modify] https://crrev.com/2be5085c9c7797ebadf40df25c25e54449743406/ios/showcase/content_suggestions/sc_content_suggestions_egtest.mm [modify] https://crrev.com/2be5085c9c7797ebadf40df25c25e54449743406/ios/showcase/content_suggestions/sc_content_suggestions_item.mm
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/9252a3b5bb4c21ab80082b5a82530dee524bdca7 commit 9252a3b5bb4c21ab80082b5a82530dee524bdca7 Author: Gauthier Ambard <gambard@chromium.org> Date: Tue Jun 13 16:25:43 2017 Revert "Add EG test for SCContentSuggestions" This reverts commit 2be5085c9c7797ebadf40df25c25e54449743406. Reason for revert: Breaks on iPhone 5 Original change's description: > Add EG test for SCContentSuggestions > > This CL adds Earl Grey tests testing swipe to dismiss, tap and long press on > suggested content. > > BUG= 704493 > > Change-Id: Ibd3d9e8030fcaf4069a2cf632791bbb0387a7301 > Reviewed-on: https://chromium-review.googlesource.com/529248 > Commit-Queue: Gauthier Ambard <gambard@chromium.org> > Reviewed-by: Louis Romero <lpromero@chromium.org> > Cr-Commit-Position: refs/heads/master@{#478984} TBR=lpromero@chromium.org,edchin@chromium.org,gambard@chromium.org Change-Id: I8677cffaf92abd123f6b0a215886416f76fca175 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 704493 Reviewed-on: https://chromium-review.googlesource.com/533338 Reviewed-by: Gauthier Ambard <gambard@chromium.org> Commit-Queue: Gauthier Ambard <gambard@chromium.org> Cr-Commit-Position: refs/heads/master@{#479040} [modify] https://crrev.com/9252a3b5bb4c21ab80082b5a82530dee524bdca7/ios/showcase/content_suggestions/BUILD.gn [modify] https://crrev.com/9252a3b5bb4c21ab80082b5a82530dee524bdca7/ios/showcase/content_suggestions/sc_content_suggestions_data_source.h [modify] https://crrev.com/9252a3b5bb4c21ab80082b5a82530dee524bdca7/ios/showcase/content_suggestions/sc_content_suggestions_data_source.mm [modify] https://crrev.com/9252a3b5bb4c21ab80082b5a82530dee524bdca7/ios/showcase/content_suggestions/sc_content_suggestions_egtest.mm [modify] https://crrev.com/9252a3b5bb4c21ab80082b5a82530dee524bdca7/ios/showcase/content_suggestions/sc_content_suggestions_item.mm
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/58d4f1565451328da41bb0dc5392d67bd4919b88 commit 58d4f1565451328da41bb0dc5392d67bd4919b88 Author: gambard <gambard@chromium.org> Date: Wed Jun 14 08:13:14 2017 Add EG test for SCContentSuggestions This CL adds Earl Grey tests testing swipe to dismiss and tap on suggested content. BUG= 704493 Change-Id: I1a75eb4c0a06e4c4c3547c2302d0ceb57af14981 Reviewed-on: https://chromium-review.googlesource.com/533415 Commit-Queue: Gauthier Ambard <gambard@chromium.org> Reviewed-by: Louis Romero <lpromero@chromium.org> Cr-Commit-Position: refs/heads/master@{#479323} [modify] https://crrev.com/58d4f1565451328da41bb0dc5392d67bd4919b88/ios/showcase/content_suggestions/BUILD.gn [modify] https://crrev.com/58d4f1565451328da41bb0dc5392d67bd4919b88/ios/showcase/content_suggestions/sc_content_suggestions_data_source.h [modify] https://crrev.com/58d4f1565451328da41bb0dc5392d67bd4919b88/ios/showcase/content_suggestions/sc_content_suggestions_data_source.mm [modify] https://crrev.com/58d4f1565451328da41bb0dc5392d67bd4919b88/ios/showcase/content_suggestions/sc_content_suggestions_egtest.mm [modify] https://crrev.com/58d4f1565451328da41bb0dc5392d67bd4919b88/ios/showcase/content_suggestions/sc_content_suggestions_item.mm
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/717b58ffd06c514834037b488fe21280e55bda10 commit 717b58ffd06c514834037b488fe21280e55bda10 Author: gambard <gambard@chromium.org> Date: Tue Jun 27 09:18:30 2017 Disable ContentSuggestions EG tests The ContentSuggestions EG tests are failing because the protocol alerter is a proxy for a protocol receiving a command for all scrolls. This CL disable them. BUG= 704493 Change-Id: I465757918c3dc87cd88f299956edc9f6a8c0a8e5 Reviewed-on: https://chromium-review.googlesource.com/549637 Commit-Queue: Gauthier Ambard <gambard@chromium.org> Commit-Queue: Louis Romero <lpromero@chromium.org> Reviewed-by: Louis Romero <lpromero@chromium.org> Cr-Commit-Position: refs/heads/master@{#482580} [modify] https://crrev.com/717b58ffd06c514834037b488fe21280e55bda10/ios/showcase/content_suggestions/sc_content_suggestions_egtest.mm
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/1a687256189f82e98c8e79d0d7088580eb9f7a03 commit 1a687256189f82e98c8e79d0d7088580eb9f7a03 Author: gambard <gambard@chromium.org> Date: Tue Jun 27 11:09:42 2017 Split the ContentSuggestionsCommands protocol Split the ContentSuggestionsCommands protocol in two: - One protocol handles the commands related to the content suggestions - The other handles the commands sent to the header (fake omnibox + logo) It allows to re-enable the eg tests. BUG= 704493 Change-Id: Ice0b52943bbb4f90b7bf154c278595516a1d1ead Reviewed-on: https://chromium-review.googlesource.com/549361 Reviewed-by: Louis Romero <lpromero@chromium.org> Commit-Queue: Louis Romero <lpromero@chromium.org> Cr-Commit-Position: refs/heads/master@{#482595} [modify] https://crrev.com/1a687256189f82e98c8e79d0d7088580eb9f7a03/ios/chrome/browser/content_suggestions/content_suggestions_coordinator.mm [modify] https://crrev.com/1a687256189f82e98c8e79d0d7088580eb9f7a03/ios/chrome/browser/ui/content_suggestions/BUILD.gn [modify] https://crrev.com/1a687256189f82e98c8e79d0d7088580eb9f7a03/ios/chrome/browser/ui/content_suggestions/content_suggestions_commands.h [add] https://crrev.com/1a687256189f82e98c8e79d0d7088580eb9f7a03/ios/chrome/browser/ui/content_suggestions/content_suggestions_header_commands.h [modify] https://crrev.com/1a687256189f82e98c8e79d0d7088580eb9f7a03/ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.h [modify] https://crrev.com/1a687256189f82e98c8e79d0d7088580eb9f7a03/ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.mm [modify] https://crrev.com/1a687256189f82e98c8e79d0d7088580eb9f7a03/ios/showcase/content_suggestions/sc_content_suggestions_egtest.mm
Comment 1 by bugdroid1@chromium.org
, Mar 23 2017