Skip to content
This repository has been archived by the owner on May 22, 2019. It is now read-only.

Commit

Permalink
Merge pull request #167 from Financial-Times/a11y-sourcepoint-flag
Browse files Browse the repository at this point in the history
Amend: set sourcepoint flag to off for a11y tests
  • Loading branch information
andygnewman authored Mar 23, 2017
2 parents ee9c0ec + c4a08cb commit 96e3c0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/.pa11yci.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const config = {

// Override with project specifics, if any
const exceptions = process.env.PA11Y_ROUTE_EXCEPTIONS ? process.env.PA11Y_ROUTE_EXCEPTIONS.split(',') : [];
config.defaults.page.headers = process.env.PA11Y_HEADERS ? JSON.parse(process.env.PA11Y_HEADERS) : {Cookie: 'next-flags=ads:off,cookieMessage:off; secure=true'};
config.defaults.page.headers = process.env.PA11Y_HEADERS ? JSON.parse(process.env.PA11Y_HEADERS) : {Cookie: 'next-flags=ads:off,sourcepoint:off,cookieMessage:off; secure=true'};
config.defaults.hideElements = process.env.PA11Y_HIDE ? `${process.env.PA11Y_HIDE},${config.defaults.hideElements}` : config.defaults.hideElements;

console.log('PA11Y_ROUTE_EXCEPTIONS:', process.env.PA11Y_ROUTE_EXCEPTIONS);
Expand Down

0 comments on commit 96e3c0d

Please sign in to comment.