文件位於此處選擇範(fàn)例,
顯示的方法有多種,例如使用 .invoke('val') 來提取 的值。
.invoke('val')
cy.get('select') .invoke('val') .should('eq', 'In Process') cy.get('select') .should('have.value', 'In Process')