Skip to content
Snippets Groups Projects
Verified Commit b0573731 authored by Théodore Biadala's avatar Théodore Biadala
Browse files

Issue #3468827 by catch, smustgrave: Speed up BigPipeRegressionTest

(cherry picked from commit aae2ffb6)
parent ae83dab2
No related branches found
No related tags found
10 merge requests!10602Issue #3438769 by vinmayiswamy, antonnavi, michelle, amateescu: Sub workspace does not clear,!10301Issue #3469309 by mstrelan, smustgrave, moshe weitzman: Use one-time login...,!10187Issue #3487488 by dakwamine: ExtensionMimeTypeGuesser::guessMimeType must support file names with "0" (zero) like foo.0.zip,!9929Issue #3445469 by pooja_sharma, smustgrave: Add additional test coverage for...,!9787Resolve issue 3479427 - bootstrap barrio issue under Windows,!9742Issue #3463908 by catch, quietone: Split OptionsFieldUiTest into two,!9526Issue #3458177 by mondrake, catch, quietone, godotislate, longwave, larowlan,...,!6502Draft: Resolve #2938524 "Plach testing issue",!38582585169-10.1.x,!3226Issue #2987537: Custom menu link entity type should not declare "bundle" entity key
Pipeline #259792 failed
......@@ -114,13 +114,22 @@ public function testMessages_2712935(): void {
}
}
/**
* Tests edge cases with placeholder HTML.
*/
public function testPlaceholderHtmlEdgeCases(): void {
$this->drupalLogin($this->drupalCreateUser());
$this->doTestPlaceholderInParagraph_2802923();
$this->doTestBigPipeLargeContent();
$this->doTestMultipleReplacements();
}
/**
* Ensure default BigPipe placeholder HTML cannot split paragraphs.
*
* @see https://www.drupal.org/node/2802923
*/
public function testPlaceholderInParagraph_2802923(): void {
$this->drupalLogin($this->drupalCreateUser());
protected function doTestPlaceholderInParagraph_2802923(): void {
$this->drupalGet(Url::fromRoute('big_pipe_regression_test.2802923'));
$this->assertJsCondition('document.querySelectorAll(\'p\').length === 1');
......@@ -132,9 +141,7 @@ public function testPlaceholderInParagraph_2802923(): void {
* Repeat loading of same page for two times, after second time the page is
* cached and the bug consistently reproducible.
*/
public function testBigPipeLargeContent(): void {
$user = $this->drupalCreateUser();
$this->drupalLogin($user);
public function doTestBigPipeLargeContent(): void {
$assert_session = $this->assertSession();
$this->drupalGet(Url::fromRoute('big_pipe_test_large_content'));
......@@ -160,7 +167,7 @@ public function testBigPipeLargeContent(): void {
*
* @see https://www.drupal.org/node/3390178
*/
public function testMultipleReplacements(): void {
protected function doTestMultipleReplacements(): void {
$user = $this->drupalCreateUser();
$this->drupalLogin($user);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment