From 116c3a7a80d45fa240c6cc121eff8f43a8f28bea Mon Sep 17 00:00:00 2001 From: Manol Donev Date: Mon, 4 Mar 2019 11:35:07 +0200 Subject: [PATCH] [Do Not Merge] chore(e2e): skip specific test suites with known issues on android / ios (#6797) * Update README.md * comment flip * skip specific test suites with known issues * restore skipped ios tests * chore: update css for ios * chore: update android css * chore: tab-root tests remove suspend for android * chore: frame-root tested on api23, api27 and ios11 * chore: fix tslint * chore: frame-tab-root tests api27 * chore: lower font size --- .../.vscode/launch.json | 22 ++++ .../app/app.android.css | 17 +-- e2e/nested-frame-navigation/app/app.ios.css | 15 +++ .../app/frame-root/frame-multi-home-page.xml | 4 +- .../app/layout-root/layout-home-page.xml | 4 +- .../layout-home-secondary-page.xml | 4 +- .../player-item-detail-page.xml | 6 +- .../app/players/players-items-page.xml | 4 +- e2e/nested-frame-navigation/e2e/config.ts | 3 +- .../e2e/frame-root.e2e-spec.ts | 118 +++++++++--------- .../e2e/frame-tab-root.e2e-spec.ts | 71 +++++++---- .../e2e/layout-root.e2e-spec.ts | 9 ++ e2e/nested-frame-navigation/e2e/screen.ts | 17 ++- .../e2e/tab-root.e2e-spec.ts | 26 +++- 14 files changed, 204 insertions(+), 116 deletions(-) diff --git a/e2e/nested-frame-navigation/.vscode/launch.json b/e2e/nested-frame-navigation/.vscode/launch.json index a017624a8..bbd504901 100644 --- a/e2e/nested-frame-navigation/.vscode/launch.json +++ b/e2e/nested-frame-navigation/.vscode/launch.json @@ -4,6 +4,28 @@ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ + { + "type": "node", + "request": "launch", + "name": "debug tests", + "program": "${workspaceFolder}/node_modules/mocha/bin/_mocha", + "args": [ + "-u", + "tdd", + "--timeout", + "999999", + "--colors", + "${workspaceFolder}/e2e", + "--opts", + "../config/mocha.opts", + "-p", + "4723", + "-a", + "--grep", + "layout-root" + ], + "internalConsoleOptions": "openOnSessionStart" + }, { "type": "node", "request": "launch", diff --git a/e2e/nested-frame-navigation/app/app.android.css b/e2e/nested-frame-navigation/app/app.android.css index 2b5f529b5..68a02544a 100644 --- a/e2e/nested-frame-navigation/app/app.android.css +++ b/e2e/nested-frame-navigation/app/app.android.css @@ -1,25 +1,20 @@ Button { font-size: 8; - padding-left: 5; - padding-right: 5; - padding-top: 0; - padding-bottom: 0; - margin-top: 0; - margin-bottom: 0; - margin-right: 0; - height: 50px; + padding: 0; + margin: 0; + height: 30px; color: blue; } TextView { - font-size: 10; + font-size: 8; margin: 0; padding: 0; color: green; } Label { - font-size: 10; + font-size: 8; margin: 0; padding: 0; } @@ -30,6 +25,6 @@ GridLayout { } ActionBar { - height: 30; + height: 20; margin: 0; } \ No newline at end of file diff --git a/e2e/nested-frame-navigation/app/app.ios.css b/e2e/nested-frame-navigation/app/app.ios.css index 40458c5c6..9444b9452 100644 --- a/e2e/nested-frame-navigation/app/app.ios.css +++ b/e2e/nested-frame-navigation/app/app.ios.css @@ -1,7 +1,22 @@ Button{ color: blue; + font-size: 10; + height: 35px; + margin: 0; } TextView{ color: green; + font-size: 10; +} + +Label{ + margin: 0; + padding: 0; + font-size: 10; +} + +ActionBar { + margin: 0; + padding: 0; } \ No newline at end of file diff --git a/e2e/nested-frame-navigation/app/frame-root/frame-multi-home-page.xml b/e2e/nested-frame-navigation/app/frame-root/frame-multi-home-page.xml index c65c41a05..2c4011abc 100644 --- a/e2e/nested-frame-navigation/app/frame-root/frame-multi-home-page.xml +++ b/e2e/nested-frame-navigation/app/frame-root/frame-multi-home-page.xml @@ -1,8 +1,8 @@ - + - diff --git a/e2e/nested-frame-navigation/app/layout-root/layout-home-page.xml b/e2e/nested-frame-navigation/app/layout-root/layout-home-page.xml index bde06d5af..7962a84af 100644 --- a/e2e/nested-frame-navigation/app/layout-root/layout-home-page.xml +++ b/e2e/nested-frame-navigation/app/layout-root/layout-home-page.xml @@ -1,7 +1,7 @@ - -