반응형
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
- csr
- vue
- e2e
- 비동기
- rendering
- msw
- api test
- SSR
- import.meta.env
- custom command
- 선택자
- vue3
- CloudFlare
- vue-cli
- devtools
- ts error
- https
- ViTE
- typeScript
- aws
- QUIC
- caching
- TLS
- svelte
- Cypress
- Testing
- CSS
- JavaScript
- http3
- web vital
Archives
- Today
- Total
목록2023/07/18 (1)
Develop Note by J.S.

Cypress의 Custom Commend를 활용한 Login, Logout Test 입니다. 1. Commend 등록 cypress/support/commonds.ts 파일과 cypress/support/index.d.ts 에 사용할 Custom Command를 정의합니다. // cypress/support/commands.ts file // 요소 가져오기 Cypress.Commands.add('dataCy', (selector) => { return cy.get(`[data-cy=${selector}]`); }); // 요소 접근 후 클릭 Cypress.Commands.add('actionClick', (selector) => { return cy.get(`[data-cy=${selector}]`)...
FrontEnd/Cypress
2023. 7. 18. 10:31