Skip to content

Commit

Permalink
fix: e2e error
Browse files Browse the repository at this point in the history
  • Loading branch information
girishpanchal30 committed Dec 25, 2024
1 parent fc753a7 commit d29602d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/specs/upsell.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ test.describe( 'Upsell', () => {
await expect( upgradeAlert ).toBeVisible();

await page.locator('#delete-attached-media').hover({ force: true });
let upgradeAlert = page.locator('#feedzy-import-form a[href*="utm_campaign=delete-featured-image"]');
upgradeAlert = page.locator('#feedzy-import-form a[href*="utm_campaign=delete-featured-image"]');
await expect( upgradeAlert ).toBeVisible();

Check failure on line 75 in tests/e2e/specs/upsell.spec.js

View workflow job for this annotation

GitHub Actions / E2E

[chromium] › upsell.spec.js:58:9 › Upsell › general settings

1) [chromium] › upsell.spec.js:58:9 › Upsell › general settings ────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('#feedzy-import-form a[href*="utm_campaign=delete-featured-image"]') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('#feedzy-import-form a[href*="utm_campaign=delete-featured-image"]') - locator resolved to <a target="_blank" title="Buy Now" href="https://th…>upgrading to Feedzy Pro</a> - unexpected value "hidden" - locator resolved to <a target="_blank" title="Buy Now" href="https://th…>upgrading to Feedzy Pro</a> - unexpected value "hidden" - locator resolved to <a target="_blank" title="Buy Now" href="https://th…>upgrading to Feedzy Pro</a> - unexpected value "hidden" - locator resolved to <a target="_blank" title="Buy Now" href="https://th…>upgrading to Feedzy Pro</a> - unexpected value "hidden" - locator resolved to <a target="_blank" title="Buy Now" href="https://th…>upgrading to Feedzy Pro</a> - unexpected value "hidden" - locator resolved to <a target="_blank" title="Buy Now" href="https://th…>upgrading to Feedzy Pro</a> - unexpected value "hidden" - locator resolved to <a target="_blank" title="Buy Now" href="https://th…>upgrading to Feedzy Pro</a> - unexpected value "hidden" - locator resolved to <a target="_blank" title="Buy Now" href="https://th…>upgrading to Feedzy Pro</a> - unexpected value "hidden" - locator resolved to <a target="_blank" title="Buy Now" href="https://th…>upgrading to Feedzy Pro</a> - unexpected value "hidden" 73 | await page.locator('#delete-attached-media').hover({ force: true }); 74 | upgradeAlert = page.locator('#feedzy-import-form a[href*="utm_campaign=delete-featured-image"]'); > 75 | await expect( upgradeAlert ).toBeVisible(); | ^ 76 | } ); 77 | }); 78 | at /home/runner/work/feedzy-rss-feeds/feedzy-rss-feeds/tests/e2e/specs/upsell.spec.js:75:38
} );
});

0 comments on commit d29602d

Please sign in to comment.