Original test is actually disabled. By commenting out the code :)
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/bb00a30f5de32cf70af86737eb3013a7e82e14ce commit bb00a30f5de32cf70af86737eb3013a7e82e14ce Author: eugenebut <eugenebut@chromium.org> Date: Wed Jul 20 16:56:04 2016 [ios] EarlGrey test for scroll position restoration. BUG= 629116 Review-Url: https://codereview.chromium.org/2167533002 Cr-Commit-Position: refs/heads/master@{#406588} [modify] https://crrev.com/bb00a30f5de32cf70af86737eb3013a7e82e14ce/ios/web/ios_web_shell_tests.gyp [modify] https://crrev.com/bb00a30f5de32cf70af86737eb3013a7e82e14ce/ios/web/public/test/earl_grey/web_view_matchers.h [modify] https://crrev.com/bb00a30f5de32cf70af86737eb3013a7e82e14ce/ios/web/public/test/earl_grey/web_view_matchers.mm [modify] https://crrev.com/bb00a30f5de32cf70af86737eb3013a7e82e14ce/ios/web/shell/test/app/web_view_interaction_test_util.h [modify] https://crrev.com/bb00a30f5de32cf70af86737eb3013a7e82e14ce/ios/web/shell/test/earl_grey/shell_matchers.h [modify] https://crrev.com/bb00a30f5de32cf70af86737eb3013a7e82e14ce/ios/web/shell/test/earl_grey/shell_matchers.mm [add] https://crrev.com/bb00a30f5de32cf70af86737eb3013a7e82e14ce/ios/web/shell/test/http_server_files/tall_page.html [add] https://crrev.com/bb00a30f5de32cf70af86737eb3013a7e82e14ce/ios/web/shell/test/web_shell_page_state_egtest.mm
Test has landed, but we need to cleanup some code that waits for URL load.
Also use grey_scrollViewContentOffset instead of custom written matcher: https://critique.corp.google.com/#review/128111275/depot/google3/third_party/objective_c/EarlGrey/EarlGrey/Matcher/GREYMatchers.h
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/2ad909df2d15b52492d6f924b2745062e69779ef commit 2ad909df2d15b52492d6f924b2745062e69779ef Author: eugenebut <eugenebut@chromium.org> Date: Fri Sep 16 18:44:47 2016 [ios] Use +[ShellEarlGrey loadURL:] for page loading in EG tests. Unlike web::shell_test_util::LoadUrl this new method waits until the load is completed. BUG= 629116 Review-Url: https://codereview.chromium.org/2343453002 Cr-Commit-Position: refs/heads/master@{#419231} [modify] https://crrev.com/2ad909df2d15b52492d6f924b2745062e69779ef/ios/web/shell/test/context_menu_egtest.mm [modify] https://crrev.com/2ad909df2d15b52492d6f924b2745062e69779ef/ios/web/shell/test/meta_tags_egtest.mm [modify] https://crrev.com/2ad909df2d15b52492d6f924b2745062e69779ef/ios/web/shell/test/navigation_egtest.mm [modify] https://crrev.com/2ad909df2d15b52492d6f924b2745062e69779ef/ios/web/shell/test/page_state_egtest.mm [modify] https://crrev.com/2ad909df2d15b52492d6f924b2745062e69779ef/ios/web/shell/test/pdf_egtest.mm [modify] https://crrev.com/2ad909df2d15b52492d6f924b2745062e69779ef/ios/web/shell/test/plugin_placeholder_egtest.mm [modify] https://crrev.com/2ad909df2d15b52492d6f924b2745062e69779ef/ios/web/shell/test/redirect_egtest.mm
Comment 1 by bugdroid1@chromium.org
, Jul 20 2016