Skip to content
Snippets Groups Projects

Issue #3238915: Refactor (if feasible) uses of the jQuery ready function to use VanillaJS

Closed Issue #3238915: Refactor (if feasible) uses of the jQuery ready function to use VanillaJS
Closed Harumi Jang requested to merge issue/drupal-3238915:3238915-refactor-if-feasible into 9.3.x
3 files
+ 17
17
Compare changes
  • Side-by-side
  • Inline
Files
3
  • 576a49b9
    Issue #3269517 by danflanagan8, dww: Datetime and Datetime Range tests should not rely on Classy · 576a49b9
    catch authored
@@ -29,7 +29,7 @@ class FilterDateTest extends BrowserTestBase {
/**
* {@inheritdoc}
*/
protected $defaultTheme = 'classy';
protected $defaultTheme = 'stark';
/**
* Nodes to test.
@@ -142,13 +142,13 @@ public function testExposedGroupedFilters() {
// Filter the Preview by 'empty'.
$this->getSession()->getPage()->findField($this->fieldName . '_value')->selectOption(1);
$this->getSession()->getPage()->pressButton('Apply');
$results = $this->cssSelect('.view-content .field-content');
$results = $this->cssSelect('.views-row .field-content');
$this->assertCount(1, $results);
// Filter the Preview by 'not empty'.
$this->getSession()->getPage()->findField($this->fieldName . '_value')->selectOption(2);
$this->getSession()->getPage()->pressButton('Apply');
$results = $this->cssSelect('.view-content .field-content');
$results = $this->cssSelect('.views-row .field-content');
$this->assertCount(3, $results);
}
Loading