Skip to content

Commit

Permalink
chore: use larger window size for tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Soare-Robert-Daniel committed Jun 4, 2024
1 parent 1e79b58 commit e3a296c
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions tests/e2e/specs/feed.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ test.describe( 'Feed Settings', () => {
});

test( 'changing General Feed Settings', async({ editor, page }) => {

const importName = 'Test Title: changing General Feed Settings';

await page.goto('/wp-admin/post-new.php?post_type=feedzy_imports');
Expand All @@ -74,6 +73,11 @@ test.describe( 'Feed Settings', () => {
});

test( 'chained actions for feed content', async({ editor, page, admin }) => {
await page.setViewportSize({
width: 1920,
height: 1080,
});

const importName = 'Test Title: changing General Feed Settings';

await page.goto('/wp-admin/post-new.php?post_type=feedzy_imports');
Expand Down Expand Up @@ -123,10 +127,15 @@ test.describe( 'Feed Settings', () => {
await page.getByRole('button', { name: 'Step 3 Map content' }).click({ force: true });

await page.getByTitle('remove tag').click({ force: true });
await expect( page.getByTitle('item content').getByRole('link') ).toBeHidden();
await expect( page.getByText('item content', { exact: true }) ).toBeHidden();
});

test( 'chained actions for feed title ', async({ editor, page, admin }) => {
await page.setViewportSize({
width: 1920,
height: 1080,
});

const importName = 'Test Title: changing General Feed Settings';

await page.goto('/wp-admin/post-new.php?post_type=feedzy_imports');
Expand Down

0 comments on commit e3a296c

Please sign in to comment.