Skip to content

Commit ad6ac94

Browse files
Merge pull request #1816 from NativeScript/router-tests-wrap-btns
test: wrap buttons on second page
2 parents 59a1cde + b6c1dc5 commit ad6ac94

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

Diff for: e2e/router/app/second/second.component.ts

+8-7
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,14 @@ import { CounterService } from "../counter.service";
1414
<Label text="SecondComponent" class="header"></Label>
1515
<Label [text]="'param: ' + (depth$ | async)" class="title"></Label>
1616
17-
<Button text="GO TO FIRST" [nsRouterLink]="['/first']"></Button>
18-
<Button text="GO TO FIRST(CLEAR)" [nsRouterLink]="['/first']" clearHistory="true" pageTransition="flipRight"></Button>
19-
<Button text="GO TO NEXT SECOND" [nsRouterLink]="['/second', (nextDepth$ | async)]"></Button>
20-
<Button text="LOAD NESTED NAMED OUTLET" (tap)="loadNestedNamedOutlet()"></Button>
21-
<Button text="BACK" automationText="BACK" (tap)="goBack()"></Button>
22-
23-
<Button text="TICK" automationText="TICK" (tap)="service.tick()"></Button>
17+
<WrapLayout>
18+
<Button text="GO TO FIRST" [nsRouterLink]="['/first']"></Button>
19+
<Button text="GO TO FIRST(CLEAR)" [nsRouterLink]="['/first']" clearHistory="true" pageTransition="flipRight"></Button>
20+
<Button text="GO TO NEXT SECOND" [nsRouterLink]="['/second', (nextDepth$ | async)]"></Button>
21+
<Button text="LOAD NESTED NAMED OUTLET" (tap)="loadNestedNamedOutlet()"></Button>
22+
<Button text="BACK" automationText="BACK" (tap)="goBack()"></Button>
23+
<Button text="TICK" automationText="TICK" (tap)="service.tick()"></Button>
24+
</WrapLayout>
2425
2526
<GridLayout row="1" rows="*,*">
2627
<GridLayout row="0" class="nested-outlet">

0 commit comments

Comments
 (0)