Skip to content

Commit 321edb1

Browse files
chore: update tests
1 parent da9137c commit 321edb1

File tree

1 file changed

+3
-33
lines changed

1 file changed

+3
-33
lines changed

tests/e2e/specs/import.spec.js

Lines changed: 3 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,9 @@ test.describe('Feed Import', () => {
305305
).resolves.toBeGreaterThan(0); // We should have some imported images.
306306
});
307307

308-
test('close popup when clicking outside', async ({ page }) => {
308+
test('close Feedzy Action modal when clicking outside', async ({
309+
page,
310+
}) => {
309311
await page.goto('/wp-admin/post-new.php?post_type=feedzy_imports');
310312
await tryCloseTourModal(page);
311313

@@ -329,36 +331,4 @@ test.describe('Feed Import', () => {
329331
page.getByRole('heading', { name: 'Add actions to this tag' })
330332
).not.toBeVisible();
331333
});
332-
333-
test('taxonomy settings for free', async ({ page }) => {
334-
await page.goto('/wp-admin/post-new.php?post_type=feedzy_imports');
335-
await tryCloseTourModal(page);
336-
337-
await page
338-
.getByRole('button', { name: 'Step 3 Map content ' })
339-
.click();
340-
341-
await page
342-
.locator('#feedzy_post_terms_chosen')
343-
.getByRole('list')
344-
.first()
345-
.click();
346-
347-
await expect(
348-
page.getByText(
349-
'CategoryUncategorizedProseparatorItem CategoriesPROAuto Categories by keywordPRO'
350-
)
351-
).toBeVisible();
352-
});
353-
354-
test('check if user can add pro features in free', async ({ page }) => {
355-
await page.goto('/wp-admin/post-new.php?post_type=feedzy_imports');
356-
await tryCloseTourModal(page);
357-
358-
await page.getByRole('button', { name: 'Step 2 Filters ' }).click();
359-
360-
await page.waitForTimeout(1000);
361-
362-
await expect(page.getByLabel('Include If')).toBeDisabled();
363-
});
364334
});

0 commit comments

Comments
 (0)