Showing
2 changed files
with
9 additions
and
9 deletions
@@ -7,14 +7,14 @@ describe(IOS_PRODUCT_DETAIL_GROUP, '拼团商品详情页埋点测试(未登录) | @@ -7,14 +7,14 @@ describe(IOS_PRODUCT_DETAIL_GROUP, '拼团商品详情页埋点测试(未登录) | ||
7 | console.log("点击TAB 我的"); | 7 | console.log("点击TAB 我的"); |
8 | let tapView = await driver.waitForElementByXPath('//XCUIElementTypeApplication[@name="Yoho!Buy有货"]/XCUIElementTypeWindow[1]/XCUIElementTypeOther/XCUIElementTypeOther[1]/XCUIElementTypeOther[2]/XCUIElementTypeTabBar/XCUIElementTypeButton[5]', 10000); | 8 | let tapView = await driver.waitForElementByXPath('//XCUIElementTypeApplication[@name="Yoho!Buy有货"]/XCUIElementTypeWindow[1]/XCUIElementTypeOther/XCUIElementTypeOther[1]/XCUIElementTypeOther[2]/XCUIElementTypeTabBar/XCUIElementTypeButton[5]', 10000); |
9 | tapView.click(); | 9 | tapView.click(); |
10 | - await driver.sleep(ACTION_PAUSE_TIME); | ||
11 | - console.log("点击5折 拼团"); | ||
12 | - tapView = await driver.waitForElementByXPath('//XCUIElementTypeApplication[@name="Yoho!Buy有货"]/XCUIElementTypeWindow[1]/XCUIElementTypeOther/XCUIElementTypeOther[1]/XCUIElementTypeOther[2]/XCUIElementTypeOther/XCUIElementTypeOther/XCUIElementTypeOther/XCUIElementTypeOther/XCUIElementTypeOther/XCUIElementTypeOther/XCUIElementTypeCollectionView/XCUIElementTypeCell[16]', 3000); | ||
13 | - tapView.click(); | ||
14 | - await driver.sleep(ACTION_PAUSE_TIME); | ||
15 | - console.log("点击返回"); | ||
16 | - tapView = await driver.waitForElementByAccessibilityId('yh_base_vc_back_btn', FIND_VIEW_OVER_TIME); | ||
17 | - tapView.click(); | 10 | + // await driver.sleep(ACTION_PAUSE_TIME); |
11 | + // console.log("点击5折 拼团"); | ||
12 | + // tapView = await driver.waitForElementByXPath('//XCUIElementTypeApplication[@name="Yoho!Buy有货"]/XCUIElementTypeWindow[1]/XCUIElementTypeOther/XCUIElementTypeOther[1]/XCUIElementTypeOther[2]/XCUIElementTypeOther/XCUIElementTypeOther/XCUIElementTypeOther/XCUIElementTypeOther/XCUIElementTypeOther/XCUIElementTypeOther/XCUIElementTypeCollectionView/XCUIElementTypeCell[16]', 3000); | ||
13 | + // tapView.click(); | ||
14 | + // await driver.sleep(ACTION_PAUSE_TIME); | ||
15 | + // console.log("点击返回"); | ||
16 | + // tapView = await driver.waitForElementByAccessibilityId('yh_base_vc_back_btn', FIND_VIEW_OVER_TIME); | ||
17 | + // tapView.click(); | ||
18 | await driver.sleep(ACTION_PAUSE_TIME); | 18 | await driver.sleep(ACTION_PAUSE_TIME); |
19 | console.log("点击首页TAB"); | 19 | console.log("点击首页TAB"); |
20 | tapView = await driver.waitForElementByXPath('//XCUIElementTypeApplication[@name="Yoho!Buy有货"]/XCUIElementTypeWindow[1]/XCUIElementTypeOther/XCUIElementTypeOther[1]/XCUIElementTypeOther[2]/XCUIElementTypeTabBar/XCUIElementTypeButton[1]', 10000); | 20 | tapView = await driver.waitForElementByXPath('//XCUIElementTypeApplication[@name="Yoho!Buy有货"]/XCUIElementTypeWindow[1]/XCUIElementTypeOther/XCUIElementTypeOther[1]/XCUIElementTypeOther[2]/XCUIElementTypeTabBar/XCUIElementTypeButton[1]', 10000); |
-
Please register or login to post a comment