From 1e85f172f9700741bb482ebe293421c0f16b2f69 Mon Sep 17 00:00:00 2001 From: Sean Perkins Date: Mon, 10 Apr 2023 16:00:29 -0400 Subject: [PATCH] chore(angular): test apps use modern label syntax (#27154) ## What is the current behavior? The Angular test apps use the legacy label syntax for the e2e test templates. Issue URL: N/A ## What is the new behavior? - Updates the test templates for the Angular test apps to use the modern syntax available in Ionic v7. ## Does this introduce a breaking change? - [ ] Yes - [x] No ## Other information --- .../form-controls/range/range.component.html | 5 +-- .../base/src/app/form/form.component.html | 24 +++++++------- .../base/src/app/inputs/inputs.component.html | 32 +++++++++---------- .../app/searchbar/searchbar.component.html | 2 +- 4 files changed, 32 insertions(+), 31 deletions(-) diff --git a/angular/test/base/src/app/form-controls/range/range.component.html b/angular/test/base/src/app/form-controls/range/range.component.html index 91c7df9d62..2dab1a129c 100644 --- a/angular/test/base/src/app/form-controls/range/range.component.html +++ b/angular/test/base/src/app/form-controls/range/range.component.html @@ -7,8 +7,9 @@
- Range - + +
Range
+
Submit diff --git a/angular/test/base/src/app/form/form.component.html b/angular/test/base/src/app/form/form.component.html index 5204d60dfa..4ba9b9621f 100644 --- a/angular/test/base/src/app/form/form.component.html +++ b/angular/test/base/src/app/form/form.component.html @@ -17,8 +17,7 @@ - Select - + No Game Console NES Nintendo64 @@ -30,25 +29,25 @@ - Toggle - + + Toggle + - Input (required) - + Set Input Touched - Input - + - Checkbox - + + Checkbox + @@ -67,8 +66,9 @@
- Outside form - + + Outside form + {{outsideToggle.value}} diff --git a/angular/test/base/src/app/inputs/inputs.component.html b/angular/test/base/src/app/inputs/inputs.component.html index 65391e5731..ea19d0c77e 100644 --- a/angular/test/base/src/app/inputs/inputs.component.html +++ b/angular/test/base/src/app/inputs/inputs.component.html @@ -22,8 +22,7 @@ - Select - + No Game Console NES Nintendo64 @@ -36,8 +35,7 @@ - Select Mirror - + No Game Console NES Nintendo64 @@ -50,38 +48,40 @@ - Toggle - + + Toggle + {{toggle}} - Toggle Mirror - + + Toggle Mirror + {{toggle}} - Input - + {{input}} - Input Mirror - + {{input}} - Checkbox - + + Checkbox + {{checkbox}} - Checkbox Mirror - + + Checkbox Mirror + {{checkbox}} diff --git a/angular/test/base/src/app/searchbar/searchbar.component.html b/angular/test/base/src/app/searchbar/searchbar.component.html index 52ce6106d1..7dde40195c 100644 --- a/angular/test/base/src/app/searchbar/searchbar.component.html +++ b/angular/test/base/src/app/searchbar/searchbar.component.html @@ -13,4 +13,4 @@

Form value: {{ form.value | json }}

- \ No newline at end of file +