Merge pull request #2492 from NativeScript/fix-ui-tests-app

Fix two ui tests
This commit is contained in:
Rossen Hristov
2016-07-22 12:00:37 +03:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
<Page cssFile="~/gallery-app/app.css">
<Page cssFile="~/ui-tests-app/css/test.css">
<TabView>
<TabView.items>

View File

@@ -12,7 +12,7 @@ export function pageLoaded(args: observable.EventData) {
export function onTap(args: observable.EventData) {
var fullscreen = (<any>args.object).text.indexOf("(full-screen)") !== -1;
page.showModal("modal-view/login-page", "context", function (username: string, password: string) {
page.showModal("ui-tests-app/modal-view/login-page", "context", function (username: string, password: string) {
console.log(username + "/" + password);
label.text = username + "/" + password;
}, fullscreen);