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

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

View File

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

View File

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

View File

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

View File

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