function BigPipeTest::assertBigPipeNoJsCookieExists
Same name and namespace in other branches
- 11.x core/modules/big_pipe/tests/src/Functional/BigPipeTest.php \Drupal\Tests\big_pipe\Functional\BigPipeTest::assertBigPipeNoJsCookieExists()
- 10 core/modules/big_pipe/tests/src/Functional/BigPipeTest.php \Drupal\Tests\big_pipe\Functional\BigPipeTest::assertBigPipeNoJsCookieExists()
Asserts whether a BigPipe no-JS cookie exists or not.
@internal
File
-
core/
modules/ big_pipe/ tests/ src/ Functional/ BigPipeTest.php, line 457
Class
- BigPipeTest
- Tests BigPipe's no-JS detection & response delivery (with and without JS).
Namespace
Drupal\Tests\big_pipe\FunctionalCode
protected function assertBigPipeNoJsCookieExists(string $expected) : void {
$this->assertCookieExists('big_pipe_nojs', $expected, 'BigPipe no-JS');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.