Skip to content
Snippets Groups Projects
Commit 6d4ae82d authored by Lily Yan's avatar Lily Yan
Browse files

ISTWCMS-7160 Fix testContactReorder in WcmsTestsContentTypeContactCest

parent 5c08d371
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
...@@ -138,7 +138,9 @@ class WcmsTestsContentTypeContactCest { ...@@ -138,7 +138,9 @@ class WcmsTestsContentTypeContactCest {
5 => 1, 5 => 1,
]; ];
$i->click('Show row weights'); $i->waitForElementVisible("//button[contains(@class, 'tabledrag-toggle-weight')]", 60);
$i->waitForElementClickable("//button[contains(@class, 'tabledrag-toggle-weight')]", 60);
$i->click("//button[contains(text(), 'Show row weights')]");
// Set weights for all contacts. // Set weights for all contacts.
foreach ($newOrder as $contactNum => $newPos) { foreach ($newOrder as $contactNum => $newPos) {
......
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