Merge pull request #2971 from NativeScript/tsenov/uitests

Include test page for issue 2674
This commit is contained in:
SvetoslavTsenov
2016-10-26 22:39:19 +03:00
committed by GitHub
2 changed files with 6 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
<Page xmlns="http://schemas.nativescript.org/tns.xsd">
<StackLayout style="color: white">
<Image src="~/ui-tests-app/image-view/gravatar.png" stretch="aspectFill"/>
</StackLayout>
</Page>

View File

@@ -12,6 +12,7 @@ export function pageLoaded(args: EventData) {
let examples: Map<string, string> = new Map<string, string>();
examples.set("2911", "issues/issue-2911");
examples.set("2674", "issues/issue-2674");
let viewModel = new SubMianPageViewModel(wrapLayout, examples);
page.bindingContext = viewModel;