[wp-trac] [WordPress Trac] #51446: CORS issues with QUnit while running tests
WordPress Trac
noreply at wordpress.org
Wed Oct 7 21:32:30 UTC 2020
#51446: CORS issues with QUnit while running tests
-------------------------------------------------+-------------------------
Reporter: garrett-eclipse | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing dev- | Focuses: javascript
feedback has-unit-tests needs-refresh |
-------------------------------------------------+-------------------------
Changes (by garrett-eclipse):
* keywords: has-patch needs-testing dev-feedback has-unit-tests => has-
patch needs-testing dev-feedback has-unit-tests needs-refresh
Comment:
Nice thanks for the PR @iandunn that fixed the CORS for me, I tried
dropping the extra params so it was just `--disable-web-security` and that
was all that the CORS issue needed like;
{{{
qunit: {
options: {
puppeteer: {
args: [ "--disable-web-security" ]
}
},
}}}
But I am also getting the error for `Failed to load resource:
net::ERR_FILE_NOT_FOUND`. Looking into that, seems it's a missing file or
incorrect reference.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51446#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list