Commit 7ce2e3c3 authored by Lily Yan's avatar Lily Yan
Browse files

ISTWCMS-4535 Change assertNoFieldById() to assertSession()->fieldNotExists()

Change record:
https://www.drupal.org/node/3129738
parent 5dc483d6
......@@ -802,9 +802,9 @@ class UwWcmsBasicTest extends BrowserTestBase {
$this->assertSession()->statusCodeEquals(200);
// Check if URL alias field is off of taxomoy form.
$this->assertSession()->pageTextNotContains('Generate automatic URL alias');
$this->assertNoFieldById('edit-path-0-pathauto');
$this->assertSession()->fieldNotExists('edit-path-0-pathauto');
$this->assertSession()->pageTextNotContains('URL alias');
$this->assertNoFieldById('edit-path-0-alias');
$this->assertSession()->fieldNotExists('edit-path-0-alias');
}
}
......
Markdown is supported
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