codeceptjs / codeceptjs/CodeceptJS

Performing swipe action on iOS selector gives error

Offen
#1,715 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
4.2k
Forks
757
Ø Merge
2 T. 9 Std.
Gemergte PRs (30 T.)
16

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.