Commit 69162349 authored by Lily Yan's avatar Lily Yan
Browse files

ISTWCMS-4535 Change assertField() to assertSession()->fieldExists()

Change record:
https://www.drupal.org/node/3129738
parent 417bc899
......@@ -1200,8 +1200,8 @@ class UwWcmsBasicTest extends BrowserTestBase {
break;
case 'Multi-type list':
$this->assertField('edit-settings-show-all-items');
$this->assertField('edit-settings-show-view-all');
$this->assertSession()->fieldExists('edit-settings-show-all-items');
$this->assertSession()->fieldExists('edit-settings-show-view-all');
break;
case 'PowerBI':
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment