early-rose-80739
03/21/2023, 1:50 PM${baseUrl}/products/);
It seems often occurred from cy.url() or cy.visit().
I guess and survey to the reasons:
1. react 18 useffect render twice, or next.js link
2. our test environment api response time is too unstable
3. GitHub ubuntu test environment
I tried some workarounds:
1. use then chain -> failed
2. cy.wait(3000) -> success, but is not a good method
3. use intercept -> failed
I found one solution is using node 18 and 127.0.0.1, but it will affect too much so I didnt do yet.
could someone give me any advice?worried-addition-53678
03/21/2023, 8:50 PMearly-rose-80739
03/21/2023, 11:54 PMwonderful-match-15836
03/22/2023, 12:53 AMwonderful-match-15836
03/22/2023, 12:54 AMearly-rose-80739
03/22/2023, 1:07 AM