|
|
@ -39,7 +39,6 @@ RSpec.describe "Accessible Automcomplete" do |
|
|
|
fill_in("case-log-supcharg-field", with: 5000) |
|
|
|
fill_in("case-log-supcharg-field", with: 5000) |
|
|
|
expect(find("#case-log-tcharge-field").value).to eq("5600.00") |
|
|
|
expect(find("#case-log-tcharge-field").value).to eq("5600.00") |
|
|
|
click_button("Save and continue") |
|
|
|
click_button("Save and continue") |
|
|
|
# binding.pry |
|
|
|
|
|
|
|
expect(page).to have_selector(".govuk-error-summary") |
|
|
|
expect(page).to have_selector(".govuk-error-summary") |
|
|
|
fill_in("case-log-brent-field", with: 500) |
|
|
|
fill_in("case-log-brent-field", with: 500) |
|
|
|
expect(find("#case-log-tcharge-field").value).to eq("500.00") |
|
|
|
expect(find("#case-log-tcharge-field").value).to eq("500.00") |
|
|
|