FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Added UI test for nested components CSS application by hamorphis · Pull Request #3283 · NativeScript/NativeScript · GitHub

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .css  (1) .json  (1) .ts  (1) .xml  (4) All 4 file types selected
Only manifest files
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
20 changes: 20 additions & 0 deletions apps/app/ui-tests-app/app.css
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
#app {
background-color: lightblue;
}

.ui-tests-app-issue-1639-red {
color: red;
margin-left: 0;
}

.ui-tests-app-issue-1639-green {
color: green;
margin-left: 10;
}

.ui-tests-app-issue-1639-blue {
color: blue;
margin-left: 20;
}

.ui-tests-app-issue-1639-yellow {
color: yellow;
margin-left: 30;
}
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<StackLayout xmlns:cC2="/ui-tests-app/issues/component2">
<Label class="ui-tests-app-issue-1639-green" text="customView green" textWrap="true" />
<cC2:customView2/>
</StackLayout>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<StackLayout xmlns:cC3="/ui-tests-app/issues/component3">
<Label class="ui-tests-app-issue-1639-blue" text="customView2 blue" textWrap="true" />
<cC3:customView3/>
</StackLayout>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<StackLayout>
<Label class="ui-tests-app-issue-1639-yellow" text="customView3 yellow" textWrap="true" />
</StackLayout>
6 changes: 6 additions & 0 deletions apps/app/ui-tests-app/issues/issue-1639.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<Page xmlns="http://schemas.nativescript.org/tns.xsd" xmlns:cC="ui-tests-app/issues/component">
<StackLayout>
<Label class="ui-tests-app-issue-1639-red" text="main-page red" textWrap="true" />
<cC:customView/>
</StackLayout>
</Page>
1 change: 1 addition & 0 deletions apps/app/ui-tests-app/issues/main-page.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export function pageLoaded(args: EventData) {
examples.set("3164", "issues/issue-3164");
examples.set("3175", "issues/issue-3175");
examples.set("3211", "issues/issue-3211");
examples.set("1639", "issues/issue-1639");

let viewModel = new SubMainPageViewModel(wrapLayout, examples);
page.bindingContext = viewModel;
Expand Down
4 changes: 2 additions & 2 deletions apps/package.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
"version": "2.4.0"
},
"tns-android": {
"version": "2.4.0"
"version": "2.4.1"
}
},
"dependencies": {
"tns-core-modules": "2.4.0"
"tns-core-modules": "2.4.2"
},
"devDependencies": {
"tns-platform-declarations": "*",
Expand Down

Back | FazBrowse Home | New Git URL