File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -140,9 +140,6 @@ export async function testTab(
140
140
}
141
141
}
142
142
143
- // The test id for the column sorted icon
144
- const COLUMN_SORT_ICON_TEST_ID = "SouthRoundedIcon" ;
145
-
146
143
/**
147
144
* Checks that sorting the tab causes the sort icon to appear
148
145
* This test does not check whether the sort order is correct.
@@ -189,8 +186,8 @@ export async function testSortAzul(
189
186
name : columnObject . name ,
190
187
} ) ;
191
188
// Locator for the column sort icon
192
- const sortIconLocator = columnSortLocator . getByTestId (
193
- COLUMN_SORT_ICON_TEST_ID
189
+ const sortIconLocator = columnSortLocator . locator (
190
+ ".MuiTableSortLabel-icon"
194
191
) ;
195
192
// If on the first cell, expect the sort icon to be visible. Otherwise, expect it not to be
196
193
if ( columnPosition === 0 ) {
You can’t perform that action at this time.
0 commit comments