gray-kilobyte-89541
09/28/2022, 11:26 AMcy.then
callback. Also, you cannot create more tests when the tests are already running.cold-van-45410
09/28/2022, 12:30 PMmysterious-belgium-25713
09/28/2022, 12:37 PMmysterious-account-6075
09/28/2022, 2:03 PMcold-van-45410
09/28/2022, 2:11 PMfull-application-86498
09/28/2022, 2:24 PMdescribe('Loggin in ', () => {
it('login user', () => {
cy.visit ('/');
cy.wait(30000);
Cypress.Commands.add('typeLogin', (user) => {
// search element by attribute name and value
cy.get('[name="login_name"]').type(user.name);
cy.get('[name="login_password"]').type(user.password);
})
cy.typeLogin({ name: '2222', password: '3333' })
cy.get('[akid="FormLoginAD-login_save"]').click();
cy.wait(15000);
})
but browser (chrome) under cypress control gets 401 response like not authorized for some requests and 1 request doesn't get response at all. Of course if I'm doing the same without cypress all works as expected.full-application-86498
09/28/2022, 2:28 PMproud-breakfast-29892
09/28/2022, 2:30 PMproud-breakfast-29892
09/28/2022, 2:31 PMfull-application-86498
09/28/2022, 2:39 PMfull-application-86498
09/28/2022, 2:41 PMmelodic-egg-83620
09/28/2022, 2:45 PMpolite-salesclerk-28948
09/28/2022, 2:48 PMfull-application-86498
09/28/2022, 2:51 PMmelodic-egg-83620
09/28/2022, 2:52 PMbrief-agent-34897
09/28/2022, 2:56 PMcurl
of my app from CI (has the proxy) responds exactly as I'd expect it to, and the cypress test that just does cy.visit('') runs fine locally (no proxy). Unfortunately behind the corporate proxy (on CI) I just get this, and a 60 second timeout. Does anyone have any idea, any at all what I might be missing?brief-agent-34897
09/28/2022, 2:57 PMmysterious-belgium-25713
09/28/2022, 3:00 PMbrief-agent-34897
09/28/2022, 3:01 PMCypressError: Timed out after waiting `60000ms` for your remote page to load.
Your page did not fire its `load` event within `60000ms`.
You can try increasing the `pageLoadTimeout` value in `cypress.config.js` to wait longer.
Browsers will not fire the `load` event until all stylesheets and scripts are done downloading.
When this `load` event occurs, Cypress will continue running commands.
at timedOutWaitingForPageLoad (https://sandbox.myapp.com/__cypress/runner/cypress_runner.js:140945:74)
at <unknown> (https://sandbox.myapp.com/__cypress/runner/cypress_runner.js:141377:16)
at tryCatcher (https://sandbox.myapp.com/__cypress/runner/cypress_runner.js:11318:23)
at <unknown> (https://sandbox.myapp.com/__cypress/runner/cypress_runner.js:6440:41)
at tryCatcher (https://sandbox.myapp.com/__cypress/runner/cypress_runner.js:11318:23)
(there's a bit more stacktrace below this, starts in bluebird)mysterious-belgium-25713
09/28/2022, 3:01 PMbrief-agent-34897
09/28/2022, 3:03 PMbrief-agent-34897
09/28/2022, 3:07 PMCypress could not verify that this server is running:
> https://sandbox.myapp.com
We are verifying this server because it has been configured as your baseUrl.
Cypress automatically waits until your server is accessible before running tests.
brief-agent-34897
09/28/2022, 3:07 PMmysterious-belgium-25713
09/28/2022, 3:37 PMbrief-agent-34897
09/28/2022, 3:38 PMbrief-agent-34897
09/28/2022, 3:38 PMcurl
works finefull-application-86498
09/28/2022, 3:40 PMwitty-air-21210
09/28/2022, 3:41 PMgray-kilobyte-89541
09/28/2022, 4:32 PMgray-kilobyte-89541
09/28/2022, 4:32 PM