11 calls to WorkspaceTestUtilities::switchToWorkspace()

PathWorkspacesTest::testPathAliasesWithTranslation in core/modules/workspaces/tests/src/Functional/PathWorkspacesTest.php
Tests path aliases with workspaces for translatable nodes.
WorkspaceBypassTest::testBypassOwnWorkspace in core/modules/workspaces/tests/src/Functional/WorkspaceBypassTest.php
Verifies that a user can edit anything in a workspace they own.
WorkspaceConcurrentEditingTest::testConcurrentEditing in core/modules/workspaces/tests/src/Functional/WorkspaceConcurrentEditingTest.php
Tests editing a node in multiple workspaces.
WorkspaceContentModerationIntegrationTest::testModerationInWorkspace in core/modules/content_moderation/tests/src/Functional/WorkspaceContentModerationIntegrationTest.php
Tests moderating nodes in a workspace.
WorkspaceEntityDeleteTest::testEntityDelete in core/modules/workspaces/tests/src/Functional/WorkspaceEntityDeleteTest.php
Test entity deletion with workspaces.
WorkspaceMenuLinkContentIntegrationTest::testWorkspacesWithCustomMenuLinks in core/modules/workspaces/tests/src/Functional/WorkspaceMenuLinkContentIntegrationTest.php
Tests custom menu links in non-default workspaces.
WorkspacesLayoutBuilderIntegrationTest::testBlockDeletionInWorkspaces in core/modules/workspaces/tests/src/FunctionalJavascript/WorkspacesLayoutBuilderIntegrationTest.php
Tests that blocks can be deleted inside workspaces.
WorkspacesLayoutBuilderIntegrationTest::testBlocksInWorkspaces in core/modules/workspaces/tests/src/FunctionalJavascript/WorkspacesLayoutBuilderIntegrationTest.php
Tests changing a layout/blocks inside a workspace.
WorkspacesLayoutBuilderIntegrationTest::testWorkspacesLayoutTempstore in core/modules/workspaces/tests/src/FunctionalJavascript/WorkspacesLayoutBuilderIntegrationTest.php
Tests workspace specific layout tempstore data.
WorkspaceSwitcherTest::testSwitchingWorkspaces in core/modules/workspaces/tests/src/Functional/WorkspaceSwitcherTest.php
Tests switching workspace via the switcher block and admin page.
WorkspaceTest::testWorkspaceManagePage in core/modules/workspaces/tests/src/Functional/WorkspaceTest.php
Tests the manage workspace page.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.