Стажер на IOS Simulator -.mobileconfig 'не существует.Возвращение пустого списка - PullRequest
0 голосов
/ 16 апреля 2019

Я пытаюсь выполнить Intern Scripts на iOS Simulator и для которого мне нужно установить сертификат на симуляторе IOS, Согласно предложению я обновил драйвер XCUITest от Appium до 2.87.0 Но теперь это дает другую проблему.

[debug] [XCUITest] Executing command 'execute'
[debug] [Support] Plist file '/Users/admin/node_modules/appium/node_modules/appium-base-driver/static/1mdnbdr.6q2jg.mobileconfig' does not exist. Returning an empty plist.
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/816A6AC8-7B69-42B8-A6E8-888980AD554C/element] with body: {"using":"accessibility id","value":"Allow"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"using":"accessibility id","value":"Allow","description":"unable to find an element"},"sessionId":"816A6AC8-7B69-42B8-A6E8-888980AD554C","status":7}
(node:71381) UnhandledPromiseRejectionWarning: NoSuchElementError: An element could not be located on the page using the given search parameters.
    at XCUITestDriver.callee$0$0$ (/Users/admin/node_modules/appium/node_modules/appium-xcuitest-driver/lib/commands/find.js:130:13)
    at tryCatch (/Users/admin/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
    at GeneratorFunctionPrototype.invoke [as _invoke] (/Users/admin/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
    at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/Users/admin/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
    at GeneratorFunctionPrototype.invoke (/Users/admin/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
(node:71381) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 9)

Я застрял и не знаю, как поступить. любая помощь приветствуется .. Заранее спасибо ..

...