diff --git a/e2e/config/appium.capabilities.json b/e2e/config/appium.capabilities.json index c13c15e75..f7112699b 100644 --- a/e2e/config/appium.capabilities.json +++ b/e2e/config/appium.capabilities.json @@ -83,6 +83,18 @@ "fullReset": false, "app": "" }, + "android28": { + "platformName": "Android", + "platformVersion": "28", + "deviceName": "Emulator-Api28-Google", + "avd": "Emulator-Api28-Google", + "lt": 60000, + "appActivity": "com.tns.NativeScriptActivity", + "newCommandTimeout": 720, + "noReset": true, + "fullReset": false, + "app": "" + }, "sim.iPhone7.iOS110": { "platformName": "iOS", "platformVersion": "11.2", diff --git a/e2e/modal-navigation/app/app.android.css b/e2e/modal-navigation/app/app.android.css new file mode 100644 index 000000000..5151a975a --- /dev/null +++ b/e2e/modal-navigation/app/app.android.css @@ -0,0 +1,19 @@ +#home-page { + font-size: 8; + margin: 0px; + padding: 0px; +} + +#action-bar-home-page{ + font-size: 10; + margin: 0px; + padding: 0px; +} + +#home-page Button { + margin-bottom: 5px; + border-color: gray; + border-width: 2px; + border-radius: 8px; + padding: 0px; +} \ No newline at end of file diff --git a/e2e/modal-navigation/app/app.css b/e2e/modal-navigation/app/app.css index ff57461c5..e69de29bb 100644 --- a/e2e/modal-navigation/app/app.css +++ b/e2e/modal-navigation/app/app.css @@ -1,13 +0,0 @@ -/* -In NativeScript, the app.css file is where you place CSS rules that -you would like to apply to your entire application. Check out -http://docs.nativescript.org/ui/styling for a full list of the CSS -selectors and properties you can use to style UI components. - -/* -For example, the following CSS rule changes the font size of all UI -components that have the btn class name. -*/ -.btn { - font-size: 18; -} diff --git a/e2e/modal-navigation/app/app.ios.css b/e2e/modal-navigation/app/app.ios.css new file mode 100644 index 000000000..d123538c3 --- /dev/null +++ b/e2e/modal-navigation/app/app.ios.css @@ -0,0 +1,14 @@ + +#home-page { + font-size: 13; + margin: 0px; + padding: 0px; +} + +#home-page Button { + margin-bottom: 20px; + padding: 20px; + border-color: gray; + border-width: 2px; + border-radius: 8px; +} \ No newline at end of file diff --git a/e2e/modal-navigation/app/home/home-page.xml b/e2e/modal-navigation/app/home/home-page.xml index 9a85f1f33..67a6197eb 100644 --- a/e2e/modal-navigation/app/home/home-page.xml +++ b/e2e/modal-navigation/app/home/home-page.xml @@ -1,24 +1,28 @@ - - - + navigatingFrom="onNavigatingFrom" + navigatedTo="onNavigatedTo" + navigatedFrom="onNavigatedFrom"> + + - -