dry-table-21937
08/08/2022, 3:22 PMadamant-journalist-98268
08/08/2022, 3:41 PMThe run started, but never completed. This can happen when the run is canceled from CI or when Cypress crashes during running tests.
Check your Bitbucket #1414 logs for more information. Archive this run to remove it from the runs list and analytics.
gentle-dress-1046
08/08/2022, 4:02 PMhelpful-truck-53930
08/08/2022, 5:44 PMfast-balloon-48393
08/08/2022, 6:02 PMfast-ocean-24805
08/08/2022, 6:40 PMlemon-oyster-64925
08/08/2022, 7:02 PMfast-ocean-24805
08/08/2022, 8:05 PMalert-machine-64990
08/08/2022, 8:36 PMalert-machine-64990
08/08/2022, 8:45 PMflaky-airplane-33826
08/09/2022, 6:12 AMhappy-dinner-13480
08/09/2022, 8:13 AMfierce-lion-2381
08/09/2022, 8:25 AMhappy-dinner-13480
08/09/2022, 8:44 AMbaseUrl
points to localhost:4200
, the URL of the client 🙂 so I need another variable to point to the back-endfierce-lion-2381
08/09/2022, 8:48 AMhappy-dinner-13480
08/09/2022, 8:49 AMcypress.env.json
file:
{
"API_URL": "https://api-test.***.com"
}
but I would rather have it somewhere else, since it's not a secret. I use it like so:
cy.intercept({ method: 'POST', url: `${Cypress.env('API_URL')}/api/v1/user/login` }).as('login');
fresh-doctor-14925
08/09/2022, 8:53 AMCypress.env
https://discord.com/channels/755913899261296641/763105090679865354/986198337873129493happy-dinner-13480
08/09/2022, 8:53 AMe2e: {
env: {
API_URL: 'https://api-test.***.com',
},
}
happy-dinner-13480
08/09/2022, 8:53 AMfierce-lion-2381
08/09/2022, 8:57 AMfierce-lion-2381
08/09/2022, 8:57 AMloud-city-40050
08/09/2022, 8:57 AMhappy-dinner-13480
08/09/2022, 8:57 AMcypress.env.json
file to hold secrets like usernames and passwords, which this value isnt 🙂happy-dinner-13480
08/09/2022, 9:43 AMclearLocalStorage
command to not remove anything from localstorage?boundless-wall-32593
08/09/2022, 11:48 AMpolite-alarm-78904
08/09/2022, 1:24 PMstale-optician-85950
08/09/2022, 1:44 PMsquare-pager-46841
08/09/2022, 6:35 PMsquare-pager-46841
08/09/2022, 6:35 PMsquare-pager-46841
08/09/2022, 6:36 PM