Skip to content
Snippets Groups Projects
Commit 875415f9 authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-7160: fixing inline image test

parent b9edc1c6
No related branches found
No related tags found
2 merge requests!83ISTWCMS-7160 Fix service content type in testAutomaticListBlocksSettings in...,!81ISTWCMS-7160 Make existing Codeception tests pass
......@@ -75,6 +75,7 @@ class WcmsTestsImgInlineCest {
// Ensure that the block is on the page.
$i->waitForJS("return document.readyState === 'complete';", 30);
$i->waitForElement(".uw-copy-text div " . $block . " img", 30);
$i->waitForElement('.uw-copy-text div img[alt="Inserted image in ' . $block . ' block"]');
// Check that image's parent is a block.
$i->seeElement(".uw-copy-text div " . $block . " img", ['alt' => 'Inserted image in ' . $block . ' block']);
......
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