Skip to content
Snippets Groups Projects
Verified Commit d9a161a8 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3396536 by fjgarlin, catch, kim.pepper: [random test failure] Re-enable...

Issue #3396536 by fjgarlin, catch, kim.pepper: [random test failure] Re-enable AjaxTest::testAjaxFocus()

(cherry picked from commit e7042010)
parent 16ff3a44
No related branches found
No related tags found
15 merge requests!8376Drupal views: adding more granularity to the ‘use ajax’ functionality,!8300Issue #3443586 View area displays even when parent view has no results.,!7567Issue #3153723 by quietone, Hardik_Patel_12: Change the scaffolding...,!7565Issue #3153723 by quietone, Hardik_Patel_12: Change the scaffolding...,!7509Change label "Block description" to "Block type",!7344Issue #3292350 by O'Briat, KlemenDEV, hswong3i, smustgrave, quietone: Update...,!6922Issue #3412959 by quietone, smustgrave, longwave: Fix 12 'un' words,!6848Issue #3417553 by longwave: Remove withConsecutive() in CacheCollectorTest,!6720Revert "Issue #3358581 by pfrenssen, _tarik_, a.dmitriiev, smustgrave:...,!6560Update ClaroPreRender.php, confirming classes provided are in array format,!6528Issue #3414261 by catch: Add authenticated user umami performance tests,!6501Issue #3263668 by omkar-pd, Wim Leers, hooroomoo: Re-enable inline form errors...,!6354Draft: Issue #3380392 by phma: Updating language weight from the overview reverts label if translated,!6324Issue #3416723 by Ludo.R: Provide a "node type" views default argument,!6119Issue #3405704 by Spokje, longwave: symfony/psr-http-message-bridge major version bump
Pipeline #70174 passed with warnings
Pipeline: drupal

#70178

    Pipeline: drupal

    #70176

      ......@@ -301,7 +301,6 @@ public function testUiAjaxException() {
      * Tests ajax focus handling.
      */
      public function testAjaxFocus() {
      $this->markTestSkipped("Skipped due to frequent random test failures. See https://www.drupal.org/project/drupal/issues/3396536");
      $this->drupalGet('/ajax_forms_test_get_form');
      $this->assertNotNull($select = $this->assertSession()->elementExists('css', '#edit-select'));
      ......@@ -327,14 +326,6 @@ public function testAjaxFocus() {
      $has_focus_id = $this->getSession()->evaluateScript('document.activeElement.id');
      $this->assertEquals('edit-textfield-2', $has_focus_id);
      // Test textfield with 'change' event listener with refocus-blur set to
      // FALSE.
      $textfield2->setValue('Llamas say yarhar');
      $textfield3->focus();
      $this->assertSession()->assertWaitOnAjaxRequest();
      $has_focus_id = $this->getSession()->evaluateScript('document.activeElement.id');
      $this->assertEquals('edit-textfield-2', $has_focus_id);
      // Test textfield with 'change' event.
      $textfield3->focus();
      $textfield3->setValue('Wasps buzz');
      ......
      0% Loading or .
      You are about to add 0 people to the discussion. Proceed with caution.
      Please register or to comment