Skip to content

A platform for community discussion. Free, open, simple.

DEV: Update Reviewables agree and edit action test (#27162)

Juan David Martínez Cubillos581dbca97f2b
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