mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Merge pull request #2492 from NativeScript/fix-ui-tests-app
Fix two ui tests
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<Page cssFile="~/gallery-app/app.css">
|
||||
<Page cssFile="~/ui-tests-app/css/test.css">
|
||||
<TabView>
|
||||
<TabView.items>
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user