Skip to content

Commit

Permalink
fix Cypress get modal name
Browse files Browse the repository at this point in the history
  • Loading branch information
Enya committed Aug 22, 2023
1 parent 8bd2e43 commit 520f38f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/frontend/cypress/e2e/RoomTest.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe('Modal E2E Test', () => {
cy.get('.navbar__btn').click()

// 顯示modal
cy.get('.custom-modal').should('be.visible')
cy.get('.modal-content').should('be.visible')

// 輸入欄位輸入'一起玩富饒之城'
cy.get('#roomName').type('一起玩富饒之城')
Expand All @@ -33,7 +33,7 @@ describe('Modal E2E Test', () => {

cy.get('.navbar__btn').click()

cy.get('.custom-modal').should('be.visible')
cy.get('.modal-content').should('be.visible')

cy.get('#roomName').type('一起玩富饒之城')

Expand Down

0 comments on commit 520f38f

Please sign in to comment.