@winning-test/component 0.0.42 → 0.0.43

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.
@@ -157,11 +157,11 @@ class Page extends require("@winning-test/autotest-webui").Page {
157
157
  async loading() {
158
158
  try {
159
159
  let xpath = "//*[contains(@class,'el-loading-mask') and (not (ancestor-or-self::*[contains(@style,'display: none')]))]";
160
- if (await this.browser.isDisplayed(xpath, 200)) {
160
+ if (await this.browser.isDisplayed(xpath, 500)) {
161
161
  await this.browser.waitUntilElementBeNotVisible(xpath);
162
162
  }
163
163
  xpath = "//*[contains(text(),'加载中') and (not (ancestor-or-self::*[contains(@style,'display: none')]))]";
164
- if (await this.browser.isDisplayed(xpath, 200)) {
164
+ if (await this.browser.isDisplayed(xpath, 500)) {
165
165
  await this.browser.waitUntilElementBeNotVisible(xpath);
166
166
  }
167
167
  } catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@winning-test/component",
3
- "version": "0.0.42",
3
+ "version": "0.0.43",
4
4
  "description": "",
5
5
  "main": "",
6
6
  "scripts": {