From fff717eaf66e9f55cb6415bef16eb6a7c338c8cd Mon Sep 17 00:00:00 2001
From: quietone <quietone@2572884.no-reply.drupal.org>
Date: Fri, 10 Nov 2023 15:41:16 +1300
Subject: [PATCH] Issue #3400315 by kim.pepper, smustgrave: Skip
 TimestampFormatterWithTimeDiffTest::testTimestampFormatterWithTimeDiff due to
 random fails

---
 .../Core/Field/TimestampFormatterWithTimeDiffTest.php           | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/core/tests/Drupal/FunctionalJavascriptTests/Core/Field/TimestampFormatterWithTimeDiffTest.php b/core/tests/Drupal/FunctionalJavascriptTests/Core/Field/TimestampFormatterWithTimeDiffTest.php
index 511de6c6c08f..d43952af1f19 100644
--- a/core/tests/Drupal/FunctionalJavascriptTests/Core/Field/TimestampFormatterWithTimeDiffTest.php
+++ b/core/tests/Drupal/FunctionalJavascriptTests/Core/Field/TimestampFormatterWithTimeDiffTest.php
@@ -86,6 +86,7 @@ protected function setUp(): void {
    * Tests the 'timestamp' formatter when is used with time difference setting.
    */
   public function testTimestampFormatterWithTimeDiff(): void {
+    $this->markTestSkipped("Skipped due to frequent random test failures. See https://www.drupal.org/project/drupal/issues/3400150");
     $this->drupalGet($this->entity->toUrl());
 
     // Unit testing Drupal.timeDiff.format(). Not using @dataProvider mechanism
@@ -136,6 +137,7 @@ public function testTimestampFormatterWithTimeDiff(): void {
    * Tests the 'timestamp' formatter without refresh interval.
    */
   public function testNoRefreshInterval(): void {
+    $this->markTestSkipped("Skipped due to frequent random test failures. See https://www.drupal.org/project/drupal/issues/3400150");
     // Set the refresh interval to zero, meaning "no refresh".
     $display = EntityViewDisplay::load('entity_test.entity_test.default');
     $component = $display->getComponent('time_field');
-- 
GitLab