Skip to content

Commit

Permalink
Remove AMP embed test
Browse files Browse the repository at this point in the history
  • Loading branch information
abeddow91 committed Jan 7, 2025
1 parent 01bf4e2 commit 9f537f6
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions dotcom-rendering/playwright/tests/article.embeds.e2e.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,6 @@ import { loadPage } from '../lib/load-page';
import { expectToBeVisible } from '../lib/locators';

test.describe('Embeds', () => {
test.describe('AMP', () => {
test('should render the corona interactive atom embed', async ({
page,
}) => {
await loadPage(
page,
'/AMPArticle/https://www.theguardian.com/world/2020/apr/24/new-mother-dies-of-coronavirus-six-days-after-giving-birth',
);
await cmpAcceptAll(
page,
'amp-consent > iframe[src*="sourcepoint"]',
);

await expect(
await getIframeBody(
page,
'amp-iframe[data-testid="atom-embed-url"] > iframe',
),
).toContainText('Daily cases');
});
});

test.describe('WEB', function () {
test('should render the click to view overlay revealing the embed when clicked', async ({
page,
Expand Down

0 comments on commit 9f537f6

Please sign in to comment.