Commit f22c6190 authored by Liam Morland's avatar Liam Morland
Browse files

ISTWCMS-4957: Test for OFIS button with buttonExists()

This is a more robust test and works properly in Drupal 9.
parent fc76b357
......@@ -2603,7 +2603,7 @@ class UwWcmsBasicTest extends BrowserTestBase {
$this->assertSession()->statusCodeEquals(200);
// Validate settings form fields for administrator.
$this->assertSession()->pageTextContains('Clear OFIS caches');
$this->assertSession()->buttonExists('Clear OFIS caches');
$this->assertSession()->fieldExists('API endpoint');
$this->assertSession()->fieldExists('Enable OFIS profiles');
......
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