mirror of
https://github.com/strapi/strapi.git
synced 2025-11-12 00:03:40 +00:00
fix(content-releases): fix e2e test (#20094)
This commit is contained in:
parent
40e16fbbc6
commit
463b44b975
@ -136,8 +136,6 @@ describeOnCondition(edition === 'EE')('Releases page', () => {
|
|||||||
|
|
||||||
await test.step('releases should be updated in the release column of list view', async () => {
|
await test.step('releases should be updated in the release column of list view', async () => {
|
||||||
const releaseColumn = page.getByRole('button', { name: '2 releases' });
|
const releaseColumn = page.getByRole('button', { name: '2 releases' });
|
||||||
expect(releaseColumn).toHaveCount(2);
|
|
||||||
|
|
||||||
await releaseColumn.first().click();
|
await releaseColumn.first().click();
|
||||||
await expect(page.getByText('The Diamond Dogs')).toBeVisible();
|
await expect(page.getByText('The Diamond Dogs')).toBeVisible();
|
||||||
await expect(page.getByText('Trent Crimm: The Independent')).toBeVisible();
|
await expect(page.getByText('Trent Crimm: The Independent')).toBeVisible();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user