Skip to content

Commit

Permalink
test: main에 테스트 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hozzijeong committed Oct 13, 2023
1 parent f9f0f8a commit 057c7f6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions frontend/cypress/e2e/main.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ describe('검색창', () => {
.type('아카시')
.wait(500)

.get('ul > li')
.contains('아카시')
.should('be.visible')

.get('button[aria-label="이동하기"]')
.click()

Expand All @@ -110,6 +114,13 @@ describe('검색창', () => {
cy.get('input')
.type('참')
.wait(500)

.get('ul > li')
.should('be.visible')

.get('input')
.focus()

.type('{enter}')

.location('pathname')
Expand Down

0 comments on commit 057c7f6

Please sign in to comment.