Skip to content

Commit 7292c42

Browse files
fix: e2e
1 parent 59cc3b7 commit 7292c42

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/e2e/specs/chart-sources.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ test.describe( 'Data Free Sources', () => {
2929
// add `open`class to the tab to make it visible.
3030
await manualDataTab.evaluate( ( node ) => node.classList.add('open') );
3131

32-
await page.frameLocator('iframe').getByLabel('Month: activate to sort').click();
32+
await page.frameLocator('iframe').getByLabel('Month: Activate to invert sorting').click();
3333
await page.frameLocator('iframe').getByRole('button', { name: 'Edit Data' }).click();
3434

3535
await page.frameLocator('iframe').getByRole('button', { name: 'Show Chart' }).click();
3636
await page.waitForTimeout( 500 );
3737
await page.frameLocator('iframe').getByRole('button', { name: 'Create Chart' }).click();
3838

39-
await expect( page.locator('table').filter({ hasText: /^MonthBoliviaEcuadorMadagascarPapua New GuineaRwanda$/ }).getByLabel('Month: activate to sort') ).toBeVisible();
39+
await expect( page.locator('table').filter({ hasText: /^MonthBoliviaEcuadorMadagascarPapua New GuineaRwanda$/ }).getByLabel('Month: Activate to invert sorting') ).toBeVisible();
4040
});
4141
} );

0 commit comments

Comments
 (0)