From 057c7f6ddbafec1880251a2571339a5c626fab77 Mon Sep 17 00:00:00 2001 From: hozzijeong Date: Fri, 13 Oct 2023 11:42:01 +0900 Subject: [PATCH] =?UTF-8?q?test:=20main=EC=97=90=20=ED=85=8C=EC=8A=A4?= =?UTF-8?q?=ED=8A=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/cypress/e2e/main.cy.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/frontend/cypress/e2e/main.cy.ts b/frontend/cypress/e2e/main.cy.ts index 2888f68ed..68f1eee47 100644 --- a/frontend/cypress/e2e/main.cy.ts +++ b/frontend/cypress/e2e/main.cy.ts @@ -96,6 +96,10 @@ describe('검색창', () => { .type('아카시') .wait(500) + .get('ul > li') + .contains('아카시') + .should('be.visible') + .get('button[aria-label="이동하기"]') .click() @@ -110,6 +114,13 @@ describe('검색창', () => { cy.get('input') .type('참') .wait(500) + + .get('ul > li') + .should('be.visible') + + .get('input') + .focus() + .type('{enter}') .location('pathname')