You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cypress scripts are working fine on local , but when integrated with AWS code pipeline, getting command timeout error.
I increased command timeout to 60000ms in cypress.json. It is observed that in pipeline cy.visit() takes long time and fails even though we see page loaded in cypress runner. Please note that all the URLs that are called internally are whitelisted. Due to security purpose cannot disclose the app URL.
One more issue we observed is- With Cypress 8.7.0 , we are getting error as below which was not there for cypress 8.3.0
Failed to connect to the bus: Failed to connect to socket //system_bus_socket: No such file or directory
Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
Passthrough is not supported, GL is swiftshader tput: No value for $TERM and no -T specified
We have tried below options for issues mentioned in point 1:
Tried cy.intercept , cy.request for URLs getting called internally by app URL.
Debugger on cy.visit - Debug logs generated locally , but in AWS code pipeline no debug logs displayed.
Increasing page load timeout and command timeout in cypress.json.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Cypress scripts are working fine on local , but when integrated with AWS code pipeline, getting command timeout error.
I increased command timeout to 60000ms in cypress.json. It is observed that in pipeline cy.visit() takes long time and fails even though we see page loaded in cypress runner. Please note that all the URLs that are called internally are whitelisted. Due to security purpose cannot disclose the app URL.
One more issue we observed is- With Cypress 8.7.0 , we are getting error as below which was not there for cypress 8.3.0
Failed to connect to the bus: Failed to connect to socket //system_bus_socket: No such file or directory
Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
Passthrough is not supported, GL is swiftshader tput: No value for $TERM and no -T specified
We have tried below options for issues mentioned in point 1:
Beta Was this translation helpful? Give feedback.
All reactions