Unverified Commit b5c61db5 authored by Lauri Timmanee's avatar Lauri Timmanee
Browse files

Issue #3264451 by Wim Leers, bnjmnm: ImageTest::testWidth() has wrong...

Issue #3264451 by Wim Leers, bnjmnm: ImageTest::testWidth() has wrong selector, but no assertion: increases DrupalCI by 20 seconds

(cherry picked from commit b45b2bd0)
(cherry picked from commit 92c54ef5)
parent 6e85bc0d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -328,7 +328,7 @@ public function testWidth(string $width): void {
    $image = $this->getTestFiles('image')[0];
    $image_upload_field->attachFile($this->container->get('file_system')->realpath($image->uri));
    $assert_session->assertWaitOnAjaxRequest();
    $assert_session->waitForElementVisible('css', '.figure.image');
    $this->assertNotEmpty($assert_session->waitForElementVisible('css', 'figure.image'));

    // Edit the source of the image through the UI.
    $page->pressButton('Source');