Skip to content

🐛 Fix percy-specific css resource url#387

Merged
wwilsman merged 1 commit intomasterfrom
ww/fix-percy-css-resource-url
Jun 22, 2021
Merged

🐛 Fix percy-specific css resource url#387
wwilsman merged 1 commit intomasterfrom
ww/fix-percy-css-resource-url

Conversation

@wwilsman
Copy link
Copy Markdown
Contributor

What is this?

Resource URLs should include the root origin, otherwise our infrastructure proxy fails to properly proxy the request over secure connections. This behavior is likely due to a default origin somewhere being http attempting to validate against https.

This PR takes advantage of new URL(input, base) behavior, where the origin of the second argument is used as the base of the input when the input is an absolute or relative pathname.

Resource URLs should include the root origin, otherwise our infrastructure proxy fails to properly
proxy the request over secure connections. This behavior is likely due to a default origin somewhere
being http attempting to validate against https
@wwilsman wwilsman added the 🐛 bug Something isn't working label Jun 22, 2021
@wwilsman wwilsman requested a review from Robdel12 June 22, 2021 21:06
Copy link
Copy Markdown
Contributor

@Robdel12 Robdel12 left a comment

Choose a reason for hiding this comment

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

🏁 while I’m happy we no longer have a full suite of only E2E tests on Percy, I think this might be a good argument for a few smokes

@wwilsman
Copy link
Copy Markdown
Contributor Author

I've always wanted to consolidate our old e2e tests into a single example app at the top level of this repo. Just hasn't been a huge priority since we have 100% test coverage otherwise

@wwilsman wwilsman enabled auto-merge (squash) June 22, 2021 21:10
@wwilsman wwilsman merged commit ed522a5 into master Jun 22, 2021
@wwilsman wwilsman deleted the ww/fix-percy-css-resource-url branch June 22, 2021 21:13
samarsault pushed a commit that referenced this pull request Mar 3, 2023
Bumps [@cypress/code-coverage](https://github.com/cypress-io/code-coverage) from 3.9.9 to 3.9.10.
- [Release notes](https://github.com/cypress-io/code-coverage/releases)
- [Commits](cypress-io/code-coverage@v3.9.9...v3.9.10)

---
updated-dependencies:
- dependency-name: "@cypress/code-coverage"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐛 bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants