Issue #3267124 by longwave, alexpott: Temporarily skip failing tests

(cherry picked from commit 6e739530e3)
merge-requests/1975/head
catch 2022-03-01 21:59:48 +00:00 committed by xjm
parent 5e99b3b11b
commit 3e378438fd
4 changed files with 4 additions and 0 deletions

View File

@ -83,6 +83,7 @@ class AjaxBlockTest extends WebDriverTestBase {
// Find the radio buttons. // Find the radio buttons.
$name = 'settings[ajax_test]'; $name = 'settings[ajax_test]';
/** @var \Behat\Mink\Element\NodeElement[] $radios */ /** @var \Behat\Mink\Element\NodeElement[] $radios */
$this->markTestSkipped('Temporarily skipped due to random failures.');
$radios = $this->assertSession()->fieldExists($name); $radios = $this->assertSession()->fieldExists($name);
// Click them both a couple of times. // Click them both a couple of times.
foreach ([1, 2] as $rounds) { foreach ([1, 2] as $rounds) {

View File

@ -92,6 +92,7 @@ class ContentPreviewToggleTest extends WebDriverTestBase {
$this->getSession()->reload(); $this->getSession()->reload();
$this->assertNotEmpty($assert_session->waitForElement('css', '.layout-builder-block__content-preview-placeholder-label')); $this->assertNotEmpty($assert_session->waitForElement('css', '.layout-builder-block__content-preview-placeholder-label'));
$assert_session->pageTextNotContains($content_preview_body_text); $assert_session->pageTextNotContains($content_preview_body_text);
$this->markTestSkipped('Temporarily skipped due to random failures.');
$this->assertContextualLinks(); $this->assertContextualLinks();
// Confirm repositioning blocks works with content preview disabled. // Confirm repositioning blocks works with content preview disabled.

View File

@ -228,6 +228,7 @@ class LayoutBuilderDisableInteractionsTest extends WebDriverTestBase {
$this->clickContextualLink('.block-field-blocknodebundle-with-section-fieldbody [data-contextual-id^="layout_builder_block"]', 'Configure'); $this->clickContextualLink('.block-field-blocknodebundle-with-section-fieldbody [data-contextual-id^="layout_builder_block"]', 'Configure');
$this->assertNotEmpty($assert_session->waitForElementVisible('css', '#drupal-off-canvas')); $this->assertNotEmpty($assert_session->waitForElementVisible('css', '#drupal-off-canvas'));
$page->pressButton('Close'); $page->pressButton('Close');
$this->markTestSkipped('Temporarily skipped due to random failures.');
$assert_session->assertNoElementAfterWait('css', '#drupal-off-canvas'); $assert_session->assertNoElementAfterWait('css', '#drupal-off-canvas');
$this->assertContextualLinkRetainsMouseup(); $this->assertContextualLinkRetainsMouseup();
} }

View File

@ -312,6 +312,7 @@ class LayoutBuilderTest extends WebDriverTestBase {
$this->clickLink('Add section'); $this->clickLink('Add section');
$assert_session->waitForElementVisible('named', ['link', 'Layout plugin (with settings)']); $assert_session->waitForElementVisible('named', ['link', 'Layout plugin (with settings)']);
$this->clickLink('Layout plugin (with settings)'); $this->clickLink('Layout plugin (with settings)');
$this->markTestSkipped('Temporarily skipped due to random failures.');
$this->assertOffCanvasFormAfterWait('layout_builder_configure_section'); $this->assertOffCanvasFormAfterWait('layout_builder_configure_section');
$page->fillField('layout_settings[setting_1]', 'Test Validation Error Message'); $page->fillField('layout_settings[setting_1]', 'Test Validation Error Message');
$page->pressButton('Add section'); $page->pressButton('Add section');