반응형
Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 |
Tags
- http3
- devtools
- msw
- caching
- TLS
- svelte
- 선택자
- CSS
- Cypress
- vue3
- ts error
- typeScript
- vue
- SSR
- rendering
- web vital
- aws
- Testing
- vue-cli
- e2e
- https
- api test
- QUIC
- ViTE
- csr
- JavaScript
- 비동기
- custom command
- CloudFlare
- import.meta.env
Archives
- Today
- Total
목록Component (1)
Develop Note by J.S.
[Cypress] Api Test
Cypress에서 로그인 버튼 클릭 시 API 요청 및 응답에 대한 E2E Test 및 Component Test 예제를 작성하였습니다. 1. Cypress API TEST 종류 Cypress의 API TEST는 Spying과 Spying & Stubbing 및 Dynamic Stubbing 이 있습니다. // spying cy.intercept('/users/**') cy.intercept('GET', '/users*') cy.intercept({ method: 'GET', url: '/users*', hostname: 'localhost', }) // spying and response stubbing cy.intercept('POST', '/users*', { statusCode: 201, body..
FrontEnd/Cypress
2023. 7. 12. 16:13