@@ -10,56 +10,56 @@ <h1>Form Elements Visibility Tests</h1>
1010
1111 < div class ="test-section " cy-section ="select-and-option-elements " cy-has-conflicts ="true ">
1212 < h3 > Select and Option Elements</ h3 >
13- < select class ="testCase " cy-expect ="visible " id =" visible-select " >
14- < option class ="testCase " cy-fast- expect ="hidden " cy-legacy-expect =" visible " id =" visible-option " cy-label ="first option "> Visible Option</ option >
15- < option class ="testCase " cy-fast- expect ="hidden " cy-legacy-expect =" visible " id =" visible-option- 2 "> Another Visible Option</ option >
13+ < select class ="testCase " cy-expect ="visible ">
14+ < option class ="testCase " cy-expect ="visible " cy-label ="Visible Select > Opt 1 "> Visible Option</ option >
15+ < option class ="testCase " cy-expect ="visible " cy-label =" Visible Select > Opt 2 "> Another Visible Option</ option >
1616 </ select >
1717
18- < select class ="testCase " cy-expect ="hidden " id =" hidden-select " style ="display: none; ">
19- < option class ="testCase " cy-expect ="hidden " id ="hidden-option "> Hidden Option</ option >
18+ < select class ="testCase " cy-expect ="hidden " style ="display: none; ">
19+ < option class ="testCase " cy-expect ="hidden " id ="hidden-option " cy-label =" Hidden Select > Opt 1 " > Hidden Option</ option >
2020 </ select >
2121 </ div >
2222
2323 < div class ="test-section " cy-section ="optgroup-elements " cy-has-conflicts ="true ">
2424 < h3 > Optgroup Elements</ h3 >
25- < select class ="testCase " cy-expect ="visible " id =" select-with-optgroup " cy-label ="select with optgroup ">
26- < optgroup class ="testCase " cy-legacy- expect ="visible " cy-fast-expect =" hidden " id =" visible-optgroup " cy-label ="Visible opt Group ">
27- < option class ="testCase " cy-legacy- expect ="visible " cy-fast-expect =" hidden "> Option 1</ option >
28- < option class ="testCase " cy-legacy- expect ="visible " cy-fast-expect =" hidden "> Option 2</ option >
25+ < select class ="testCase " cy-expect ="visible " cy-label ="select with optgroup ">
26+ < optgroup class ="testCase " cy-expect ="visible " cy-label ="Visible opt Group ">
27+ < option class ="testCase " cy-expect ="visible " cy-label =" Visible opt Group > Opt 1 "> Option 1</ option >
28+ < option class ="testCase " cy-expect ="visible " cy-label =" Visible opt Group > Opt 2 "> Option 2</ option >
2929 </ optgroup >
3030 </ select >
3131
32- < select class ="testCase " cy-expect ="hidden " id =" hidden-select-with-optgroup " style ="display: none; ">
33- < optgroup class ="testCase " cy-expect ="hidden " id =" hidden-optgroup " label ="Hidden Group ">
34- < option class ="testCase " cy-expect ="hidden "> Hidden Option 1</ option >
35- < option class ="testCase " cy-expect ="hidden "> Hidden Option 2</ option >
32+ < select class ="testCase " cy-expect ="hidden " style ="display: none; ">
33+ < optgroup class ="testCase " cy-expect ="hidden " label ="Hidden Group ">
34+ < option class ="testCase " cy-expect ="hidden " cy-label =" Hidden opt Group > Opt 1 " > Hidden Option 1</ option >
35+ < option class ="testCase " cy-expect ="hidden " cy-label =" Hidden opt Group > Opt 2 " > Hidden Option 2</ option >
3636 </ optgroup >
3737 </ select >
3838 </ div >
3939
4040 < div class ="test-section " cy-section ="options-outside-select ">
4141 < h3 > Options Outside Select</ h3 >
4242 < div class ="testCase " cy-expect ="hidden " style ="display: none; ">
43- < option class ="testCase " cy-expect ="hidden " id ="detached-option "> Detached Option</ option >
43+ < option class ="testCase " cy-expect ="hidden " id ="detached-option " cy-label =" Detached Option " > Detached Option</ option >
4444 </ div >
4545 < div class ="testCase " cy-expect ="visible ">
46- < option class ="testCase " cy-expect ="visible " id ="standalone-option "> Standalone Option</ option >
46+ < option class ="testCase " cy-expect ="visible " id ="standalone-option " cy-label =" Standalone Option " > Standalone Option</ option >
4747 </ div >
4848 </ div >
4949
50- < div class ="test-section " cy-section ="hidden-options-within-visible-select " cy-has-conflicts =" true " >
50+ < div class ="test-section " cy-section ="hidden-options-within-visible-select ">
5151 < h3 > Hidden Options Within Visible Select</ h3 >
5252 < select class ="testCase " cy-expect ="visible " id ="select-with-hidden-option ">
53- < option class ="testCase " cy-legacy- expect ="visible " cy-fast-expect =" hidden " id ="visible-option-in-select "> Visible Option</ option >
54- < option class ="testCase " cy-expect ="hidden " id =" hidden-option-in-select " style ="display: none; "> Hidden Option</ option >
53+ < option class ="testCase " cy-expect ="visible " id ="visible-option-in-select " cy-label =" Visible Select > Visible Option "> Visible Option</ option >
54+ < option class ="testCase " cy-expect ="hidden " style ="display: none; " cy-label =" Visible Select > Hidden Option "> Hidden Option</ option >
5555 </ select >
5656 </ div >
5757
5858 < div class ="test-section " cy-section ="input-elements ">
5959 < h3 > Input Elements</ h3 >
60- < input class ="testCase " cy-expect ="hidden " id =" input-hidden " type ="hidden " value ="hidden input ">
61- < input class ="testCase " cy-expect ="visible " id =" input-visible " type ="text " value ="visible input ">
62- < input class ="testCase " cy-expect ="hidden " id =" input-display-none " type ="text " value ="display none input " style ="display: none; ">
60+ < input class ="testCase " cy-expect ="hidden " type ="hidden " value ="hidden input ">
61+ < input class ="testCase " cy-expect ="visible " type ="text " value ="visible input ">
62+ < input class ="testCase " cy-expect ="hidden " type ="text " value ="display none input " style ="display: none; ">
6363 </ div >
6464</ body >
6565</ html >
0 commit comments