From a345f48cb7460d1eda557d89a751e10272815436 Mon Sep 17 00:00:00 2001
From: Raghunath <RAGHUS22@pfizer.com>
Date: Wed, 4 Dec 2024 15:46:12 +0530
Subject: [PATCH 1/2] Drupal 11 fixes added.

---
 range_slider.info.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/range_slider.info.yml b/range_slider.info.yml
index 2c8e18e..974d11b 100644
--- a/range_slider.info.yml
+++ b/range_slider.info.yml
@@ -1,4 +1,4 @@
 name: Range Slider
 type: module
 description: Integration with https://rangeslider.js.org
-core_version_requirement: ^9.2 || ^10
+core_version_requirement: '>=10'
-- 
GitLab


From 82194eb05a5ddf62e7e720d1b585abbef1e0ba16 Mon Sep 17 00:00:00 2001
From: Raghunath <RAGHUS22@pfizer.com>
Date: Fri, 6 Dec 2024 12:06:20 +0530
Subject: [PATCH 2/2] Drupal 11 compatibility issue fix

---
 tests/src/FunctionalJavascript/RangeSliderWidgetTest.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/src/FunctionalJavascript/RangeSliderWidgetTest.php b/tests/src/FunctionalJavascript/RangeSliderWidgetTest.php
index b53cbed..eed2923 100644
--- a/tests/src/FunctionalJavascript/RangeSliderWidgetTest.php
+++ b/tests/src/FunctionalJavascript/RangeSliderWidgetTest.php
@@ -93,7 +93,7 @@ class RangeSliderWidgetTest extends WebDriverTestBase {
   public function testRangeSliderWidget() {
 
     $this->drupalGet('node/add/' . $this->bundle);
-    $this->assertSession()->waitForText(50);
+    $this->assertSession()->waitForText('50');
 
     $edit = [
       'title[0][value]' => 'Test Range Slider Widget',
-- 
GitLab