tab_mine.js
419 Bytes
const wd = require('wd');
const {describe} = require('../../libs/driver');
const {iOS_TAB_MINE} = require('../../scene-types/scene-types');
describe(iOS_TAB_MINE,'我的', async(driver) => {
let touchTab = await driver.waitForElementByAccessibilityId('ufoBannerBg',10000);
await touchTab.click();
touchTab = await driver.waitForElementByAccessibilityId('cpsBannerBg',5000);
await touchTab.click();
});