Skip to content
Snippets Groups Projects
Commit dd16e9e8 authored by catch's avatar catch
Browse files

Issue #3285193 by Lendude, xjm: Temporarily skip random test failures that...

Issue #3285193 by Lendude, xjm: Temporarily skip random test failures that hide real test failures, part 4
parent cadc4132
No related branches found
No related tags found
No related merge requests found
......@@ -62,6 +62,7 @@ public function testValidationMessage() {
$page->findLink('Add block')->click();
$this->assertNotEmpty($assert_session->waitForElementVisible('css', '#drupal-off-canvas .block-categories'));
$page->findLink('Powered by Drupal')->click();
$this->markTestSkipped("Skipped temporarily for random fails.");
$this->assertNotEmpty($assert_session->waitForElementVisible('css', '#drupal-off-canvas [name="settings[label]"]'));
$page->findField('Title')->setValue('');
$page->findButton('Add block')->click();
......
......@@ -127,6 +127,7 @@ protected function addBlock($block_name) {
* @internal
*/
protected function assertCorrectContextualLinksInUi(): void {
$this->markTestSkipped("Skipped temporarily for random fails.");
$assert_session = $this->assertSession();
$page = $this->getSession()->getPage();
$this->assertNotEmpty($assert_session->waitForElementVisible('css', '.block-views-blocktest-block-view-block-2'));
......
......@@ -284,6 +284,7 @@ private function assertHighlightedElement(string $selector): void {
* Waits for the dialog to close and confirms no highlights are present.
*/
private function assertHighlightNotExists(): void {
$this->markTestSkipped("Skipped temporarily for random fails.");
$assert_session = $this->assertSession();
$assert_session->assertNoElementAfterWait('css', '#drupal-off-canvas');
......
......@@ -63,6 +63,7 @@ protected function setUp(): void {
'.block-extra-field-blocknodebundle-with-section-fieldlinks',
'.block-field-blocknodebundle-with-section-fieldbody',
];
$this->markTestSkipped("Skipped temporarily for random fails.");
$this->assertRegionBlocksOrder(0, 'content', $expected_block_order);
// Add a top section using the Two column layout.
......@@ -114,6 +115,7 @@ public function testMoveBlock() {
// Move the body block into the first region above existing block.
$this->openBodyMoveForm(1, 'content', ['Body (current)', 'Links']);
$page->selectFieldOption('Region', '0:first');
$this->markTestSkipped("Skipped temporarily for random fails.");
$this->assertBlockTable(['Powered by Drupal', 'Body (current)']);
$this->moveBlockWithKeyboard('up', 'Body', ['Body (current)*', 'Powered by Drupal']);
$page->pressButton('Move');
......
......@@ -225,6 +225,7 @@ public function testWidget() {
$session->getPage()->fillField('Name', 'Dog');
$session->getPage()->pressButton('Apply filters');
$this->waitForText('Dog');
$this->markTestSkipped("Skipped temporarily for random fails.");
$this->waitForNoText('Bear');
$session->getPage()->fillField('Name', '');
$session->getPage()->pressButton('Apply filters');
......
......@@ -241,6 +241,7 @@ public function testEditModeEnableDisable() {
case 'contextual_link':
$this->clickContextualLink($this->getBlockSelector($block), "Quick edit");
$this->waitForOffCanvasToOpen();
$this->markTestSkipped("Skipped temporarily for random fails.");
$this->assertEditModeEnabled();
break;
......
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