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(
140140 }
141141}
142142
143- // The test id for the column sorted icon
144- const COLUMN_SORT_ICON_TEST_ID = "SouthRoundedIcon" ;
145-
146143/**
147144 * Checks that sorting the tab causes the sort icon to appear
148145 * This test does not check whether the sort order is correct.
@@ -189,8 +186,8 @@ export async function testSortAzul(
189186 name : columnObject . name ,
190187 } ) ;
191188 // 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"
194191 ) ;
195192 // If on the first cell, expect the sort icon to be visible. Otherwise, expect it not to be
196193 if ( columnPosition === 0 ) {
You can’t perform that action at this time.
0 commit comments