Skip to content

Commit

Permalink
Fix CORS error on demo test
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin940726 committed Dec 20, 2022
1 parent 0d5caa2 commit aa693b5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/scripts/config/puppeteer.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ module.exports = {
devtools: process.env.PUPPETEER_DEVTOOLS === 'true',
headless: process.env.PUPPETEER_HEADLESS !== 'false',
slowMo: parseInt( process.env.PUPPETEER_SLOWMO, 10 ) || 0,
args: [ '--enable-blink-features=ComputedAccessibilityInfo' ],
args: [
'--enable-blink-features=ComputedAccessibilityInfo',
'--disable-web-security',
],
},
};

1 comment on commit aa693b5

@github-actions
Copy link

@github-actions github-actions bot commented on aa693b5 Dec 20, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/3737823843
📝 Reported issues:

Please sign in to comment.