test(e2e): fix test

This commit is contained in:
Ben Irvin 2025-04-15 12:28:02 +02:00 committed by Alexandre BODIN
parent c878229d2d
commit 8224302b0a
2 changed files with 2 additions and 2 deletions

View File

@ -177,7 +177,7 @@ test.describe('List View', () => {
.getByRole('button', { name: 'Confirm' });
await confirmDeleteButton.click();
await page.waitForSelector('text=No content found');
await expect(page.getByText('No content found')).toBeVisible();
});
});
});

View File

@ -52,7 +52,7 @@ test.describe('Create and Edit Operations', () => {
await expect(page.getByRole('combobox', { name: 'Select a locale' })).toHaveText(
'Spanish (es)'
);
await expect(page.getByRole('row', { name: 'No content found' })).toBeVisible();
await expect(page.getByText('No content found')).toBeVisible();
/**
* So now we're going to create a document.