We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 152be01 commit 53e8534Copy full SHA for 53e8534
spec/features/admin/custom_fields/shared_custom_field_expectations.rb
@@ -332,6 +332,22 @@ def expect_page_to_have(selectors)
332
no_fieldset: label_possible_values
333
)
334
expect(page).to have_button("Save", disabled: true)
335
+ when "Link"
336
+ expect_page_to_have(
337
+ fields: [
338
+ label_regexp,
339
+ label_default_value,
340
+ label_is_required
341
+ ],
342
+ no_labels: [
343
+ label_min_length,
344
+ label_max_length,
345
+ label_multi_value,
346
+ label_allow_non_open_versions,
347
+ label_ee_banner_hierarchy
348
349
+ no_fieldset: label_possible_values
350
+ )
351
else
352
fail "fields for #{format} custom field are not defined"
353
end
0 commit comments