mirror of
https://github.com/strapi/strapi.git
synced 2025-06-27 00:41:25 +00:00
test(e2e): fix test
This commit is contained in:
parent
c878229d2d
commit
8224302b0a
@ -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();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user