Unverified Commit ddc12ad1 authored by Lauri Timmanee's avatar Lauri Timmanee
Browse files

Issue #3268443 by danflanagan8, ravi.shankar, dww, longwave: Configuration...

Issue #3268443 by danflanagan8, ravi.shankar, dww, longwave: Configuration Manager (config) tests should not rely on Classy

(cherry picked from commit 58b15e19)
parent 3d794cf6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@ name: 'Test theme for configuration clash detection'
type: theme
description: 'Test theme for configuration clash detection'
version: VERSION
base theme: classy
base theme: stark
regions:
  content: Content
  left: Left
+2 −2
Original line number Diff line number Diff line
@@ -4,9 +4,9 @@ dependencies:
  module:
    - block_test
  theme:
    - classy
    - stark
id: config_override_test
theme: classy
theme: stark
region: content
weight: 0
plugin: test_cache
+2 −2
Original line number Diff line number Diff line
@@ -4,9 +4,9 @@ dependencies:
  module:
    - block_content
  theme:
    - classy
    - stark
id: call_to_action
theme: classy
theme: stark
region: content
weight: null
provider: null
+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@ class CacheabilityMetadataConfigOverrideIntegrationTest extends BrowserTestBase
  /**
   * {@inheritdoc}
   */
  protected $defaultTheme = 'classy';
  protected $defaultTheme = 'stark';

  /**
   * {@inheritdoc}
+5 −5
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ class ConfigEntityListTest extends BrowserTestBase {
  /**
   * {@inheritdoc}
   */
  protected $defaultTheme = 'classy';
  protected $defaultTheme = 'stark';

  /**
   * {@inheritdoc}
@@ -179,14 +179,14 @@ public function testListUI() {
    $this->assertSession()->elementTextEquals('xpath', '//div[@class="layout-content"]//table/thead/tr/th[3]', 'Operations');

    // Check the number of table row cells.
    $this->assertSession()->elementsCount('xpath', '//div[@class="layout-content"]//table/tbody/tr[@class="odd"]/td', 3);
    $this->assertSession()->elementsCount('xpath', '//div[@class="layout-content"]//table/tbody/tr[1]/td', 3);

    // Check the contents of each row cell. The first cell contains the label,
    // the second contains the machine name, and the third contains the
    // operations list.
    $this->assertSession()->elementTextEquals('xpath', '//div[@class="layout-content"]//table/tbody/tr[@class="odd"]/td[1]', 'Default');
    $this->assertSession()->elementTextEquals('xpath', '//div[@class="layout-content"]//table/tbody/tr[@class="odd"]/td[2]', 'dotted.default');
    $this->assertSession()->elementExists('xpath', '//div[@class="layout-content"]//table/tbody/tr[@class="odd"]/td[3]//ul');
    $this->assertSession()->elementTextEquals('xpath', '//div[@class="layout-content"]//table/tbody/tr[1]/td[1]', 'Default');
    $this->assertSession()->elementTextEquals('xpath', '//div[@class="layout-content"]//table/tbody/tr[1]/td[2]', 'dotted.default');
    $this->assertSession()->elementExists('xpath', '//div[@class="layout-content"]//table/tbody/tr[1]/td[3]//ul');

    // Add a new entity using the operations link.
    $this->assertSession()->linkExists('Add test configuration');
Loading