magento / pwa-studio

🛠Development tools to build, optimize and deploy Progressive Web Applications for Magento 2.
https://developer.adobe.com/commerce/pwa-studio/
Open Software License 3.0
1.06k stars 682 forks source link

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

Closed glo11372 closed 4 months ago

glo11372 commented 6 months ago

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

pwa-studio-bot commented 6 months ago
Messages
:book: Associated JIRA tickets: [PWA-3154](https://jira.corp.magento.com/browse/PWA-3154).
:book: 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).
:book: Access a deployed version of this PR [here](https://pr-4237.pwa-venia.com/). Make sure to wait for the "pwa-pull-request-deploy" job to complete.

Generated by :no_entry_sign: dangerJS against c3c3a64bceb59dd99109c6dd34b5eb4cede3b1e5

pwa-studio-bot commented 6 months ago
Fails
:no_entry_sign: `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 :no_entry_sign: dangerJS against e2e138ec5c8462d606d61473686de3f0dde5ddfd

pwa-studio-bot commented 6 months ago
Fails
:no_entry_sign: `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 :no_entry_sign: dangerJS against e2e138ec5c8462d606d61473686de3f0dde5ddfd

pwa-studio-bot commented 6 months ago
Fails
:no_entry_sign: `node` failed.
:no_entry_sign: 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 :no_entry_sign: dangerJS against c3c3a64bceb59dd99109c6dd34b5eb4cede3b1e5

pwa-studio-bot commented 6 months ago
Fails
:no_entry_sign: `node` failed.
:no_entry_sign: 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:
    • CypressError: `cy.visit()` failed trying to load: https://pr-4237.pwa-venia.com/./venia-tops/venia-sweaters.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 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:
    • CypressError: `cy.visit()` failed trying to load: https://pr-4237.pwa-venia.com/./venia-tops/venia-sweaters.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 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 :no_entry_sign: dangerJS against c3c3a64bceb59dd99109c6dd34b5eb4cede3b1e5