@winning-test/component 0.0.10 → 0.0.12
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/rhm5.6/page/Page.js +1 -0
package/package.json
CHANGED
package/rhm5.6/page/Page.js
CHANGED
|
@@ -166,6 +166,7 @@ class Page extends require("@winning-test/autotest-webui").Page {
|
|
|
166
166
|
* @param {String} secondItem 二级菜单项
|
|
167
167
|
*/
|
|
168
168
|
async select(firstItem, secondItem) {
|
|
169
|
+
await that.switchToDefultFrame();
|
|
169
170
|
let xpath = "//*[@id='menuconfig']"
|
|
170
171
|
if (!(await this.browser.isDisplayed(xpath, MenuComponent.delayTime))) {
|
|
171
172
|
xpath = "//*[@id='menuconfig123']";
|