Skip to content

Commit c519119

Browse files
chore: include images
1 parent 0bf5069 commit c519119

File tree

82 files changed

+392
-615
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+392
-615
lines changed

app/animate-child.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import { Component } from "@angular/core";
1010

1111
@Component({
1212
template: `
13-
<StackLayout class="parent" width="500" height="500" [@parent]="parentVal">
14-
<StackLayout class="child" [@child]="childVal"></StackLayout>>
13+
<StackLayout class="parent" width="500" height="500" [@parent]="parentVal" automationText="parent">
14+
<StackLayout class="child" [@child]="childVal" automationText="child"></StackLayout>>
1515
</StackLayout>
1616
`,
1717
animations: [

app/animations-list.component.ts

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,14 @@ class Link {
88

99
@Component({
1010
template: `
11-
<ListView [items]="links">
12-
<ng-template let-item="item">
13-
<Button
14-
[text]="item.title"
15-
[nsRouterLink]="item.link"
16-
[automationText]="item.link.replace('/', '')"
17-
></Button>
18-
</ng-template>
19-
</ListView>
11+
<WrapLayout [items]="links">
12+
<Button
13+
*ngFor="let item of links"
14+
[text]="item.title"
15+
[nsRouterLink]="item.link"
16+
[automationText]="item.link.replace('/', '')">
17+
</Button>
18+
</WrapLayout>
2019
`
2120
})
2221
export class AnimationsListComponent {

app/app.android.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Button {
2+
font-size: 8px;
3+
padding: 0px;
4+
margin: 0px;
5+
}
6+
7+
Label{
8+
font-size: 8px;
9+
}

app/app.css

Whitespace-only changes.

app/hero/hero-team-builder.component.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<FlexboxLayout flexDirection="column">
22
<FlexboxLayout>
3-
<Button (tap)="heroes.addInactive()" text="Add inactive" ></Button>
4-
<Button (tap)="heroes.addActive()" text="Add active"></Button>
5-
<Button (tap)="heroes.remove()" text="Remove"></Button>
6-
<Button (tap)="heroes.reset()" text="Reset"></Button>
3+
<Button (tap)="heroes.addInactive()" text="Add inactive" automationText="addInactive" ></Button>
4+
<Button (tap)="heroes.addActive()" text="Add active" automationText="addActive" ></Button>
5+
<Button (tap)="heroes.remove()" text="Remove" automationText="remove" ></Button>
6+
<Button (tap)="heroes.reset()" text="Reset" automationText="reset" ></Button>
77
</FlexboxLayout>
88

99
<FlexboxLayout flexDirection="column">

app/hero/hero-team-builder.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { Heroes } from "./hero.service";
55
@Component({
66
moduleId: module.id,
77
selector: "hero-team-builder",
8+
styleUrls: ["./hero-team-builder.component.css"],
89
templateUrl: "./hero-team-builder.component.html",
910
providers: [Heroes]
1011
})

app/options-default.component.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,26 @@ import {
99

1010
@Component({
1111
template: `
12-
<StackLayout>
12+
<StackLayout automationText="itemsContainer">
1313
<Button
1414
text="Add hero"
1515
(tap)="addNew()"
1616
[isEnabled]="extraHeroes.length > 0"
1717
[ngClass]="extraHeroes.length > 0 ? 'enabled' : 'disabled'"
18+
automationText="add"
1819
></Button>
1920
2021
2122
<Button
2223
*ngFor="let hero of heroes"
23-
[text]="hero"
24+
[text]="hero"
2425
[@flyInOut]="'in'"
2526
(tap)="flyOut(hero)"
2627
backgroundColor="hotpink"
28+
[automationText]="hero"
2729
height="75"
2830
></Button>
29-
31+
3032
</StackLayout>
3133
`,
3234
styles: [

app/selector-all.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import { Component } from "@angular/core";
3131
template: `
3232
<FlexboxLayout flexDirection="column"
3333
automationText="itemsContainer">
34-
<Button text="add" (tap)="items.push('random')"></Button>
34+
<Button text="add" automationText="add" (tap)="items.push('random')"></Button>
3535
3636
<FlexboxLayout
3737
flexDirection="column"

e2e/helpers/query-stagger-page.ts

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)