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

Issue #3484845 by mstrelan, acbramley: [random test failure] ImageUrlProviderTest::testResize

parent b112cf53
No related branches found
No related tags found
4 merge requests!5423Draft: Resolve #3329907 "Test2",!3478Issue #3337882: Deleted menus are not removed from content type config,!2964Issue #2865710 : Dependencies from only one instance of a widget are used in display modes,!579Issue #2230909: Simple decimals fail to pass validation
Pipeline #453012 passed with warnings
Pipeline: drupal

#453014

    ......@@ -289,8 +289,8 @@ public function testResize(bool $is_resize_enabled): void {
    $this->drupalGet('node/add');
    $page->fillField('title[0][value]', 'My test content');
    $this->addImage();
    $image_figure = $assert_session->waitForElementVisible('css', 'figure');
    $this->assertSame($is_resize_enabled, $image_figure->hasClass('ck-widget_with-resizer'));
    $selector = $is_resize_enabled ? 'figure.ck-widget_with-resizer' : 'figure:not(.ck-widget_with-resizer)';
    $this->assertNotEmpty($assert_session->waitForElementVisible('css', $selector));
    }
    /**
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment