From afb611dae99412a3fc7656836ee95e23bf6896f8 Mon Sep 17 00:00:00 2001 From: nsubbot Date: Mon, 2 Mar 2026 10:46:47 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9C=D0=B8=D0=BD=D0=BE=D1=80=D0=BD=D1=8B?= =?UTF-8?q?=D0=B5=20=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D1=8F=20=D1=82=D0=B5=D1=81=D1=82=D0=BE=D0=B2=20=D0=BF?= =?UTF-8?q?=D0=BE=D1=81=D0=BB=D0=B5=20=D0=BF=D0=B5=D1=80=D0=B5=D1=85=D0=BE?= =?UTF-8?q?=D0=B4=D0=B0=20=D0=BD=D0=B0=20=D0=B2=D0=B5=D1=80=D1=81=D0=B8?= =?UTF-8?q?=D1=8E=201.33?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/date_picker_component.py | 2 +- tests/e2e/test_expand_navigation_panel.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/date_picker_component.py b/components/date_picker_component.py index c504a1c..ad4c8a7 100644 --- a/components/date_picker_component.py +++ b/components/date_picker_component.py @@ -189,7 +189,7 @@ class DatePickerComponent(BaseComponent): assert actual_month_year == expected_month_year, \ f"Expected value {expected_month_year} is not equal actual value {actual_month_year} on date picker body" - expected_day = str(expected_date.strftime("%d")) + expected_day = str(expected_date.strftime("%d")).lstrip('0') actual_day = self.get_day() assert actual_day == expected_day, \ f"Expected day {expected_day} is not equal actual day {actual_day} on date picker body" diff --git a/tests/e2e/test_expand_navigation_panel.py b/tests/e2e/test_expand_navigation_panel.py index 0ab6506..2c3a549 100644 --- a/tests/e2e/test_expand_navigation_panel.py +++ b/tests/e2e/test_expand_navigation_panel.py @@ -106,7 +106,7 @@ class TestNavigationPanel: mp.wait_for_timeout(3000) # Переходим к Стойке - mp.click_subpanel_item("Test-Rack-01") + mp.click_subpanel_item("Test-Rack-02") mp.wait_for_timeout(5000) # Переходим Здание ЦОД 4