reverted: --- b/core/modules/node/src/Tests/NodeTranslationUITest.php +++ a/core/modules/node/src/Tests/NodeTranslationUITest.php @@ -21,15 +21,13 @@ */ protected $defaultCacheContexts = [ 'languages:language_interface', + 'session', 'theme', 'route', 'timezone', 'url.path.parent', 'url.query_args:_wrapper_format', + 'user' - 'user.roles', - // These two cache contexts are added by BigPipe. - 'cookies:big_pipe_nojs', - 'session.exists', ]; /** only in patch2: unchanged: --- a/core/modules/node/tests/src/Functional/NodeTranslationUITest.php +++ b/core/modules/node/tests/src/Functional/NodeTranslationUITest.php @@ -21,13 +21,15 @@ class NodeTranslationUITest extends ContentTranslationUITestBase { */ protected $defaultCacheContexts = [ 'languages:language_interface', - 'session', 'theme', 'route', 'timezone', 'url.path.parent', 'url.query_args:_wrapper_format', - 'user' + 'user.roles', + // These two cache contexts are added by BigPipe. + 'cookies:big_pipe_nojs', + 'session.exists', ]; /**