Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GraphQL cacheable requests always have "Authorization Bearer" header #4237

Closed
wants to merge 4 commits into from

Conversation

glo11372
Copy link
Collaborator

@glo11372 glo11372 commented Mar 4, 2024

Description

GraphQL cacheable requests always have "Authorization Bearer" header
Steps to test the behaviour :

1- sign up.in Venia.magento.com or any PWA store
2- login
3- check network tab on any page and search for GraphQL requests which should be cached such as CMSPages
4- check the request header you will not find Authorization Bearer header exist
5- Varnish will cache that request's response.

Related Issue

Closes #https://jira.corp.adobe.com/browse/PWA-3154

Acceptance

Verification Stakeholders

Specification

Verification Steps

Test scenario(s) for direct fix/feature

Test scenario(s) for any existing impacted features/areas

Test scenario(s) for any Magento Backend Supported Configurations

Is Browser/Device testing needed?

Any ad-hoc/edge case scenarios that need to be considered?

Screenshots / Screen Captures (if appropriate)

Breaking Changes (if any)

Checklist

  • I have added tests to cover my changes, if necessary.
  • I have added translations for new strings, if necessary.
  • I have updated the documentation accordingly, if necessary.

@glo11372 glo11372 added pkg:peregrine version: Patch This changeset includes backwards compatible bug fixes. labels Mar 4, 2024
@glo11372 glo11372 requested a review from glo82145 March 4, 2024 09:32
@glo11372 glo11372 self-assigned this Mar 4, 2024
@m2-community-project m2-community-project bot added this to Review in Progress in Pull Request Progress Mar 4, 2024
@pwa-studio-bot
Copy link
Collaborator

pwa-studio-bot commented Mar 4, 2024

Messages
📖

Associated JIRA tickets: PWA-3154.

📖 DangerCI Failures related to missing labels/description/linked issues/etc will persist until the next push or next pr-test build run (assuming they are fixed).
📖

Access a deployed version of this PR here. Make sure to wait for the "pwa-pull-request-deploy" job to complete.

Generated by 🚫 dangerJS against c3c3a64

@glo11372 glo11372 added needs-triage A pull request or issue that needs to be triaged prior to being synced to JIRA pkg:venia-ui pkg:venia-concept Don't Merge and removed needs-triage A pull request or issue that needs to be triaged prior to being synced to JIRA version: Patch This changeset includes backwards compatible bug fixes. pkg:venia-concept pkg:venia-ui Don't Merge labels Mar 4, 2024
@glo82145 glo82145 added the version: Minor This changeset includes functionality added in a backwards compatible manner. label Mar 4, 2024
@glo82145 glo82145 closed this Mar 4, 2024
@glo82145 glo82145 reopened this Mar 4, 2024
@m2-community-project m2-community-project bot removed this from Review in Progress in Pull Request Progress Mar 4, 2024
@pwa-studio-bot
Copy link
Collaborator

Fails
🚫

node failed.

Log

Error: Error: Cannot find module './.lighthouseci/assertion-results.json'
Require stack:
- dangerfile.lighthouse.js
- /usr/local/share/.config/yarn/global/node_modules/danger/distribution/runner/runners/inline.js
- /usr/local/share/.config/yarn/global/node_modules/danger/distribution/commands/danger-runner.js

ERROR ON TASK: lighthouseTests


Error:  Danger had errors running. See message(s) above for more details.
danger-results://tmp/danger-results-358d75f2.json

Generated by 🚫 dangerJS against e2e138e

@pwa-studio-bot
Copy link
Collaborator

Fails
🚫

node failed.

Log

Error: Error: Cannot find module './.lighthouseci/assertion-results.json'
Require stack:
- dangerfile.lighthouse.js
- /usr/local/share/.config/yarn/global/node_modules/danger/distribution/runner/runners/inline.js
- /usr/local/share/.config/yarn/global/node_modules/danger/distribution/commands/danger-runner.js

ERROR ON TASK: lighthouseTests


Error:  Danger had errors running. See message(s) above for more details.
danger-results://tmp/danger-results-473bd02f.json

Generated by 🚫 dangerJS against e2e138e

@pwa-studio-bot
Copy link
Collaborator

pwa-studio-bot commented Mar 4, 2024

Fails
🚫

node failed.

🚫

