A platform for community discussion. Free, open, simple.
DEV: Fix a flake in pikaday spec (#39719)
Jarek Radosz21b28164b378
diff --git a/spec/system/page_objects/components/pikaday_calendar.rb b/spec/system/page_objects/components/pikaday_calendar.rbindex c8ae86f359e..a11b4eae69c 100644--- a/spec/system/page_objects/components/pikaday_calendar.rb+++ b/spec/system/page_objects/components/pikaday_calendar.rb@@ -75,6 +75,9 @@ module PageObjectsenddef select_year(year)+ # need to wait for the element since eval_on_selector doesn't+ find(".pika-select-year", visible: false)+page.driver.with_playwright_page do |playwright_page|playwright_page.eval_on_selector(".pika-select-year",