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

Issue #3463594 by alexpott: ImageAdminStylesTest::testAjaxEnabledEffectForm()...

Issue #3463594 by alexpott: ImageAdminStylesTest::testAjaxEnabledEffectForm() fails because statusMessageExists() does not wait

(cherry picked from commit 6a0c12a6)
parent 2664526b
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 #235942 passed with warnings
Pipeline: drupal

#235954

    Pipeline: drupal

    #235947

      ......@@ -726,4 +726,25 @@ private function buildJavascriptStatusMessageSelector(?string $message = NULL, ?
      return $this->buildStatusMessageSelector($message, $type) . ' | ' . $js_selector;
      }
      /**
      * {@inheritdoc}
      */
      public function statusMessageContains(string $message, ?string $type = NULL): void {
      $selector = $this->buildStatusMessageSelector($message, $type);
      $this->waitForElement('xpath', $selector);
      parent::statusMessageContains($message, $type);
      }
      /**
      * {@inheritdoc}
      */
      public function statusMessageNotContains(string $message, ?string $type = NULL): void {
      $selector = $this->buildStatusMessageSelector($message, $type);
      // Wait for a second for the message to not exist.
      $this->waitForHelper(1000, function (Element $page) use ($selector) {
      return !$page->find('xpath', $selector);
      });
      parent::statusMessageNotContains($message, $type);
      }
      }
      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