Skip to content

Commit

Permalink
Fix failed test
Browse files Browse the repository at this point in the history
  • Loading branch information
zamuzakki committed Jan 31, 2025
1 parent a3461fa commit 7f5b4d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions playwright/ci-test/tests/admin_filter/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ test.describe('Test filter in style admin', () => {
await page.getByRole('button', { name: 'Create New Style' }).click();
await page.locator('b').getByRole('link', { name: 'Styles' }).click();
await expect(page.locator('.MuiDataGrid-row')).toHaveCount(3);
await expect(page.locator('.MuiDataGrid-row').nth(0).locator('.MuiDataGrid-cell').nth(1)).toContainText('Style 3');
await expect(page.locator('.MuiDataGrid-row').nth(1).locator('.MuiDataGrid-cell').nth(1)).toContainText('Style 2');
await expect(page.locator('.MuiDataGrid-row').nth(2).locator('.MuiDataGrid-cell').nth(1)).toContainText('Style 1');
await expect(page.locator('.MuiDataGrid-row').nth(0).locator('.MuiDataGrid-cell').nth(1)).toContainText('Style_3');
await expect(page.locator('.MuiDataGrid-row').nth(1).locator('.MuiDataGrid-cell').nth(1)).toContainText('Style_2');
await expect(page.locator('.MuiDataGrid-row').nth(2).locator('.MuiDataGrid-cell').nth(1)).toContainText('Style_1');
});

})

0 comments on commit 7f5b4d2

Please sign in to comment.