AndroidPay modern api was used. Initialization flow breaking changes. Issue fixes. Some fancy make up was performed.
before 5.0.0:
/*--- LONG POLL --*/ | |
/** | |
* Adapted from http://blog.gospodarets.com/fetch_in_action/ | |
* many thanks! | |
*/ | |
var MAX_WAITING_TIME = 5000;// in ms | |
var getJSON = function (params) { | |
var wrappedPromise = {}; |
/* eslint-disable */ | |
import range from 'lodash/range' | |
// const r = range(1, 101) | |
const r = range(1, 10001) | |
const fromTo = to => range(2, to) | |
const simpleNumbers = r.reduce((memo, number) => { |
[Appium] Welcome to Appium v1.8.0 (REV 9e74d8dd77b0f962ecabe0665db4255fe67a5810) | |
[Appium] Non-default server args: | |
[Appium] port: 30002 | |
[Appium] Appium REST http interface listener started on 0.0.0.0:30002 | |
[HTTP] --> GET /wd/hub/status | |
[HTTP] {} | |
[debug] [MJSONWP] Calling AppiumDriver.getStatus() with args: [] | |
[debug] [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.8.0","revision":"9e74d8dd77b0f962ecabe0665db4255fe67a5810"}} | |
[HTTP] <-- GET /wd/hub/status 200 25 ms - 121 | |
[HTTP] |
<?xml version="1.0" encoding="UTF-8"?><AppiumAUT><XCUIElementTypeApplication type="XCUIElementTypeApplication" name="Bottles Fine Wine" label="Bottles Fine Wine" enabled="true" visible="true" x="0" y="0" width="375" height="667"> | |
<XCUIElementTypeWindow type="XCUIElementTypeWindow" enabled="true" visible="true" x="0" y="0" width="375" height="667"> | |
<XCUIElementTypeOther type="XCUIElementTypeOther" enabled="true" visible="true" x="0" y="0" width="375" height="667"> | |
<XCUIElementTypeOther type="XCUIElementTypeOther" name="Search Products 141 Pitman Street | |
Providence, RI, 02906 Delivery Zones bottlesfinewine.com (401) - 372 - 2030 Open Today 9:00AM – 10:00PM WINES BEERS SPIRITS BAR EXTRAS WELCOME HOME STORE PROFILE ABOUT" label="Search Products 141 Pitman Street | |
Providence, RI, 02906 Delivery Zones bottlesfinewine.com (401) - 372 - 2030 Open Today 9:00AM – 10:00PM WINES BEERS SPIRITS BAR EXTRAS WELCOME HOME STORE PROFILE ABOUT" enabled="true" visible="true" x="0" y="0" width="375" height="667"> | |
[Appium] Welcome to Appium v1.8.0 (REV 8f09f94999b5f574fa02f57706e232e457877982) | |
[Appium] Non-default server args: | |
[Appium] port: 30002 | |
[Appium] Appium REST http interface listener started on 0.0.0.0:30002 | |
[HTTP] --> GET /wd/hub/status | |
[HTTP] {} | |
[debug] [MJSONWP] Calling AppiumDriver.getStatus() with args: [] | |
[debug] [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.8.0","revision":"8f09f94999b5f574fa02f57706e232e457877982"}} | |
[HTTP] <-- GET /wd/hub/status 200 23 ms - 121 | |
[HTTP] |
/* eslint-disable no-console */ | |
export default function requestsLogger(params) { | |
const { | |
fullUrl, | |
method, | |
headers, | |
json, | |
response: { status, statusText }, | |
requestType, | |
} = params |
import { filter, union, keys } from 'lodash' | |
function changedKeys(o1, o2) { | |
return filter(union(keys(o1), keys(o2)), key => o1[key] !== o2[key]).map(key => ({ | |
[key]: { | |
prev: o1[key], | |
next: o2[key], | |
}, | |
})) | |
} |
import helper from 'tipsi-appium-helper' | |
import twoFieldsScenario from './twoFieldsScenario' | |
import oneByOneFieldScenario from './oneByOneFieldScenario' | |
import hideKeyboard from '../hideKeyboard' | |
export default async function loginViaFacebook(username, password, t) { | |
const { driver, idFromXPath, select, platform } = helper | |
const usernameId = select({ | |
ios: idFromXPath('//XCUIElementTypeTextField[1]'), |
Инсталлятор автоматом подхватывает дефолтный язык ОС. Если нужен иной язык интерфейса перед установкой необходимо сменить язык ОС и регион на соответсвующий. После установки можно поменять обратно.
Если при запуске инсталлятора в OS X 10.12+ получаем «The installation cannot continue as the installer file may be damaged. Download the installer file again». То вводим в терминале следующую команду: Код:
sudo spctl --master-disable