diff --git a/apps/app/ui-tests-app/action-bar/icons.xml b/apps/app/ui-tests-app/action-bar/icons.xml index 7862fe83b..cde351035 100644 --- a/apps/app/ui-tests-app/action-bar/icons.xml +++ b/apps/app/ui-tests-app/action-bar/icons.xml @@ -8,7 +8,7 @@ - - - \ No newline at end of file diff --git a/apps/app/ui-tests-app/issues/main-page.ts b/apps/app/ui-tests-app/issues/main-page.ts index 349b9634c..7afaa8783 100644 --- a/apps/app/ui-tests-app/issues/main-page.ts +++ b/apps/app/ui-tests-app/issues/main-page.ts @@ -30,6 +30,7 @@ export function loadExamples() { examples.set("ng-repo-1599", "issues/issue-ng-repo-1599"); examples.set("ng-repo-1626", "issues/issue-ng-repo-1626"); examples.set("6439", "issues/issue-6439"); + examples.set("open-file-6895", "issues/open-file-6895") return examples; } \ No newline at end of file diff --git a/apps/app/ui-tests-app/intent/open-file.ts b/apps/app/ui-tests-app/issues/open-file-6895.ts similarity index 100% rename from apps/app/ui-tests-app/intent/open-file.ts rename to apps/app/ui-tests-app/issues/open-file-6895.ts diff --git a/apps/app/ui-tests-app/issues/open-file-6895.xml b/apps/app/ui-tests-app/issues/open-file-6895.xml new file mode 100644 index 000000000..fc938d3ff --- /dev/null +++ b/apps/app/ui-tests-app/issues/open-file-6895.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/apps/app/ui-tests-app/layouts/passThroughParent.ts b/apps/app/ui-tests-app/layouts/passThroughParent.ts index 1080e0b3c..2406d170c 100644 --- a/apps/app/ui-tests-app/layouts/passThroughParent.ts +++ b/apps/app/ui-tests-app/layouts/passThroughParent.ts @@ -1,19 +1,36 @@ -export function onOuterWrapLayoutTap() { - console.log("on outer wrap layout tap"); -} +import { EventData, Page } from "tns-core-modules/ui/page/page"; +import { Label } from "tns-core-modules/ui/label/label"; -export function onStackLayoutThrowTap() { - throw new Error("Should not tap layout with IsPassThroughParentEnabled=true"); -} - -export function onUserInteractionDisabledTap() { - throw new Error("Should not tap button with IsUserInteractionEnabled=false"); -} - -export function onDisabledThrowTap() { - throw new Error("Should not tap button with IsEnabled=false"); -} - -export function onTap() { +const setLabelTextAndLog = (args, text: string) => { + const page = args.object.page; + const label =