@winning-test/component 0.0.106 → 0.0.107
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -243,13 +243,13 @@ class Page extends require("@winning-test/autotest-webui").Page {
|
|
|
243
243
|
await that.blockComponent(xpath).click();
|
|
244
244
|
await that.loading();
|
|
245
245
|
if (thirdItem) {
|
|
246
|
-
xpath = `//*[@class='
|
|
246
|
+
xpath = `//*[@class='menu-third-list-container']//span[contains(text(),'${thirdItem}')]`;
|
|
247
247
|
await this.browser.waitUntilElementBeVisible(xpath);
|
|
248
248
|
await that.blockComponent(xpath).click();
|
|
249
249
|
await that.loading();
|
|
250
250
|
}
|
|
251
251
|
if (!thirdItem) {
|
|
252
|
-
xpath = `//*[@class='
|
|
252
|
+
xpath = `//*[@class='menu-detail-list']//span[contains(text(),'${secondItem}')]`;
|
|
253
253
|
await this.browser.waitUntilElementBeVisible(xpath);
|
|
254
254
|
await that.blockComponent(xpath).click();
|
|
255
255
|
await that.loading();
|