Add tests to check visibility of processes depending on published attribute
This commit is contained in:
@@ -88,6 +88,7 @@ feature 'Admin legislation processes' do
|
||||
|
||||
expect(page).to have_selector("h2", text: "An example legislation process")
|
||||
expect(find("#legislation_process_debate_phase_enabled")).to be_checked
|
||||
expect(find("#legislation_process_published")).to be_checked
|
||||
|
||||
fill_in 'legislation_process_summary', with: ''
|
||||
click_button "Save changes"
|
||||
|
||||
Reference in New Issue
Block a user