File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -12,21 +12,21 @@ test("Expect the checkboxes in the 'Edit Columns' menu to add those columns to t
12
12
await testSelectableColumns ( page , tab ) ;
13
13
} ) ;
14
14
15
- test ( "Expect the checkboxes for preselected columns in the 'Edit Columns' menu to be checked and disabled on the Consortia tab" , async ( {
15
+ test ( "Expect the checkboxes for preselected columns in the 'Edit Columns' menu to be checked and enabled on the Consortia tab" , async ( {
16
16
page,
17
17
} ) => {
18
18
const tab = ANVIL_CATALOG_TABS . CONSORTIA ;
19
19
await testPreSelectedColumns ( page , tab ) ;
20
20
} ) ;
21
21
22
- test ( "Expect the checkboxes for preselected columns in the 'Edit Columns' menu to be checked and disabled on the Studies tab" , async ( {
22
+ test ( "Expect the checkboxes for preselected columns in the 'Edit Columns' menu to be checked and enabled on the Studies tab" , async ( {
23
23
page,
24
24
} ) => {
25
25
const tab = ANVIL_CATALOG_TABS . STUDIES ;
26
26
await testPreSelectedColumns ( page , tab ) ;
27
27
} ) ;
28
28
29
- test ( "Expect the checkboxes for preselected columns in the 'Edit Columns' menu to be checked and disabled on the Workspaces tab" , async ( {
29
+ test ( "Expect the checkboxes for preselected columns in the 'Edit Columns' menu to be checked and enabled on the Workspaces tab" , async ( {
30
30
page,
31
31
} ) => {
32
32
const tab = ANVIL_CATALOG_TABS . WORKSPACES ;
Original file line number Diff line number Diff line change @@ -332,7 +332,7 @@ export async function testSelectableColumns(
332
332
333
333
/**
334
334
* Checks that the preselected columns specified in the tab object appear
335
- * in the "Edit Columns" menu and that their checkbox is checked and disabled
335
+ * in the "Edit Columns" menu and that their checkbox is checked and enabled.
336
336
* @param page - the Playwright page object
337
337
* @param tab - the tab object to test
338
338
*/
@@ -353,7 +353,7 @@ export async function testPreSelectedColumns(
353
353
. filter ( { has : page . getByText ( column . name , { exact : true } ) } ) ,
354
354
} )
355
355
. getByRole ( "checkbox" ) ;
356
- await expect ( checkboxLocator ) . toBeDisabled ( ) ;
356
+ await expect ( checkboxLocator ) . toBeEnabled ( ) ;
357
357
await expect ( checkboxLocator ) . toBeChecked ( ) ;
358
358
}
359
359
}
You can’t perform that action at this time.
0 commit comments