Skip to content

Instantly share code, notes, and snippets.

var assert = require('assert');
var userLoyality = require('../../pageobjects/user_loyality.page');
describe.only('test', function() {
it('should check simpleniche table', function() {
userLoyality.openTravel();
scrollToBox();
userLoyality.handleBoomtrainForm("as.as@as.as", true);
browser.debug();
assert(!userLoyality.boomtrainNewsletterCheckboxError.isVisible());
[HTTP] --> POST /wd/hub/session/b0b7b7f4-6220-488b-b781-3cb2dec28713/element {"using":"xpath","value":"//XCUIElementTypeTabBar/XCUIElementTypeButton[1]"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["xpath","//XCUIElementTypeTabBar/XCUIElementTypeButton[1]","b0b7b7f4-6220-488b-b781-3cb2dec28713"]
[debug] [XCUITest] Executing command 'findElement'
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, accessibility id
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/EBE51307-CFE4-44AE-A45B-152C6A78ED0B/element] with body: {"using":"xpath","value":"//XCUIElementTypeTabBar/XCUIElementTypeButton[1]"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"using":"xpath","value":"//XCUIElementTypeTabBar/XCUIElementTypeButton[1]","description":"unable to find an element"},"sessionId":"EBE51307-CFE4-44AE-A45B-152C6A78ED0B","status":7}
[HT
[HTTP] --> POST /wd/hub/session/590690a1-644a-47ec-8b5b-795c62ff654b/touch/perform {"actions":[{"action":"press","options":{"x":400,"y":200}},{"action":"wait","options":{"ms":350}},{"action":"moveTo","options":{"x":0,"y":-200}},{"action":"release","options":{}}]}
[debug] [MJSONWP] Calling AppiumDriver.performTouch() with args: [[{"action":"press","options":{"x":400,"y":200}},{"action":"wait","options":{"ms":350}},{"action":"moveTo","options":{"x":0,"y":-200}},{"action":"release","options":{}}],"590690a1-644a-47ec-8b5b-795c62ff654b"]
[debug] [XCUITest] Executing command 'performTouch'
[debug] [XCUITest] Received the following touch action: press-wait-moveTo-release
[debug] [JSONWP Proxy] Proxying [POST /wda/element/0/dragfromtoforduration] to [POST http://localhost:8100/session/6A616BDD-B053-4490-BDE8-77FD96C3BE67/wda/element/0/dragfromtoforduration] with body: {"fromX":400,"fromY":200,"toX":400,"toY":0,"duration":0.35}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{},"sessionId":"6A616BDD-B053