best-window-49967
03/22/2023, 10:40 AMbest-window-49967
03/22/2023, 5:36 PMelegant-wall-98634
03/22/2023, 6:38 PMbest-window-49967
03/23/2023, 10:04 AMbest-window-49967
03/23/2023, 2:21 PMbest-window-49967
03/23/2023, 2:22 PMbest-window-49967
03/23/2023, 3:36 PMgray-kilobyte-89541
03/23/2023, 4:59 PMenough-truck-68085
03/23/2023, 5:28 PMcy.wait? Is that an explicit wait or have you tried intercepting and waiting on the actual payment API call? If you've tried that what error are you getting? You can increase the timeout waiting for a response if it's a particularly lengthy API call.best-window-49967
03/24/2023, 8:33 AMbest-window-49967
03/24/2023, 8:35 AMgray-kilobyte-89541
03/24/2023, 10:44 AMcy.intercept and network testing is easy. Take my paid course https://cypress.tips/courses/network-testing and you will know it 100%best-window-49967
04/11/2023, 9:14 AMechoing-tent-95037
04/11/2023, 3:14 PMcy.intercept with an alias for the 200 response when that goes through, and then after you get to this point cy.wait(aliasName),its('response.statusCode').should('eq', 200). This way cypress will wait for that request to come through before continuing with the test.echoing-tent-95037
04/11/2023, 3:15 PM