Skip to content
Snippets Groups Projects
Commit ed17935f authored by Mark Fullmer's avatar Mark Fullmer Committed by jmf3658
Browse files

Issue #3318204 by mark_fullmer: Automated tests failing on Drupal 10 (missing...

Issue #3318204 by mark_fullmer: Automated tests failing on Drupal 10 (missing 'Stable' & 'Bartik' themes)
parent 1ce4acad
No related branches found
No related tags found
1 merge request!2Issue #3318204 by mark_fullmer: Automated tests failing on Drupal 10 (missing...
......@@ -23,7 +23,7 @@ class ConfigTest extends BrowserTestBase {
*
* @var string
*/
protected $defaultTheme = 'stable';
protected $defaultTheme = 'stark';
/**
* Tests entity saves all components of the entity on the DB.
......
......@@ -30,7 +30,7 @@ class EntityTest extends BrowserTestBase {
*
* @var string
*/
protected $defaultTheme = 'stable';
protected $defaultTheme = 'stark';
/**
* {@inheritdoc}
......
......@@ -35,7 +35,7 @@ class PermissionTest extends WebDriverTestBase {
*
* @var string
*/
protected $defaultTheme = 'bartik';
protected $defaultTheme = 'olivero';
/**
* {@inheritdoc}
......@@ -88,7 +88,7 @@ class PermissionTest extends WebDriverTestBase {
// Confirm a new Test type node was created.
$web_assert->pageTextContains('Test ' . $title . ' has been created.');
// Verify the breadcrumbs element exists in the markup.
$web_assert->elementExists('css', '#block-bartik-breadcrumbs');
$web_assert->elementExists('css', '#block-olivero-breadcrumbs');
// Grab the node id by its title and load the node edit page.
$node = $this->drupalGetNodeByTitle($title);
$this->drupalGet('node/' . $node->id() . '/edit');
......@@ -100,7 +100,7 @@ class PermissionTest extends WebDriverTestBase {
// Confirm the same node was updated successfully.
$web_assert->pageTextContains('Test ' . $title . ' has been updated.');
// Verify the breadcrumbs element doesn't exist in the markup.
$web_assert->elementNotExists('css', '#block-bartik-breadcrumbs');
$web_assert->elementNotExists('css', '#block-olivero-breadcrumbs');
// Logout.
$this->drupalLogout();
// Create a new user without the permission to edit breadcrumbs visibility.
......@@ -165,5 +165,4 @@ class PermissionTest extends WebDriverTestBase {
// Logout to end test.
$this->drupalLogout();
}
}
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