@winning-test/component 0.0.111 → 0.0.112

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@winning-test/component",
3
- "version": "0.0.111",
3
+ "version": "0.0.112",
4
4
  "description": "",
5
5
  "main": "",
6
6
  "scripts": {
@@ -186,7 +186,7 @@ class Page extends require("@winning-test/autotest-webui").Page {
186
186
  * @param {String} menuItem 菜单项
187
187
  */
188
188
  async select(menuItem) {
189
- if(system_type == '单独系统') {
189
+ if(['单独系统', 'WXP单独系统'].includes(system_type)) {
190
190
  super.select(menuItem);
191
191
  await that.blockComponent(`//div[@role="tab"][text()='${menuItem}']`).waitUntilBeVisible();
192
192
  // 页面加载