@winning-test/component 0.0.98 → 0.0.100
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 +1 -1
- package/rpes5.6/page/Page.js +1 -1
package/package.json
CHANGED
package/rpes5.6/page/Page.js
CHANGED
|
@@ -159,7 +159,7 @@ class Page extends require("@winning-test/autotest-webui").Page {
|
|
|
159
159
|
*/
|
|
160
160
|
async loading() {
|
|
161
161
|
try {
|
|
162
|
-
const xpath = "//*[@class
|
|
162
|
+
const xpath = "//*[contains(@class, 'loading-mask') and (not (ancestor-or-self::*[contains(@style,'display: none')]))]";
|
|
163
163
|
if (await this.browser.isDisplayed(xpath, 500)) {
|
|
164
164
|
await this.browser.waitUntilElementBeNotVisible(xpath);
|
|
165
165
|
}
|