Skip to content

Commit 155d3b8

Browse files
fixing failing playwright test
1 parent ac5cfd9 commit 155d3b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dotcom-rendering/playwright/tests/affiliate-links.e2e.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ test.describe('Affiliate links', () => {
3434
const skimlinkLocator = page.locator(skimlinkSelector).first();
3535
const skimlinkRelAttribute =
3636
await skimlinkLocator.getAttribute('rel');
37-
expect(skimlinkRelAttribute).toBe('sponsored');
37+
expect(skimlinkRelAttribute).toBe('sponsored noreferrer noopener');
3838
});
3939

4040
test('skimlinks should contain the xcust URL parameter', async ({

0 commit comments

Comments
 (0)