Pass | .selectedOptions with no selected option | Asserts runPass | assert_array_equals(object "[object HTMLCollection]", [Element node <option>One</option>])
at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-selectedOptions.html:67:3) | Pass | assert_equals(1, 1)
at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-selectedOptions.html:68:3) |
|
Pass | .selectedOptions with one selected option | Asserts runPass | assert_array_equals(object "[object HTMLCollection]", [Element node <option selected="">Two</option>])
at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-selectedOptions.html:75:3) | Pass | assert_equals(1, 1)
at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-selectedOptions.html:76:3) |
|
Pass | .selectedOptions using the 'multiple' attribute with no selected options | Asserts runPass | assert_equals(null, null)
at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-selectedOptions.html:82:3) | Pass | assert_equals(0, 0)
at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-selectedOptions.html:83:3) |
|
Pass | .selectedOptions using the 'multiple' attribute with two selected options | Asserts runPass | assert_equals(Element node <option selected="">Two</option>, Element node <option selected="">Two</option>)
at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-selectedOptions.html:89:3) | Pass | assert_equals(Element node <option selected="">Three</option>, Element node <option selected="">Three</option>)
at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-selectedOptions.html:90:3) | Pass | assert_equals(2, 2)
at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-selectedOptions.html:91:3) |
|
Pass | .selectedOptions without the 'multiple' attribute but more than one selected option should return the last one | Asserts runPass | assert_array_equals(object "[object HTMLCollection]", [Element node <option selected="">Two</option>])
at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-selectedOptions.html:106:3) | Pass | assert_equals(1, 1)
at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-selectedOptions.html:107:3) |
|
Pass | .selectedOptions should return `HTMLCollection` instance | Asserts runPass | assert_equals(function "function HTMLCollection() { [native code] }", function "function HTMLCollection() { [native code] }")
at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-selectedOptions.html:115:3) | Pass | assert_equals(Element node <option id="named-option" selected="">Three</option>, Element node <option id="named-option" selected="">Three</option>)
at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-selectedOptions.html:116:3) |
|
Pass | .selectedOptions should always return the same value - [SameObject] | Asserts runPass | assert_equals(object "[object HTMLCollection]", object "[object HTMLCollection]")
at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-selectedOptions.html:123:3) |
|
Pass | .selectedOptions should return the same object after selection changes - [SameObject] | Asserts runPass | assert_equals(3, 3)
at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-selectedOptions.html:130:3) | Pass | assert_equals(object "[object HTMLCollection]", object "[object HTMLCollection]")
at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-selectedOptions.html:136:3) | Pass | assert_equals(2, 2)
at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-selectedOptions.html:137:3) | Pass | assert_equals(2, 2)
at Test.<anonymous> ( /html/semantics/forms/the-select-element/select-selectedOptions.html:138:3) |
|