【发布时间】:2021-01-26 05:04:36
【问题描述】:
cy.clock()
cy.visit('http://localhost:3333')
cy.get('#search').type('Acme Company')
cy.tick(1000)
// more test code here
// restore the clock
cy.clock().then((clock) => {
clock.restore()
})
运行测试时如何在赛普拉斯设置时区? 我在越南,我的时区是 GMT+7 当我运行测试时,我希望我的测试在时区 GMT+8 中运行。
【问题讨论】: