Skip to content

Commit 2526ac0

Browse files
Update tests (NativeScript#4345)
* Update tests * Fix typos * Fix tslint
1 parent 67a8144 commit 2526ac0

18 files changed

Lines changed: 65 additions & 53 deletions
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

apps/app/ui-tests-app/button/btn-wrap-text-alignment-4266.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
<NavigationButton text="Go Back" android.systemIcon="ic_menu_back"></NavigationButton>
55
</ActionBar>
66
</Page.actionBar>
7-
<GridLayout rows="*,*,*,*">
8-
<Button text="This a test of a wrapping button [CENTER]" textWrap="true" style="text-align:center;width:100" />
7+
<StackLayout>
8+
<Button text="This a test of a wrapping button [CENTER]" textWrap="true" style="text-align:center; margin-left:10" />
99
<Button row="1" text="This a test of a wrapping button [RIGHT]" textWrap="true" style="text-align:right;width:100" />
1010
<Button row="2" text="This a test of a wrapping button [LEFT]" textWrap="true" style="text-align:left;width:100" />
1111
<Button row="3" text="&#xf8ff; This a test of a wrapping button [CENTER ICON]" textWrap="true" style="text-align:center;width:100" />
12-
</GridLayout>
12+
</StackLayout>
1313
</Page>
File renamed without changes.

apps/app/ui-tests-app/button/main-page.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,8 @@ export function loadExamples() {
1414
examples.set("btn-wrap-text-alignment-4266", "button/btn-wrap-text-alignment-4266");
1515
examples.set("button-border", "button/button-border");
1616
examples.set("styles", "button/styles");
17+
examples.set("background", "button/background");
18+
examples.set("border-playground","button/border-playground");
19+
examples.set("issue-4287","button/issue-4287");
1720
return examples;
1821
}

apps/app/ui-tests-app/css/main-page.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,13 @@ export function pageLoaded(args: EventData) {
1111

1212
export function loadExamples() {
1313
const examples = new Map<string, string>();
14-
examples.set("background", "css/background");
1514
examples.set("formatted", "css/decoration-transform-formattedtext");
1615
examples.set("radius", "css/radius");
1716
examples.set("spacing", "css/letter-spacing");
1817
examples.set("decoration", "css/text-decoration");
1918
examples.set("transform", "css/text-transform");
2019
examples.set("whitespace", "css/white-space");
21-
examples.set("switch", "css/views");
20+
examples.set("progress-switch", "css/progress-switch");
2221
examples.set("zindex", "css/zindex");
2322
examples.set("clipPath", "css/clip-path");
2423
examples.set("clipPathInset", "css/clip-path-inset");
@@ -36,8 +35,6 @@ export function loadExamples() {
3635
examples.set("all-non-uniform-border", "css/all-non-uniform-border");
3736
examples.set("margins-paddings-with-percentage", "css/margins-paddings-with-percentage");
3837
examples.set("padding-and-border", "css/padding-and-border");
39-
examples.set("border-playground", "css/border-playground");
40-
examples.set("hint-text-color", "css/hint-text-color");
4138
examples.set("combinators", "css/combinators");
4239
examples.set("styled-formatted-text", "css/styled-formatted-text");
4340

File renamed without changes.

0 commit comments

Comments
 (0)