摘要:
So each phone's width is 750rpx. And according to the device ratio (width:height), we can calucalate the height in rpx. For example iPhone 5: 320px x 阅读全文
posted @ 2018-07-04 18:33
Zhentiw
阅读(351)
评论(0)
推荐(0)
摘要:
Many applications have features that can be used with slight variations. Instead of maintaining multiple tests with nearly identical code, we can take 阅读全文
posted @ 2018-07-04 18:19
Zhentiw
阅读(430)
评论(0)
推荐(0)
摘要:
We’ll often need to access the same DOM elements multiple times in one test. Your first instinct might be to use cy.getand assign the result to a vari 阅读全文
posted @ 2018-07-04 18:15
Zhentiw
阅读(334)
评论(0)
推荐(0)
摘要:
We often only show UI elements as a result of some user interaction. Cypress detects visibility and by default won’t allow your test to interact with 阅读全文
posted @ 2018-07-04 18:12
Zhentiw
阅读(995)
评论(0)
推荐(0)