From 581dbca97f2b55c9bbbe40dc3b58a9df7409d77f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20David=20Mart=C3=ADnez=20Cubillos?= Date: Fri, 24 May 2024 14:20:30 -0500 Subject: [PATCH] DEV: Update Reviewables agree and edit action test (#27162) --- spec/system/reviewables_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/system/reviewables_spec.rb b/spec/system/reviewables_spec.rb index 12bc3bcc2bb..7ab0072ab34 100644 --- a/spec/system/reviewables_spec.rb +++ b/spec/system/reviewables_spec.rb @@ -40,7 +40,7 @@ describe "Reviewables", type: :system do PageObjects::Components::SelectKit.new(".dropdown-select-box.post-agree-and-hide") select_kit.expand - expect(page).to have_selector("[data-value='post-agree_and_edit']") + expect(select_kit).to have_option_value("post-agree_and_edit") end it "agree_and_edit should open the composer" do