From b050bf39bd79a805145c7ef4e890e1f8214b054a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Mon, 16 Jan 2023 17:55:04 +0100 Subject: [PATCH] Add missing expectation in draft versions test Without this expectation, the test was freezing sometimes. --- spec/system/legislation/draft_versions_spec.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/system/legislation/draft_versions_spec.rb b/spec/system/legislation/draft_versions_spec.rb index 48ea95ce9..1e7c0b3e9 100644 --- a/spec/system/legislation/draft_versions_spec.rb +++ b/spec/system/legislation/draft_versions_spec.rb @@ -296,6 +296,8 @@ describe "Legislation Draft Versions" do find(:css, ".annotator-hl").click + expect(page).to have_link "Publish Comment" + click_link "CONSUL" expect(page).to have_content "Most active proposals"