codeceptjs / codeceptjs/CodeceptJS

Performing swipe action on iOS selector gives error

Đang mở
#1,715 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
4.2k
Fork
757
Merge trung bình
2 ngày 9 giờ
Pull request đã merge (30 ngày)
16

Mô tả

#### What are you trying to achieve?
I am trying to perform swipe action on iOS Locator

#### What do you get instead?
When I try to perform swipe it gives an error

> Provide console output if related. Use `--verbose` mode for more details.

```bash
# p2019-06-12T15:49:20.895Z DEBUG webdriverio: command getLocation was called on an element ("~aeMenu") that wasn't found, waiting for it...
```

> Provide test source code if related

```js
sidemenu='~aemenu';
I.swipeLeft(sidemenu);
```

### Details

* CodeceptJS version: 2.1.4
* Operating System: iOS
* WebDriverIO: 5.10
* Configuration file:
const desiredCapabilities = {
platformName: 'iOS',
deviceName: 'iPad Air',
platformVersion: '12.1',
app: '',
automationName: 'XCUITest',
sendKeyStrategy: 'grouped',
waitForAppScript: 'true;',
appName: '',
locationServicesAuthorized: true,
fullReset: false,
noReset: false,
newCommandTimeout: 3600,
isHeadless: false,
};

const helper = {
platform: 'iOS',
waitForTimeout: 15000,
desiredCapabilities: {
...desiredCapabilities,
},
};

const airHelper = {
...helper,
desiredCapabilities: {
...desiredCapabilities,
platformVersion: '12.1',
deviceName: 'iPad Air',
wdaLocalPort: 8100,
},
};

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.