Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dotcom-rendering/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@guardian/eslint-config-typescript": "9.0.1",
"@guardian/identity-auth": "6.0.1",
"@guardian/identity-auth-frontend": "8.1.0",
"@guardian/libs": "25.2.0",
"@guardian/libs": "0.0.0-canary-20250819084403",
"@guardian/ophan-tracker-js": "2.3.2",
"@guardian/react-crossword": "6.3.0",
"@guardian/shimport": "1.0.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ test.describe('Affiliate links', () => {
const skimlinkLocator = page.locator(skimlinkSelector).first();
const skimlinkRelAttribute =
await skimlinkLocator.getAttribute('rel');
expect(skimlinkRelAttribute).toBe('sponsored');
expect(skimlinkRelAttribute).toContain('sponsored');
});

test('skimlinks should contain the xcust URL parameter', async ({
Expand Down
5 changes: 5 additions & 0 deletions dotcom-rendering/src/client/bootCmp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ const initialiseCmp = async () => {
// If user has the "reject all" benefit then show the reduced, "non-advertised" list
const useNonAdvertisedList = allowRejectAll(isUserSignedIn);

const isInSourcepointGeolocationTest =
window.guardian.config.tests['consentGeolocationTestVariant'] ===
'variant';

const country = code ?? undefined;
cmp.init({
pubData: {
Expand All @@ -76,6 +80,7 @@ const initialiseCmp = async () => {
country,
useNonAdvertisedList,
isUserSignedIn,
isInSourcepointGeolocationTest,
});
log('dotcom', 'CMP initialised');
};
Expand Down
100 changes: 50 additions & 50 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.