codeceptjs / codeceptjs/CodeceptJS

Performing swipe action on iOS selector gives error

オープン
#1,715 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
4.2k
フォーク
757
平均マージ
2日 9時間
マージ済み PR(30日)
16

説明

#### 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,
},
};

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。