Cypress tests in the following files did not pass 😔. All tests must pass before this PR can be merged

  • Verify content:
    • CypressError: `cy.visit()` failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • verify buttons content:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • Verify content:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • verify google map api load with content:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    verify mocked google map api with two markers and click event:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • verify column content:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

    ,should apply mediaQuery styles:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • verify slider content:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    verify slider content 2:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    verify slider content 3:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    verify slider content 4:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    verify slider content 5:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    verify slider content 6:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    verify slider content 7:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    verify slider content 8:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    verify slider content 9:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    verify slider content 10:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    verify slider content 11:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    verify slider content 12:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

    ,should apply mediaQuery styles:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • verify divider content:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • verify dynamic block content:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • verify smoke test content:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    verify smoke test cms block content:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    verify smoke test dynamic block content:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • verify banner content:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    verify banner content2:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    verify banner content3:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    verify banner content4:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    verify banner content5:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    verify banner content6:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    verify banner content7:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    verify banner content8:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    verify banner content9:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    verify banner content10:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

    ,should apply mediaQuery styles:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • verify tabs content:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

    ,should apply mediaQuery styles:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • verify block content:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    verify block dynamic block content:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    verify block cms block content:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    verify block cms page content:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • verify text content:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • verify row content:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    verify row content2:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    verify row min height:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    verify row video background:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    verify row video background2:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    verify row video background3:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

    ,should apply mediaQuery styles:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • verify video content alignment:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

Log

ERROR ON TASK: cypressTests


Error:  Danger had errors running. See message(s) above for more details.
danger-results://tmp/danger-results.json

Generated by 🚫 dangerJS against c3c3a64

@pwa-studio-bot
Copy link
Collaborator

Fails
🚫

node failed.

🚫

Cypress tests in the following files did not pass 😔. All tests must pass before this PR can be merged

  • user should be able to access the Categories via Home page and from Main Menu left drawer:
    • CypressError: `cy.visit()` failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • user should be able to add and update gift options:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/valeria-two-layer-tank.html

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • user can edit account information with default badge position:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    user can edit account information with inline badge position:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • Verify venia anchor links:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/valeria-two-layer-tank.html

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • user should be able to place an order as a registered customer:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/valeria-two-layer-tank.html

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    Registered user should be able to sign in from toast suggestion in guest checkout page:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/valeria-two-layer-tank.html

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • Discount summary dropdown renders correctly:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/valeria-two-layer-tank.html

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • User shouldn't be able to add a CustomizableProduct from category page:
  • user should be able to filter results in Category and Search pages:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/venia-tops.html?page=1

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    user should be able to use radio-boolean filter results in Category and Search pages:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/venia-accessories.html?page=1

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • user should be able to update their address book:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • user can fill and submit payment form and place order with inline badge position:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    user can fill and submit payment form and place order with default badge position:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • user can fill and submit form:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/contact-us

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • user can fill and submit form with default badge position:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/forgot-password

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    user can fill and submit form with inline badge position:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/forgot-password

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • User shouldn't be able to add a CustomizableProduct from search:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • user should be able to create a new account and edit their information:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • user should be able to sort products and use pagination:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/venia-tops.html?page=1

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • verify products content type:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    verify category page:
    verify search page:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/./search.html?page=1

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    verify search suggest products:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • user should be able to remove an item from the cart:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/valeria-two-layer-tank.html

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • should be able to edit a configurable product and place an order:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • user can create account with default badge position:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    user can sign in with default badge position:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    user can create account with inline badge position:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    user can sign in inline badge position:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • should display Default Store View and USD currency by default:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    should display EUR currency by default if French Store View is selected:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    should be able to place an order in French store:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    should display English text and USD currency accross app if Default Store View is selected:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    should display French text and EUR currency accross app if French Store View is selected:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    should show USD currency across app if it is selected inside French Store View:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • user should be able to add and remove promotions from cart:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/valeria-two-layer-tank.html

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • user should be able to place an order as a guest:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/valeria-two-layer-tank.html

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • user should be able to remove products:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/valeria-two-layer-tank.html

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • contains valid CMS Page data:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    displays subcategories from the default root category:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    displays assigned products:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

    ,contains valid CMS Page data specific to the different store:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    shows categories specific to the different store:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false


    shows products specific to the categories in the different store:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

    ,lets users add products to cart regardless of store view:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • user should be able to place an order as a guest with an specified Region and a credit card:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/valeria-two-layer-tank.html

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • Validate validations:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • user should be able to add and remove products from wishlist:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • user should be routed to 404 page when accessing an unknown route:
    • AssertionError: Timed out retrying after 30000ms: Expected to find element: [data-cy="ErrorView-root"], but never found it.
  • user should be able to navigate on offline mode:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • user can see list of important package versions:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • user should be able search with different inputs:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • user should be able search with different inputs and view different suggestions:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

  • user should be able to add and remove products from wishlist:
    • CypressError: cy.visit() failed trying to load:

      https://pr-4237.pwa-venia.com/

      The response we received from your web server was:

      502: Bad Gateway

      This was considered a failure because the status code was not 2xx.

      If you do not want status codes to cause failures pass the option: failOnStatusCode: false

Log

ERROR ON TASK: cypressTests


Error:  Danger had errors running. See message(s) above for more details.
danger-results://tmp/danger-results.json

Generated by 🚫 dangerJS against c3c3a64

@glo82145 glo82145 closed this May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg:peregrine version: Minor This changeset includes functionality added in a backwards compatible manner.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants