Skip to content
Snippets Groups Projects
Unverified Commit 92c54ef5 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)
parent a0ffc4bb
No related branches found
No related tags found
No related merge requests found
......@@ -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');
......
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