@@ -13,38 +13,38 @@ test.describe("checkbox-radio-selection-web", () => {
13
13
14
14
test . describe ( "data source types" , ( ) => {
15
15
test ( "renders checkbox radio selection using association" , async ( { page } ) => {
16
- const selectionControls = page . locator ( ".mx-name-checkboxRadioSelection1 " ) ;
16
+ const selectionControls = page . locator ( ".mx-name-checkboxRadioButton1 " ) ;
17
17
await expect ( selectionControls ) . toBeVisible ( { timeout : 10000 } ) ;
18
18
await expect ( selectionControls ) . toHaveScreenshot ( `checkboxRadioSelectionAssociation.png` ) ;
19
19
} ) ;
20
20
21
21
test ( "renders checkbox radio selection using enum" , async ( { page } ) => {
22
- const selectionControls = page . locator ( ".mx-name-checkboxRadioSelection2 " ) ;
22
+ const selectionControls = page . locator ( ".mx-name-checkboxRadioButton2 " ) ;
23
23
await expect ( selectionControls ) . toBeVisible ( { timeout : 10000 } ) ;
24
24
await expect ( selectionControls ) . toHaveScreenshot ( `checkboxRadioSelectionEnum.png` ) ;
25
25
} ) ;
26
26
27
27
test ( "renders checkbox radio selection using boolean" , async ( { page } ) => {
28
- const selectionControls = page . locator ( ".mx-name-checkboxRadioSelection3 " ) ;
28
+ const selectionControls = page . locator ( ".mx-name-checkboxRadioButton3 " ) ;
29
29
await expect ( selectionControls ) . toBeVisible ( { timeout : 10000 } ) ;
30
30
await expect ( selectionControls ) . toHaveScreenshot ( `checkboxRadioSelectionBoolean.png` ) ;
31
31
} ) ;
32
32
33
33
test ( "renders checkbox radio selection using static values" , async ( { page } ) => {
34
- const selectionControls = page . locator ( ".mx-name-checkboxRadioSelection4 " ) ;
34
+ const selectionControls = page . locator ( ".mx-name-checkboxRadioButton4 " ) ;
35
35
await expect ( selectionControls ) . toBeVisible ( { timeout : 10000 } ) ;
36
36
await expect ( selectionControls ) . toHaveScreenshot ( `checkboxRadioSelectionStatic.png` ) ;
37
37
} ) ;
38
38
39
39
test ( "renders checkbox radio selection using database" , async ( { page } ) => {
40
- const selectionControls = page . locator ( ".mx-name-checkboxRadioSelection5 " ) ;
40
+ const selectionControls = page . locator ( ".mx-name-checkboxRadioButton5 " ) ;
41
41
await expect ( selectionControls ) . toBeVisible ( { timeout : 10000 } ) ;
42
42
await expect ( selectionControls ) . toHaveScreenshot ( `checkboxRadioSelectionDatabase.png` ) ;
43
43
} ) ;
44
44
45
45
test . describe ( "selection behavior" , ( ) => {
46
46
test ( "handles radio button selection" , async ( { page } ) => {
47
- const selectionControls = page . locator ( ".mx-name-checkboxRadioSelection1 " ) ;
47
+ const selectionControls = page . locator ( ".mx-name-checkboxRadioButton1 " ) ;
48
48
await expect ( selectionControls ) . toBeVisible ( { timeout : 10000 } ) ;
49
49
50
50
const radioOption = selectionControls . locator ( 'input[type="radio"]' ) . first ( ) ;
@@ -53,7 +53,7 @@ test.describe("checkbox-radio-selection-web", () => {
53
53
} ) ;
54
54
55
55
test ( "handles checkbox selection" , async ( { page } ) => {
56
- const selectionControls = page . locator ( ".mx-name-checkboxRadioSelection6 " ) ; // multi selection
56
+ const selectionControls = page . locator ( ".mx-name-checkboxRadioButton6 " ) ; // multi selection
57
57
await expect ( selectionControls ) . toBeVisible ( { timeout : 10000 } ) ;
58
58
59
59
const checkboxOption = selectionControls . locator ( 'input[type="checkbox"]' ) . first ( ) ;
0 commit comments