mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Merge pull request #2971 from NativeScript/tsenov/uitests
Include test page for issue 2674
This commit is contained in:
5
apps/app/ui-tests-app/issues/issue-2674.xml
Normal file
5
apps/app/ui-tests-app/issues/issue-2674.xml
Normal 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>
|
||||||
@@ -12,6 +12,7 @@ export function pageLoaded(args: EventData) {
|
|||||||
let examples: Map<string, string> = new Map<string, string>();
|
let examples: Map<string, string> = new Map<string, string>();
|
||||||
|
|
||||||
examples.set("2911", "issues/issue-2911");
|
examples.set("2911", "issues/issue-2911");
|
||||||
|
examples.set("2674", "issues/issue-2674");
|
||||||
|
|
||||||
let viewModel = new SubMianPageViewModel(wrapLayout, examples);
|
let viewModel = new SubMianPageViewModel(wrapLayout, examples);
|
||||||
page.bindingContext = viewModel;
|
page.bindingContext = viewModel;
|
||||||
|
|||||||
Reference in New Issue
Block a user