...
|
...
|
@@ -33,17 +33,17 @@ describe(iOS_TAB_MINE,'我的', async(driver) => { |
|
|
|
|
|
await driver.sleep(ACTION_PAUSE_TIME);
|
|
|
|
|
|
// touchTab = await driver.waitForElementByAccessibilityId('商家入驻', FIND_VIEW_OVER_TIME);
|
|
|
// await touchTab.click();
|
|
|
|
|
|
// await driver.sleep(ACTION_PAUSE_TIME);
|
|
|
|
|
|
// let element = await driver.elementsByAccessibilityId("完善信息");
|
|
|
// // let isDisplayed = await element.isDisplayed();
|
|
|
// // if (isDisplayed){
|
|
|
// touchTab = await driver.waitForElementByAccessibilityId('完善信息');
|
|
|
// await touchTab.click();
|
|
|
// // }
|
|
|
// touchTab = await driver.waitForElementByAccessibilityId('商家入驻', FIND_VIEW_OVER_TIME);
|
|
|
// await touchTab.click();
|
|
|
|
|
|
// await driver.sleep(ACTION_PAUSE_TIME);
|
|
|
// s
|
|
|
// let element = await driver.elementsByAccessibilityId("完善信息");
|
|
|
// let isDisplayed = await element.isDisplayed();
|
|
|
// if (isDisplayed){
|
|
|
// touchTab = await driver.waitForElementByAccessibilityId('完善信息');
|
|
|
// await touchTab.click();
|
|
|
// }
|
|
|
|
|
|
// await driver.sleep(ACTION_PAUSE_TIME);
|
|
|
|
...
|
...
|
@@ -52,13 +52,16 @@ describe(iOS_TAB_MINE,'我的', async(driver) => { |
|
|
|
|
|
// await driver.sleep(ACTION_PAUSE_TIME);
|
|
|
|
|
|
// touchTab = await driver.waitForElementByAccessibilityId('新的好物 没有你的好物?申请上架', FIND_VIEW_OVER_TIME);
|
|
|
// await touchTab.click();
|
|
|
touchTab = await driver.waitForElementByAccessibilityId('新的好物 没有你的好物?申请上架', FIND_VIEW_OVER_TIME);
|
|
|
await touchTab.click();
|
|
|
|
|
|
// await driver.sleep(ACTION_PAUSE_TIME);
|
|
|
await driver.sleep(ACTION_PAUSE_TIME);
|
|
|
|
|
|
// touchTab = await driver.waitForElementByAccessibilityId('yh_base_vc_back_btn', FIND_VIEW_OVER_TIME);
|
|
|
// await touchTab.click();
|
|
|
let action = new wd.TouchAction(driver);
|
|
|
action.press({x: 10, y: 10})
|
|
|
.moveTo({x: 50, y: 50})
|
|
|
.release();
|
|
|
await action.perform();
|
|
|
|
|
|
await driver.sleep(ACTION_PAUSE_TIME);
|
|
|
|
...
|
...
|
|