@@ -13,38 +13,38 @@ test.describe("checkbox-radio-selection-web", () => {
1313
1414 test . describe ( "data source types" , ( ) => {
1515 test ( "renders checkbox radio selection using association" , async ( { page } ) => {
16- const selectionControls = page . locator ( ".mx-name-checkboxRadioButton1 " ) ;
16+ const selectionControls = page . locator ( ".mx-name-checkboxRadioSelection1 " ) ;
1717 await expect ( selectionControls ) . toBeVisible ( { timeout : 10000 } ) ;
1818 await expect ( selectionControls ) . toHaveScreenshot ( `checkboxRadioSelectionAssociation.png` ) ;
1919 } ) ;
2020
2121 test ( "renders checkbox radio selection using enum" , async ( { page } ) => {
22- const selectionControls = page . locator ( ".mx-name-checkboxRadioButton2 " ) ;
22+ const selectionControls = page . locator ( ".mx-name-checkboxRadioSelection2 " ) ;
2323 await expect ( selectionControls ) . toBeVisible ( { timeout : 10000 } ) ;
2424 await expect ( selectionControls ) . toHaveScreenshot ( `checkboxRadioSelectionEnum.png` ) ;
2525 } ) ;
2626
2727 test ( "renders checkbox radio selection using boolean" , async ( { page } ) => {
28- const selectionControls = page . locator ( ".mx-name-checkboxRadioButton3 " ) ;
28+ const selectionControls = page . locator ( ".mx-name-checkboxRadioSelection3 " ) ;
2929 await expect ( selectionControls ) . toBeVisible ( { timeout : 10000 } ) ;
3030 await expect ( selectionControls ) . toHaveScreenshot ( `checkboxRadioSelectionBoolean.png` ) ;
3131 } ) ;
3232
3333 test ( "renders checkbox radio selection using static values" , async ( { page } ) => {
34- const selectionControls = page . locator ( ".mx-name-checkboxRadioButton4 " ) ;
34+ const selectionControls = page . locator ( ".mx-name-checkboxRadioSelection4 " ) ;
3535 await expect ( selectionControls ) . toBeVisible ( { timeout : 10000 } ) ;
3636 await expect ( selectionControls ) . toHaveScreenshot ( `checkboxRadioSelectionStatic.png` ) ;
3737 } ) ;
3838
3939 test ( "renders checkbox radio selection using database" , async ( { page } ) => {
40- const selectionControls = page . locator ( ".mx-name-checkboxRadioButton5 " ) ;
40+ const selectionControls = page . locator ( ".mx-name-checkboxRadioSelection5 " ) ;
4141 await expect ( selectionControls ) . toBeVisible ( { timeout : 10000 } ) ;
4242 await expect ( selectionControls ) . toHaveScreenshot ( `checkboxRadioSelectionDatabase.png` ) ;
4343 } ) ;
4444
4545 test . describe ( "selection behavior" , ( ) => {
4646 test ( "handles radio button selection" , async ( { page } ) => {
47- const selectionControls = page . locator ( ".mx-name-checkboxRadioButton1 " ) ;
47+ const selectionControls = page . locator ( ".mx-name-checkboxRadioSelection1 " ) ;
4848 await expect ( selectionControls ) . toBeVisible ( { timeout : 10000 } ) ;
4949
5050 const radioOption = selectionControls . locator ( 'input[type="radio"]' ) . first ( ) ;
@@ -53,7 +53,7 @@ test.describe("checkbox-radio-selection-web", () => {
5353 } ) ;
5454
5555 test ( "handles checkbox selection" , async ( { page } ) => {
56- const selectionControls = page . locator ( ".mx-name-checkboxRadioButton6 " ) ; // multi selection
56+ const selectionControls = page . locator ( ".mx-name-checkboxRadioSelection6 " ) ; // multi selection
5757 await expect ( selectionControls ) . toBeVisible ( { timeout : 10000 } ) ;
5858
5959 const checkboxOption = selectionControls . locator ( 'input[type="checkbox"]' ) . first ( ) ;
0 commit comments