13 calls to WorkspaceTestUtilities::switchToWorkspace()

PathWorkspacesTest::testPathAliases in core/modules/workspaces/tests/src/Functional/PathWorkspacesTest.php
Tests path aliases with workspaces.
PathWorkspacesTest::testPathAliasesUserSwitch in core/modules/workspaces/tests/src/Functional/PathWorkspacesTest.php
Tests path aliases with workspaces and user switching.
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.
WorkspaceEntityDeleteTest::testNodeDeleteWithBypassAccessPermission in core/modules/workspaces/tests/src/Functional/WorkspaceEntityDeleteTest.php
Test node deletion with workspaces and the 'bypass node access' permission.
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.
WorkspaceTest::testWorkspaceManagePage in core/modules/workspaces/tests/src/Functional/WorkspaceTest.php
Tests the manage workspace page.
WorkspaceViewsBulkFormTest::setUp in core/modules/workspaces/tests/src/Functional/WorkspaceViewsBulkFormTest.php

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