1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-09-16 10:31:39 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

feat: fix

This commit is contained in:
steven
2023-03-30 11:24:44 +08:00
parent 4acba40f6c
commit 12edc1df7a
3 changed files with 10 additions and 10 deletions

View File

@@ -34,15 +34,15 @@ describe('测试Native模块的方法', () => {
await element(by.text('OK')).tap();
});
it('reloadUpdate', async () => {
await element(by.id('reloadUpdate')).tap();
await element(by.id('submit')).tap();
await expect(element(by.text('刚刚更新失败了,版本被回滚.'))).toBeVisible();
await element(by.text('OK')).tap();
});
// it('reloadUpdate', async () => {
// await element(by.id('reloadUpdate')).tap();
// await element(by.id('submit')).tap();
// await expect(element(by.text('刚刚更新失败了,版本被回滚.'))).toBeVisible();
// await element(by.text('OK')).tap();
// });
it('setNeedUpdate', async () => {
await element(by.id('testcase')).longPress();
// await element(by.id('testcase')).longPress();
await element(by.id('setNeedUpdate')).tap();
await element(by.id('submit')).tap();
await expect(element(by.text('done'))).toBeVisible();