Commit e1601411 authored by catch's avatar catch
Browse files

Issue #3366081 by Spokje: [random test failure] MediaTest:: testEditableCaption()

(cherry picked from commit cd8430a3)
parent af9c329e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -633,6 +633,7 @@ public function testEditableCaption() {

    // Ensure that caption can be linked.
    $this->assertNotEmpty($figcaption = $assert_session->waitForElement('css', '.drupal-media figcaption'));
    $figcaption->click();
    $this->selectTextInsideElement('.drupal-media figcaption');
    $this->assertNotEmpty($assert_session->waitForElement('css', '.drupal-media figcaption.ck-editor__nested-editable'));
    $this->pressEditorButton('Link');