Commit 30b3b6cd authored by Lily Yan's avatar Lily Yan
Browse files

ISTWCMS-4535 Change assertNoFieldByName() to assertSession()->buttonNotExists()

Change record:
parent 5d008e53
......@@ -1748,7 +1748,7 @@ class UwWcmsBasicTest extends BrowserTestBase {
$this->clickLink('Add block');
$this->clickLink('Facts and figures');
// The top-level remove button doesn't exist.
// Check 'Default background colour' field help text.
$this->assertSession()->pageTextContains('When gold is selected, the default colour will always be black.');
// Check 'Default background colour' field default value.
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