TypeScript Cypress Promise await/async Demo 使用cypress-promise可以把cypress获取的Chainable转换成一个promise,然后可以使用async/await语法 npm install npm run test:open npm run test:run