Last active
October 19, 2022 15:27
-
-
Save syossan27/e3584197ca5ac624b21f0f84e0fa33d0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cy.intercept({ | |
url: '/g/collect*', | |
method: 'POST', | |
hostname: "analytics.google.com" | |
}).as('ga_req'); | |
cy.visit([テストしたいページのURL]); | |
cy.wait('@ga_req', {timeout: 30000}).its('response.statusCode').should('equal', 204); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment