Commit e87ca69f authored by David Jean's avatar David Jean Committed by Commit Bot

[ios] Restore disabled session restoration related tests

Bug: 1108395,1108433
Change-Id: Id936266c054b84e038e2a6dacfb12a7f646bceb6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2450075
Auto-Submit: David Jean <djean@chromium.org>
Reviewed-by: default avatarStepan Khapugin <stkhapugin@chromium.org>
Reviewed-by: default avatarMark Cogan <marq@chromium.org>
Commit-Queue: Mark Cogan <marq@chromium.org>
Cr-Commit-Position: refs/heads/master@{#816169}
parent f5479bbc
......@@ -449,7 +449,6 @@ source_set("eg2_tests") {
"//ios/chrome/browser:chrome_url_constants",
"//ios/chrome/browser/ui/infobars/banners:public",
"//ios/chrome/browser/ui/popup_menu:constants",
"//ios/chrome/browser/ui/util:multiwindow_util",
"//ios/chrome/test:eg_test_support+eg2",
"//ios/chrome/test/earl_grey:eg_test_support+eg2",
"//ios/net:test_support",
......
......@@ -5,7 +5,6 @@
#include "base/bind.h"
#include "base/strings/sys_string_conversions.h"
#import "base/test/ios/wait_util.h"
#import "ios/chrome/browser/ui/util/multi_window_support.h"
#import "ios/chrome/test/earl_grey/chrome_earl_grey.h"
#import "ios/chrome/test/earl_grey/chrome_earl_grey_ui.h"
#import "ios/chrome/test/earl_grey/chrome_matchers.h"
......@@ -191,10 +190,6 @@ bool WaitForOmniboxContaining(std::string text) {
// Tests that only the selected web state is loaded Restore-after-Crash. This
// is only possible in EG2.
- (void)testRestoreOneWebstateOnlyAfterCrash {
if (IsSceneStartupSupported()) {
// TODO(crbug.com/1108433): Session restoration not available yet in MW.
EARL_GREY_TEST_DISABLED(@"Disabled in Multiwindow.");
}
// Visit the background page.
int visitCounter = 0;
self.testServer->RegisterRequestHandler(
......
......@@ -197,7 +197,6 @@ source_set("eg2_tests") {
"//ios/chrome/browser:pref_names",
"//ios/chrome/browser/ui:feature_flags",
"//ios/chrome/browser/ui/settings/password:password_constants",
"//ios/chrome/browser/ui/util:multiwindow_util",
"//ios/chrome/test/earl_grey:eg_test_support+eg2",
"//ios/testing/earl_grey:eg_test_support+eg2",
"//ios/third_party/earl_grey2:test_lib",
......
......@@ -8,7 +8,6 @@
#include "ios/chrome/browser/pref_names.h"
#import "ios/chrome/browser/ui/settings/password/passwords_table_view_constants.h"
#import "ios/chrome/browser/ui/ui_feature_flags.h"
#import "ios/chrome/browser/ui/util/multi_window_support.h"
#include "ios/chrome/grit/ios_strings.h"
#import "ios/chrome/test/earl_grey/chrome_actions.h"
#import "ios/chrome/test/earl_grey/chrome_earl_grey.h"
......@@ -261,10 +260,6 @@
// Tests hard kill(crash) through AppLaunchManager.
- (void)testAppLaunchManagerForceRelaunchByKilling {
if (IsSceneStartupSupported()) {
// TODO(crbug.com/1108395): Session restoration not available yet in MW.
EARL_GREY_TEST_DISABLED(@"Disabled in Multiwindow.");
}
[ChromeEarlGrey openNewTab];
[[AppLaunchManager sharedManager] ensureAppLaunchedWithFeaturesEnabled:{}
disabled:{}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment