// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/apps/app_shim/app_shim_manager_mac.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/profiles/profile_manager.h"
#include "chrome/browser/profiles/profiles_state.h"
#include "chrome/browser/ui/startup/web_app_startup_utils.h"
#include "chrome/browser/ui/views/web_apps/web_app_integration_test_driver.h"
#include "content/public/test/browser_test.h"
namespace web_app::integration_tests {
namespace {
using WebAppIntegration = WebAppIntegrationTest;
// Manual tests:
IN_PROC_BROWSER_TEST_F(WebAppIntegration, LaunchFromAppShimFallback) {
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.CheckWindowCreated();
// Currently LaunchFromAppShimFallback doesn't quite match how a regular PWA
// launch is supposed to behave on Mac (i.e. it opens a window even if there
// already is one open). As such, this ClosePwa call is redundant today, but
// would be needed if LaunchFromAppShimFallback triggered Mac specific app
// launch logic.
helper_.ClosePwa();
helper_.LaunchFromAppShimFallback(Site::kStandalone);
helper_.CheckWindowCreated();
}
IN_PROC_BROWSER_TEST_F(WebAppIntegration,
LaunchFromAppShimFallbackSecondaryProfile) {
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.CheckWindowCreated();
helper_.ClosePwa();
// Make the default profile be the last active profile. This way we can make
// sure that launching works correctly even if the last active profile isn't
// the profile the app is installed in.
profiles::SetLastUsedProfile(base::FilePath("Default"));
EXPECT_EQ(g_browser_process->profile_manager()->GetLastUsedProfile(),
browser()->profile());
helper_.LaunchFromAppShimFallback(Site::kStandalone);
helper_.CheckWindowCreated();
}
IN_PROC_BROWSER_TEST_F(WebAppIntegration, CorruptAppShim) {
// Install and close the PWA.
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.CheckWindowCreated();
helper_.ClosePwa();
// Now mess up the shortcut.
helper_.CorruptAppShim(Site::kStandalone, AppShimCorruption::kNoExecutable);
// And verify that launching still (eventually) works.
helper_.LaunchFromChromeApps(Site::kStandalone);
helper_.CheckWindowCreated();
helper_.ClosePwa();
// Also re-launch from platform shortcut, to verify that the shortcut is fully
// working.
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckWindowCreated();
}
IN_PROC_BROWSER_TEST_F(WebAppIntegration, IncompatibleAppShim) {
// Install and close the PWA.
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.CheckWindowCreated();
helper_.ClosePwa();
// Now mess up the shortcut.
helper_.CorruptAppShim(Site::kStandalone,
AppShimCorruption::kIncompatibleVersion);
// Launching the platform shortcut should (eventually) work, even though
// the app shim won't be able to find the ChromeAppModeStart entrypoint.
// Note that this ends up triggering the same code path as the
// LaunchFromAppShimCallback test above.
// Since this launch ends up triggering the fallback launch code path,
// the regular "done" callback won't be called so make sure to forward the
// non-mac startup done callback to the app shim startup done callback.
web_app::startup::SetStartupDoneCallbackForTesting(base::BindOnce(
[]() { apps::TakeShimStartupDoneCallbackForTesting().Run(); }));
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckWindowCreated();
}
IN_PROC_BROWSER_TEST_F(WebAppIntegration, QuitAppShim) {
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.CheckWindowCreated();
helper_.QuitAppShim(Site::kStandalone);
helper_.CheckWindowClosed();
}
// Generated tests:
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_29NotPromotableWindowed_12NotPromotable_7NotPromotable_1NotPromotable_127) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.CreateShortcut(Site::kNotPromotable, WindowOptions::kWindowed);
helper_.CheckAppInListWindowed(Site::kNotPromotable);
helper_.CheckPlatformShortcutAndIcon(Site::kNotPromotable);
helper_.LaunchFromPlatformShortcut(Site::kNotPromotable);
helper_.CheckWindowNotCreated();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_31Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_1Standalone_79StandaloneStandaloneOriginal_127_26) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallOmniboxIcon(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowNotCreated();
helper_.CheckWindowDisplayStandalone();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_31Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_149Standalone_11Standalone_1Standalone_94) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallOmniboxIcon(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.SetOpenInTabFromAppSettings(Site::kStandalone);
helper_.CheckAppInListTabbed(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckTabNotCreated();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_31Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_147Standalone_11Standalone_1Standalone_94) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallOmniboxIcon(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.SetOpenInTabFromAppHome(Site::kStandalone);
helper_.CheckAppInListTabbed(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckTabNotCreated();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_31Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_28_149Standalone_1Standalone_22One_163Standalone) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallOmniboxIcon(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.ClosePwa();
helper_.SetOpenInTabFromAppSettings(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckTabCreated(Number::kOne);
helper_.CheckAppLoadedInTab(Site::kStandalone);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_31Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_28_147Standalone_1Standalone_22One_163Standalone) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallOmniboxIcon(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.ClosePwa();
helper_.SetOpenInTabFromAppHome(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckTabCreated(Number::kOne);
helper_.CheckAppLoadedInTab(Site::kStandalone);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_31Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_28_160Profile2_29StandaloneWindowed_164Standalone_1Standalone_165StandaloneOneProfile2) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallOmniboxIcon(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.ClosePwa();
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.QuitAppShim(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kProfile2);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_31Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_28_160Profile2_31Standalone_164Standalone_1Standalone_165StandaloneOneProfile2) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallOmniboxIcon(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.ClosePwa();
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.InstallOmniboxIcon(InstallableSite::kStandalone);
helper_.QuitAppShim(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kProfile2);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_31Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_28_160Profile2_47Standalone_164Standalone_1Standalone_165StandaloneOneProfile2) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallOmniboxIcon(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.ClosePwa();
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.InstallMenuOption(InstallableSite::kStandalone);
helper_.QuitAppShim(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kProfile2);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_31Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_160Profile2_29StandaloneWindowed_164Standalone_1Standalone_165StandaloneOneDefault_165StandaloneOneProfile2) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallOmniboxIcon(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.QuitAppShim(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kDefault);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kProfile2);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_31Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_160Profile2_29StandaloneWindowed_28_164Standalone_1Standalone_165StandaloneOneDefault) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallOmniboxIcon(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.ClosePwa();
helper_.QuitAppShim(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kDefault);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_31Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_160Profile2_31Standalone_164Standalone_1Standalone_165StandaloneOneDefault_165StandaloneOneProfile2) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallOmniboxIcon(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.InstallOmniboxIcon(InstallableSite::kStandalone);
helper_.QuitAppShim(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kDefault);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kProfile2);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_31Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_160Profile2_31Standalone_28_164Standalone_1Standalone_165StandaloneOneDefault) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallOmniboxIcon(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.InstallOmniboxIcon(InstallableSite::kStandalone);
helper_.ClosePwa();
helper_.QuitAppShim(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kDefault);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_31Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_160Profile2_47Standalone_164Standalone_1Standalone_165StandaloneOneDefault_165StandaloneOneProfile2) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallOmniboxIcon(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.InstallMenuOption(InstallableSite::kStandalone);
helper_.QuitAppShim(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kDefault);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kProfile2);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_31Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_160Profile2_47Standalone_28_164Standalone_1Standalone_165StandaloneOneDefault) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallOmniboxIcon(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.InstallMenuOption(InstallableSite::kStandalone);
helper_.ClosePwa();
helper_.QuitAppShim(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kDefault);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_31Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_160Profile2_32StandaloneWithShortcutWindowedWebApp_164Standalone_1Standalone_165StandaloneOneDefault) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallOmniboxIcon(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.InstallPolicyApp(Site::kStandalone, ShortcutOptions::kWithShortcut,
WindowOptions::kWindowed, InstallMode::kWebApp);
helper_.QuitAppShim(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kDefault);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_31Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_160Profile2_32StandaloneNoShortcutWindowedWebApp_164Standalone_1Standalone_165StandaloneOneDefault) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallOmniboxIcon(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.InstallPolicyApp(Site::kStandalone, ShortcutOptions::kNoShortcut,
WindowOptions::kWindowed, InstallMode::kWebApp);
helper_.QuitAppShim(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kDefault);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_31Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_160Profile2_29StandaloneBrowser_164Standalone_1Standalone_165StandaloneOneDefault) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallOmniboxIcon(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kBrowser);
helper_.QuitAppShim(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kDefault);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_31Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_74Standalone_72Standalone_1Standalone_127) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallOmniboxIcon(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.DeletePlatformShortcut(Site::kStandalone);
helper_.CreateShortcutsFromList(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckWindowNotCreated();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_31Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_32StandaloneNoShortcutBrowserWebApp_7Standalone_12Standalone_1Standalone_127) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallOmniboxIcon(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.InstallPolicyApp(Site::kStandalone, ShortcutOptions::kNoShortcut,
WindowOptions::kBrowser, InstallMode::kWebApp);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckWindowNotCreated();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_31Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_32StandaloneWithShortcutBrowserWebApp_12Standalone_1Standalone_127) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallOmniboxIcon(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.InstallPolicyApp(Site::kStandalone, ShortcutOptions::kWithShortcut,
WindowOptions::kBrowser, InstallMode::kWebApp);
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckWindowNotCreated();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_31Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_116StandaloneBrowser_143_117Standalone_69Standalone_24_94_25) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallOmniboxIcon(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.ManifestUpdateDisplay(Site::kStandalone, Display::kBrowser);
helper_.MaybeClosePwa();
helper_.AwaitManifestUpdate(Site::kStandalone);
helper_.LaunchFromMenuOption(Site::kStandalone);
helper_.CheckWindowCreated();
helper_.CheckTabNotCreated();
helper_.CheckWindowDisplayMinimal();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_31Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_116StandaloneBrowser_143_117Standalone_35Standalone_24_94_25) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallOmniboxIcon(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.ManifestUpdateDisplay(Site::kStandalone, Display::kBrowser);
helper_.MaybeClosePwa();
helper_.AwaitManifestUpdate(Site::kStandalone);
helper_.LaunchFromLaunchIcon(Site::kStandalone);
helper_.CheckWindowCreated();
helper_.CheckTabNotCreated();
helper_.CheckWindowDisplayMinimal();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_31Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_116StandaloneBrowser_143_117Standalone_34Standalone_24_94_25) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallOmniboxIcon(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.ManifestUpdateDisplay(Site::kStandalone, Display::kBrowser);
helper_.MaybeClosePwa();
helper_.AwaitManifestUpdate(Site::kStandalone);
helper_.LaunchFromChromeApps(Site::kStandalone);
helper_.CheckWindowCreated();
helper_.CheckTabNotCreated();
helper_.CheckWindowDisplayMinimal();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_31Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_116StandaloneBrowser_143_117Standalone_1Standalone_24_94_25) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallOmniboxIcon(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.ManifestUpdateDisplay(Site::kStandalone, Display::kBrowser);
helper_.MaybeClosePwa();
helper_.AwaitManifestUpdate(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckWindowCreated();
helper_.CheckTabNotCreated();
helper_.CheckWindowDisplayMinimal();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_31Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_116StandaloneMinimalUi_143_117Standalone_69Standalone_24_94_25) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallOmniboxIcon(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.ManifestUpdateDisplay(Site::kStandalone, Display::kMinimalUi);
helper_.MaybeClosePwa();
helper_.AwaitManifestUpdate(Site::kStandalone);
helper_.LaunchFromMenuOption(Site::kStandalone);
helper_.CheckWindowCreated();
helper_.CheckTabNotCreated();
helper_.CheckWindowDisplayMinimal();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_31Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_116StandaloneMinimalUi_143_117Standalone_35Standalone_24_94_25) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallOmniboxIcon(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.ManifestUpdateDisplay(Site::kStandalone, Display::kMinimalUi);
helper_.MaybeClosePwa();
helper_.AwaitManifestUpdate(Site::kStandalone);
helper_.LaunchFromLaunchIcon(Site::kStandalone);
helper_.CheckWindowCreated();
helper_.CheckTabNotCreated();
helper_.CheckWindowDisplayMinimal();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_31Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_116StandaloneMinimalUi_143_117Standalone_34Standalone_24_94_25) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallOmniboxIcon(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.ManifestUpdateDisplay(Site::kStandalone, Display::kMinimalUi);
helper_.MaybeClosePwa();
helper_.AwaitManifestUpdate(Site::kStandalone);
helper_.LaunchFromChromeApps(Site::kStandalone);
helper_.CheckWindowCreated();
helper_.CheckTabNotCreated();
helper_.CheckWindowDisplayMinimal();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_31Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_116StandaloneMinimalUi_143_117Standalone_1Standalone_24_94_25) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallOmniboxIcon(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.ManifestUpdateDisplay(Site::kStandalone, Display::kMinimalUi);
helper_.MaybeClosePwa();
helper_.AwaitManifestUpdate(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckWindowCreated();
helper_.CheckTabNotCreated();
helper_.CheckWindowDisplayMinimal();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_47Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_1Standalone_79StandaloneStandaloneOriginal_127_26) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallMenuOption(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowNotCreated();
helper_.CheckWindowDisplayStandalone();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_47Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_149Standalone_11Standalone_1Standalone_94) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallMenuOption(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.SetOpenInTabFromAppSettings(Site::kStandalone);
helper_.CheckAppInListTabbed(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckTabNotCreated();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_47Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_147Standalone_11Standalone_1Standalone_94) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallMenuOption(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.SetOpenInTabFromAppHome(Site::kStandalone);
helper_.CheckAppInListTabbed(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckTabNotCreated();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_47Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_28_149Standalone_1Standalone_22One_163Standalone) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallMenuOption(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.ClosePwa();
helper_.SetOpenInTabFromAppSettings(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckTabCreated(Number::kOne);
helper_.CheckAppLoadedInTab(Site::kStandalone);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_47Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_28_147Standalone_1Standalone_22One_163Standalone) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallMenuOption(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.ClosePwa();
helper_.SetOpenInTabFromAppHome(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckTabCreated(Number::kOne);
helper_.CheckAppLoadedInTab(Site::kStandalone);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_47Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_28_160Profile2_29StandaloneWindowed_164Standalone_1Standalone_165StandaloneOneProfile2) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallMenuOption(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.ClosePwa();
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.QuitAppShim(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kProfile2);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_47Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_28_160Profile2_31Standalone_164Standalone_1Standalone_165StandaloneOneProfile2) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallMenuOption(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.ClosePwa();
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.InstallOmniboxIcon(InstallableSite::kStandalone);
helper_.QuitAppShim(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kProfile2);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_47Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_28_160Profile2_47Standalone_164Standalone_1Standalone_165StandaloneOneProfile2) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallMenuOption(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.ClosePwa();
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.InstallMenuOption(InstallableSite::kStandalone);
helper_.QuitAppShim(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kProfile2);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_47Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_160Profile2_29StandaloneWindowed_164Standalone_1Standalone_165StandaloneOneDefault_165StandaloneOneProfile2) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallMenuOption(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.QuitAppShim(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kDefault);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kProfile2);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_47Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_160Profile2_29StandaloneWindowed_28_164Standalone_1Standalone_165StandaloneOneDefault) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallMenuOption(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.ClosePwa();
helper_.QuitAppShim(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kDefault);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_47Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_160Profile2_31Standalone_164Standalone_1Standalone_165StandaloneOneDefault_165StandaloneOneProfile2) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallMenuOption(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.InstallOmniboxIcon(InstallableSite::kStandalone);
helper_.QuitAppShim(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kDefault);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kProfile2);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_47Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_160Profile2_31Standalone_28_164Standalone_1Standalone_165StandaloneOneDefault) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallMenuOption(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.InstallOmniboxIcon(InstallableSite::kStandalone);
helper_.ClosePwa();
helper_.QuitAppShim(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kDefault);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_47Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_160Profile2_47Standalone_164Standalone_1Standalone_165StandaloneOneDefault_165StandaloneOneProfile2) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallMenuOption(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.InstallMenuOption(InstallableSite::kStandalone);
helper_.QuitAppShim(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kDefault);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kProfile2);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_47Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_160Profile2_47Standalone_28_164Standalone_1Standalone_165StandaloneOneDefault) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallMenuOption(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.InstallMenuOption(InstallableSite::kStandalone);
helper_.ClosePwa();
helper_.QuitAppShim(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kDefault);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_47Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_160Profile2_32StandaloneWithShortcutWindowedWebApp_164Standalone_1Standalone_165StandaloneOneDefault) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallMenuOption(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.InstallPolicyApp(Site::kStandalone, ShortcutOptions::kWithShortcut,
WindowOptions::kWindowed, InstallMode::kWebApp);
helper_.QuitAppShim(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kDefault);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_47Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_160Profile2_32StandaloneNoShortcutWindowedWebApp_164Standalone_1Standalone_165StandaloneOneDefault) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallMenuOption(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.InstallPolicyApp(Site::kStandalone, ShortcutOptions::kNoShortcut,
WindowOptions::kWindowed, InstallMode::kWebApp);
helper_.QuitAppShim(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kDefault);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_47Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_160Profile2_29StandaloneBrowser_164Standalone_1Standalone_165StandaloneOneDefault) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallMenuOption(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kBrowser);
helper_.QuitAppShim(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kDefault);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_47Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_74Standalone_72Standalone_1Standalone_127) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallMenuOption(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.DeletePlatformShortcut(Site::kStandalone);
helper_.CreateShortcutsFromList(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckWindowNotCreated();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_47Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_32StandaloneNoShortcutBrowserWebApp_7Standalone_12Standalone_1Standalone_127) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallMenuOption(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.InstallPolicyApp(Site::kStandalone, ShortcutOptions::kNoShortcut,
WindowOptions::kBrowser, InstallMode::kWebApp);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckWindowNotCreated();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_47Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_32StandaloneWithShortcutBrowserWebApp_12Standalone_1Standalone_127) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallMenuOption(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.InstallPolicyApp(Site::kStandalone, ShortcutOptions::kWithShortcut,
WindowOptions::kBrowser, InstallMode::kWebApp);
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckWindowNotCreated();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_47Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_116StandaloneBrowser_143_117Standalone_69Standalone_24_94_25) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallMenuOption(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.ManifestUpdateDisplay(Site::kStandalone, Display::kBrowser);
helper_.MaybeClosePwa();
helper_.AwaitManifestUpdate(Site::kStandalone);
helper_.LaunchFromMenuOption(Site::kStandalone);
helper_.CheckWindowCreated();
helper_.CheckTabNotCreated();
helper_.CheckWindowDisplayMinimal();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_47Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_116StandaloneBrowser_143_117Standalone_35Standalone_24_94_25) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallMenuOption(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.ManifestUpdateDisplay(Site::kStandalone, Display::kBrowser);
helper_.MaybeClosePwa();
helper_.AwaitManifestUpdate(Site::kStandalone);
helper_.LaunchFromLaunchIcon(Site::kStandalone);
helper_.CheckWindowCreated();
helper_.CheckTabNotCreated();
helper_.CheckWindowDisplayMinimal();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_47Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_116StandaloneBrowser_143_117Standalone_34Standalone_24_94_25) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallMenuOption(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.ManifestUpdateDisplay(Site::kStandalone, Display::kBrowser);
helper_.MaybeClosePwa();
helper_.AwaitManifestUpdate(Site::kStandalone);
helper_.LaunchFromChromeApps(Site::kStandalone);
helper_.CheckWindowCreated();
helper_.CheckTabNotCreated();
helper_.CheckWindowDisplayMinimal();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_47Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_116StandaloneBrowser_143_117Standalone_1Standalone_24_94_25) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallMenuOption(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.ManifestUpdateDisplay(Site::kStandalone, Display::kBrowser);
helper_.MaybeClosePwa();
helper_.AwaitManifestUpdate(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckWindowCreated();
helper_.CheckTabNotCreated();
helper_.CheckWindowDisplayMinimal();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_47Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_116StandaloneMinimalUi_143_117Standalone_69Standalone_24_94_25) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallMenuOption(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.ManifestUpdateDisplay(Site::kStandalone, Display::kMinimalUi);
helper_.MaybeClosePwa();
helper_.AwaitManifestUpdate(Site::kStandalone);
helper_.LaunchFromMenuOption(Site::kStandalone);
helper_.CheckWindowCreated();
helper_.CheckTabNotCreated();
helper_.CheckWindowDisplayMinimal();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_47Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_116StandaloneMinimalUi_143_117Standalone_35Standalone_24_94_25) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallMenuOption(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.ManifestUpdateDisplay(Site::kStandalone, Display::kMinimalUi);
helper_.MaybeClosePwa();
helper_.AwaitManifestUpdate(Site::kStandalone);
helper_.LaunchFromLaunchIcon(Site::kStandalone);
helper_.CheckWindowCreated();
helper_.CheckTabNotCreated();
helper_.CheckWindowDisplayMinimal();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_47Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_116StandaloneMinimalUi_143_117Standalone_34Standalone_24_94_25) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallMenuOption(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.ManifestUpdateDisplay(Site::kStandalone, Display::kMinimalUi);
helper_.MaybeClosePwa();
helper_.AwaitManifestUpdate(Site::kStandalone);
helper_.LaunchFromChromeApps(Site::kStandalone);
helper_.CheckWindowCreated();
helper_.CheckTabNotCreated();
helper_.CheckWindowDisplayMinimal();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_47Standalone_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_116StandaloneMinimalUi_143_117Standalone_1Standalone_24_94_25) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallMenuOption(InstallableSite::kStandalone);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.ManifestUpdateDisplay(Site::kStandalone, Display::kMinimalUi);
helper_.MaybeClosePwa();
helper_.AwaitManifestUpdate(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckWindowCreated();
helper_.CheckTabNotCreated();
helper_.CheckWindowDisplayMinimal();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_32StandaloneWithShortcutWindowedWebApp_79StandaloneStandaloneOriginal_12Standalone_7Standalone_116StandaloneBrowser_143_117Standalone_69Standalone_24_94_25) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallPolicyApp(Site::kStandalone, ShortcutOptions::kWithShortcut,
WindowOptions::kWindowed, InstallMode::kWebApp);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.ManifestUpdateDisplay(Site::kStandalone, Display::kBrowser);
helper_.MaybeClosePwa();
helper_.AwaitManifestUpdate(Site::kStandalone);
helper_.LaunchFromMenuOption(Site::kStandalone);
helper_.CheckWindowCreated();
helper_.CheckTabNotCreated();
helper_.CheckWindowDisplayMinimal();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_32StandaloneWithShortcutWindowedWebApp_79StandaloneStandaloneOriginal_12Standalone_7Standalone_116StandaloneBrowser_143_117Standalone_35Standalone_24_94_25) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallPolicyApp(Site::kStandalone, ShortcutOptions::kWithShortcut,
WindowOptions::kWindowed, InstallMode::kWebApp);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.ManifestUpdateDisplay(Site::kStandalone, Display::kBrowser);
helper_.MaybeClosePwa();
helper_.AwaitManifestUpdate(Site::kStandalone);
helper_.LaunchFromLaunchIcon(Site::kStandalone);
helper_.CheckWindowCreated();
helper_.CheckTabNotCreated();
helper_.CheckWindowDisplayMinimal();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_32StandaloneWithShortcutWindowedWebApp_79StandaloneStandaloneOriginal_12Standalone_7Standalone_116StandaloneBrowser_143_117Standalone_34Standalone_24_94_25) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallPolicyApp(Site::kStandalone, ShortcutOptions::kWithShortcut,
WindowOptions::kWindowed, InstallMode::kWebApp);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.ManifestUpdateDisplay(Site::kStandalone, Display::kBrowser);
helper_.MaybeClosePwa();
helper_.AwaitManifestUpdate(Site::kStandalone);
helper_.LaunchFromChromeApps(Site::kStandalone);
helper_.CheckWindowCreated();
helper_.CheckTabNotCreated();
helper_.CheckWindowDisplayMinimal();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_32StandaloneWithShortcutWindowedWebApp_79StandaloneStandaloneOriginal_12Standalone_7Standalone_116StandaloneBrowser_143_117Standalone_1Standalone_24_94_25) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallPolicyApp(Site::kStandalone, ShortcutOptions::kWithShortcut,
WindowOptions::kWindowed, InstallMode::kWebApp);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.ManifestUpdateDisplay(Site::kStandalone, Display::kBrowser);
helper_.MaybeClosePwa();
helper_.AwaitManifestUpdate(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckWindowCreated();
helper_.CheckTabNotCreated();
helper_.CheckWindowDisplayMinimal();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_32StandaloneWithShortcutWindowedWebApp_79StandaloneStandaloneOriginal_12Standalone_7Standalone_116StandaloneMinimalUi_143_117Standalone_69Standalone_24_94_25) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallPolicyApp(Site::kStandalone, ShortcutOptions::kWithShortcut,
WindowOptions::kWindowed, InstallMode::kWebApp);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.ManifestUpdateDisplay(Site::kStandalone, Display::kMinimalUi);
helper_.MaybeClosePwa();
helper_.AwaitManifestUpdate(Site::kStandalone);
helper_.LaunchFromMenuOption(Site::kStandalone);
helper_.CheckWindowCreated();
helper_.CheckTabNotCreated();
helper_.CheckWindowDisplayMinimal();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_32StandaloneWithShortcutWindowedWebApp_79StandaloneStandaloneOriginal_12Standalone_7Standalone_116StandaloneMinimalUi_143_117Standalone_35Standalone_24_94_25) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallPolicyApp(Site::kStandalone, ShortcutOptions::kWithShortcut,
WindowOptions::kWindowed, InstallMode::kWebApp);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.ManifestUpdateDisplay(Site::kStandalone, Display::kMinimalUi);
helper_.MaybeClosePwa();
helper_.AwaitManifestUpdate(Site::kStandalone);
helper_.LaunchFromLaunchIcon(Site::kStandalone);
helper_.CheckWindowCreated();
helper_.CheckTabNotCreated();
helper_.CheckWindowDisplayMinimal();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_32StandaloneWithShortcutWindowedWebApp_79StandaloneStandaloneOriginal_12Standalone_7Standalone_116StandaloneMinimalUi_143_117Standalone_34Standalone_24_94_25) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallPolicyApp(Site::kStandalone, ShortcutOptions::kWithShortcut,
WindowOptions::kWindowed, InstallMode::kWebApp);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.ManifestUpdateDisplay(Site::kStandalone, Display::kMinimalUi);
helper_.MaybeClosePwa();
helper_.AwaitManifestUpdate(Site::kStandalone);
helper_.LaunchFromChromeApps(Site::kStandalone);
helper_.CheckWindowCreated();
helper_.CheckTabNotCreated();
helper_.CheckWindowDisplayMinimal();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_32StandaloneWithShortcutWindowedWebApp_79StandaloneStandaloneOriginal_12Standalone_7Standalone_116StandaloneMinimalUi_143_117Standalone_1Standalone_24_94_25) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.InstallPolicyApp(Site::kStandalone, ShortcutOptions::kWithShortcut,
WindowOptions::kWindowed, InstallMode::kWebApp);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.ManifestUpdateDisplay(Site::kStandalone, Display::kMinimalUi);
helper_.MaybeClosePwa();
helper_.AwaitManifestUpdate(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckWindowCreated();
helper_.CheckTabNotCreated();
helper_.CheckWindowDisplayMinimal();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_29StandaloneWindowed_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_28_12Standalone_7Standalone_149Standalone_1Standalone_22One_163Standalone) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.ClosePwa();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.SetOpenInTabFromAppSettings(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckTabCreated(Number::kOne);
helper_.CheckAppLoadedInTab(Site::kStandalone);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_29StandaloneWindowed_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_28_12Standalone_7Standalone_147Standalone_1Standalone_22One_163Standalone) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.ClosePwa();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.SetOpenInTabFromAppHome(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckTabCreated(Number::kOne);
helper_.CheckAppLoadedInTab(Site::kStandalone);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_29StandaloneWindowed_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_28_12Standalone_7Standalone_160Profile2_29StandaloneWindowed_164Standalone_1Standalone_165StandaloneOneProfile2) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.ClosePwa();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.QuitAppShim(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kProfile2);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_29StandaloneWindowed_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_28_12Standalone_7Standalone_160Profile2_31Standalone_164Standalone_1Standalone_165StandaloneOneProfile2) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.ClosePwa();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.InstallOmniboxIcon(InstallableSite::kStandalone);
helper_.QuitAppShim(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kProfile2);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_29StandaloneWindowed_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_28_12Standalone_7Standalone_160Profile2_47Standalone_164Standalone_1Standalone_165StandaloneOneProfile2) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.ClosePwa();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.InstallMenuOption(InstallableSite::kStandalone);
helper_.QuitAppShim(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kProfile2);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_29StandaloneWindowed_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_1Standalone_127_26) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckWindowNotCreated();
helper_.CheckWindowDisplayStandalone();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_29StandaloneWindowed_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_149Standalone_11Standalone_1Standalone_94) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.SetOpenInTabFromAppSettings(Site::kStandalone);
helper_.CheckAppInListTabbed(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckTabNotCreated();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_29StandaloneWindowed_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_147Standalone_11Standalone_1Standalone_94) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.SetOpenInTabFromAppHome(Site::kStandalone);
helper_.CheckAppInListTabbed(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckTabNotCreated();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_29StandaloneWindowed_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_160Profile2_29StandaloneWindowed_164Standalone_1Standalone_165StandaloneOneDefault_165StandaloneOneProfile2) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.QuitAppShim(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kDefault);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kProfile2);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_29StandaloneWindowed_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_160Profile2_29StandaloneWindowed_28_164Standalone_1Standalone_165StandaloneOneDefault) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.ClosePwa();
helper_.QuitAppShim(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kDefault);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_29StandaloneWindowed_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_160Profile2_31Standalone_164Standalone_1Standalone_165StandaloneOneDefault_165StandaloneOneProfile2) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.InstallOmniboxIcon(InstallableSite::kStandalone);
helper_.QuitAppShim(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kDefault);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kProfile2);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_29StandaloneWindowed_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_160Profile2_31Standalone_28_164Standalone_1Standalone_165StandaloneOneDefault) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.InstallOmniboxIcon(InstallableSite::kStandalone);
helper_.ClosePwa();
helper_.QuitAppShim(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kDefault);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_29StandaloneWindowed_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_160Profile2_47Standalone_164Standalone_1Standalone_165StandaloneOneDefault_165StandaloneOneProfile2) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.InstallMenuOption(InstallableSite::kStandalone);
helper_.QuitAppShim(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kDefault);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kProfile2);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_29StandaloneWindowed_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_160Profile2_47Standalone_28_164Standalone_1Standalone_165StandaloneOneDefault) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.InstallMenuOption(InstallableSite::kStandalone);
helper_.ClosePwa();
helper_.QuitAppShim(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kDefault);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_29StandaloneWindowed_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_160Profile2_32StandaloneWithShortcutWindowedWebApp_164Standalone_1Standalone_165StandaloneOneDefault) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.InstallPolicyApp(Site::kStandalone, ShortcutOptions::kWithShortcut,
WindowOptions::kWindowed, InstallMode::kWebApp);
helper_.QuitAppShim(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kDefault);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_29StandaloneWindowed_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_160Profile2_32StandaloneNoShortcutWindowedWebApp_164Standalone_1Standalone_165StandaloneOneDefault) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.InstallPolicyApp(Site::kStandalone, ShortcutOptions::kNoShortcut,
WindowOptions::kWindowed, InstallMode::kWebApp);
helper_.QuitAppShim(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kDefault);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_29StandaloneWindowed_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_160Profile2_29StandaloneBrowser_164Standalone_1Standalone_165StandaloneOneDefault) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kBrowser);
helper_.QuitAppShim(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kDefault);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_29StandaloneWindowed_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_74Standalone_72Standalone_1Standalone_127) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.DeletePlatformShortcut(Site::kStandalone);
helper_.CreateShortcutsFromList(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckWindowNotCreated();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_29StandaloneWindowed_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_32StandaloneNoShortcutBrowserWebApp_7Standalone_12Standalone_1Standalone_127) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.InstallPolicyApp(Site::kStandalone, ShortcutOptions::kNoShortcut,
WindowOptions::kBrowser, InstallMode::kWebApp);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckWindowNotCreated();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_29StandaloneWindowed_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_32StandaloneWithShortcutBrowserWebApp_12Standalone_1Standalone_127) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.InstallPolicyApp(Site::kStandalone, ShortcutOptions::kWithShortcut,
WindowOptions::kBrowser, InstallMode::kWebApp);
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckWindowNotCreated();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_29StandaloneWindowed_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_116StandaloneBrowser_143_117Standalone_69Standalone_24_94_25) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.ManifestUpdateDisplay(Site::kStandalone, Display::kBrowser);
helper_.MaybeClosePwa();
helper_.AwaitManifestUpdate(Site::kStandalone);
helper_.LaunchFromMenuOption(Site::kStandalone);
helper_.CheckWindowCreated();
helper_.CheckTabNotCreated();
helper_.CheckWindowDisplayMinimal();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_29StandaloneWindowed_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_116StandaloneBrowser_143_117Standalone_35Standalone_24_94_25) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.ManifestUpdateDisplay(Site::kStandalone, Display::kBrowser);
helper_.MaybeClosePwa();
helper_.AwaitManifestUpdate(Site::kStandalone);
helper_.LaunchFromLaunchIcon(Site::kStandalone);
helper_.CheckWindowCreated();
helper_.CheckTabNotCreated();
helper_.CheckWindowDisplayMinimal();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_29StandaloneWindowed_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_116StandaloneBrowser_143_117Standalone_34Standalone_24_94_25) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.ManifestUpdateDisplay(Site::kStandalone, Display::kBrowser);
helper_.MaybeClosePwa();
helper_.AwaitManifestUpdate(Site::kStandalone);
helper_.LaunchFromChromeApps(Site::kStandalone);
helper_.CheckWindowCreated();
helper_.CheckTabNotCreated();
helper_.CheckWindowDisplayMinimal();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_29StandaloneWindowed_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_116StandaloneBrowser_143_117Standalone_1Standalone_24_94_25) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.ManifestUpdateDisplay(Site::kStandalone, Display::kBrowser);
helper_.MaybeClosePwa();
helper_.AwaitManifestUpdate(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckWindowCreated();
helper_.CheckTabNotCreated();
helper_.CheckWindowDisplayMinimal();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_29StandaloneWindowed_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_116StandaloneMinimalUi_143_117Standalone_69Standalone_24_94_25) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.ManifestUpdateDisplay(Site::kStandalone, Display::kMinimalUi);
helper_.MaybeClosePwa();
helper_.AwaitManifestUpdate(Site::kStandalone);
helper_.LaunchFromMenuOption(Site::kStandalone);
helper_.CheckWindowCreated();
helper_.CheckTabNotCreated();
helper_.CheckWindowDisplayMinimal();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_29StandaloneWindowed_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_116StandaloneMinimalUi_143_117Standalone_35Standalone_24_94_25) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.ManifestUpdateDisplay(Site::kStandalone, Display::kMinimalUi);
helper_.MaybeClosePwa();
helper_.AwaitManifestUpdate(Site::kStandalone);
helper_.LaunchFromLaunchIcon(Site::kStandalone);
helper_.CheckWindowCreated();
helper_.CheckTabNotCreated();
helper_.CheckWindowDisplayMinimal();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_29StandaloneWindowed_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_116StandaloneMinimalUi_143_117Standalone_34Standalone_24_94_25) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.ManifestUpdateDisplay(Site::kStandalone, Display::kMinimalUi);
helper_.MaybeClosePwa();
helper_.AwaitManifestUpdate(Site::kStandalone);
helper_.LaunchFromChromeApps(Site::kStandalone);
helper_.CheckWindowCreated();
helper_.CheckTabNotCreated();
helper_.CheckWindowDisplayMinimal();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_29StandaloneWindowed_79StandaloneStandaloneOriginal_24_12Standalone_7Standalone_112StandaloneNotShown_116StandaloneMinimalUi_143_117Standalone_1Standalone_24_94_25) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckWindowCreated();
helper_.CheckAppInListWindowed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.CheckWindowControlsOverlayToggle(Site::kStandalone,
IsShown::kNotShown);
helper_.ManifestUpdateDisplay(Site::kStandalone, Display::kMinimalUi);
helper_.MaybeClosePwa();
helper_.AwaitManifestUpdate(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckWindowCreated();
helper_.CheckTabNotCreated();
helper_.CheckWindowDisplayMinimal();
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_29StandaloneBrowser_79StandaloneStandaloneOriginal_11Standalone_7Standalone_160Profile2_29StandaloneWindowed_164Standalone_1Standalone_165StandaloneOneProfile2) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kBrowser);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckAppInListTabbed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kWindowed);
helper_.QuitAppShim(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kProfile2);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_29StandaloneBrowser_79StandaloneStandaloneOriginal_11Standalone_7Standalone_160Profile2_31Standalone_164Standalone_1Standalone_165StandaloneOneProfile2) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kBrowser);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckAppInListTabbed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.InstallOmniboxIcon(InstallableSite::kStandalone);
helper_.QuitAppShim(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kProfile2);
}
IN_PROC_BROWSER_TEST_F(
WebAppIntegration,
WAI_29StandaloneBrowser_79StandaloneStandaloneOriginal_11Standalone_7Standalone_160Profile2_47Standalone_164Standalone_1Standalone_165StandaloneOneProfile2) {
// Test contents are generated by script. Please do not modify!
// See `docs/webapps/why-is-this-test-failing.md` or
// `docs/webapps/integration-testing-framework` for more info.
// Sheriffs: Disabling this test is supported.
helper_.CreateShortcut(Site::kStandalone, WindowOptions::kBrowser);
helper_.CheckAppTitle(Site::kStandalone, Title::kStandaloneOriginal);
helper_.CheckAppInListTabbed(Site::kStandalone);
helper_.CheckPlatformShortcutAndIcon(Site::kStandalone);
helper_.SwitchActiveProfile(ProfileName::kProfile2);
helper_.InstallMenuOption(InstallableSite::kStandalone);
helper_.QuitAppShim(Site::kStandalone);
helper_.LaunchFromPlatformShortcut(Site::kStandalone);
helper_.CheckPwaWindowCreatedInProfile(Site::kStandalone, Number::kOne,
ProfileName::kProfile2);
}
} // namespace
} // namespace web_app::integration_tests