Skip to content

Commit 51412f6

Browse files
Update affiliate-links.e2e.spec.ts
1 parent 6faf681 commit 51412f6

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).toContain('sponsored');
3838
});
3939

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

0 commit comments

Comments
 (0)