DEV: Show form templates in the composer (#21190)

This commit is contained in:
Keegan George
2023-05-29 14:47:18 -07:00
committed by GitHub
parent 5abe98afb5
commit c74c90bae5
26 changed files with 548 additions and 96 deletions
@@ -119,7 +119,8 @@ describe "Admin Customize Form Templates", type: :system, js: true do
expect(form_template_page).to have_input_field("textarea")
expect(form_template_page).to have_input_field("checkbox")
expect(form_template_page).to have_input_field("dropdown")
expect(form_template_page).to have_input_field("upload")
# TODO(@keegan): Add this back when upload functionality is added
# expect(form_template_page).to have_input_field("upload")
expect(form_template_page).to have_input_field("multi-select")
end
@@ -175,7 +176,8 @@ describe "Admin Customize Form Templates", type: :system, js: true do
)
end
it "should allow quick insertion of upload field" do
# TODO(@keegan): Unskip this test when Upload functionality is added
xit "should allow quick insertion of upload field" do
quick_insertion_test(
"upload",
'- type: upload