Summary

Harness status: OK

Found 6 tests

Details

ResultTest NameMessage
PassPlaceholder label options within a select
Asserts run
Pass
assert_true(true, "A select element is a submittable element that is a candidate for constraint validation.")
    at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-validity.html:12:3)
Pass
assert_true(true, "Always valid when the select isn't a required value.")
    at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-validity.html:15:3)
Pass
assert_true(true, "If display size is 1, multiple is absent and no options have selectedness true, the first option is selected.")
    at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-validity.html:17:3)
Pass
assert_equals("", "", "The placeholder's value should be the select's value right now")
    at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-validity.html:18:3)
Pass
assert_false(false, "A selected placeholder option should invalidate the select.")
    at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-validity.html:19:3)
Pass
assert_equals("", "", "The empty value should be set.")
    at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-validity.html:23:3)
Pass
assert_true(true, "An empty non-placeholder option should be a valid choice.")
    at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-validity.html:24:3)
Pass
assert_equals("test", "test", "The non-empty value should be set.")
    at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-validity.html:29:3)
Pass
assert_true(true, "A non-empty non-placeholder option should be a valid choice.")
    at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-validity.html:30:3)
Pass
assert_equals("", "", "The empty value should be set.")
    at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-validity.html:34:3)
Pass
assert_true(true, "Only the first option can be seen as a placeholder.")
    at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-validity.html:35:3)
Pass
assert_equals("", "", "A disabled first placeholder option should result in an empty value.")
    at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-validity.html:39:3)
Pass
assert_false(false, "A disabled first placeholder option should invalidate the select.")
    at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-validity.html:40:3)
PassPlaceholder label-like options within optgroup
Asserts run
Pass
assert_equals("", "", "The empty value should be set.")
    at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-validity.html:51:3)
Pass
assert_true(true, "The first option is not considered a placeholder if it is located within an optgroup.")
    at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-validity.html:52:3)
Pass
assert_equals("", "", "The empty value should be set.")
    at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-validity.html:57:3)
Pass
assert_true(true, "The empty option should be accepted as it is not the first option in the tree ordered list.")
    at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-validity.html:58:3)
PassValidation on selects with display size set as more than one
Asserts run
Pass
assert_false(false, "Display size is not 1, so the first option should not be selected.")
    at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-validity.html:67:3)
Pass
assert_false(false, "If no options are selected the select must be seen as invalid.")
    at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-validity.html:68:3)
Pass
assert_true(true, "If one option is selected, the select should be considered valid.")
    at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-validity.html:70:3)
Pass
assert_false(false, "Whenever an option has its selectiveness set to true, the other options must be set to false.")
    at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-validity.html:75:3)
Pass
assert_false(false, "It should be possible to set the selectiveness to false with a display size more than one.")
    at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-validity.html:77:3)
Pass
assert_false(false, "If no options are selected the select must be seen as invalid.")
    at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-validity.html:78:3)
PassValidation on selects with multiple set
Asserts run
Pass
assert_false(false, "If no options are selected the select must be seen as invalid.")
    at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-validity.html:87:3)
Pass
assert_true(true, "If one option is selected, the select should be considered valid.")
    at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-validity.html:89:3)
Pass
assert_true(true, "If one option within an optgroup or not is selected, the select should be considered valid.")
    at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-validity.html:93:3)
PassValidation on selects with non-empty disabled option
Asserts run
Pass
assert_true(true, "When a required select has an option that is selected and disabled, the select should be considered valid.")
    at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-validity.html:104:3)
PassRemove and add back the placeholder label option
Asserts run
Pass
assert_false(false, "If the placeholder label option is selected, required select element shouldn't be valid.")
    at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-validity.html:116:3)
Pass
assert_true(true, "If the placeholder label option is removed, required select element should become valid.")
    at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-validity.html:118:3)
Pass
assert_false(false, "If the placeholder label option is selected, required select element shouldn't be valid.")
    at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-validity.html:120:3)