@@ -35,7 +35,7 @@ public void RenderSectionContent_CascadingParameterForSectionOutletIsDeterminedB
3535 Browser . FindElement ( By . Id ( "render-section-outlet" ) ) . Click ( ) ;
3636 Browser . FindElement ( By . Id ( "render-second-section-content" ) ) . Click ( ) ;
3737
38- Browser . Equal ( "Second Section with additional text for second section" , ( ) => Browser . Exists ( By . TagName ( "p ") ) . Text ) ;
38+ Browser . Equal ( "Second Section with additional text for second section" , ( ) => Browser . Exists ( By . Id ( "text-component ") ) . Text ) ;
3939 }
4040
4141 [ Fact ]
@@ -46,7 +46,7 @@ public void ChangeCascadingValueForSectionContent_CascadingValueForSectionOutlet
4646
4747 Browser . FindElement ( By . Id ( "change-cascading-value" ) ) . Click ( ) ;
4848
49- Browser . Equal ( "First Section with additional text for second section" , ( ) => Browser . Exists ( By . TagName ( "p ") ) . Text ) ;
49+ Browser . Equal ( "First Section with additional text for second section" , ( ) => Browser . Exists ( By . Id ( "text-component ") ) . Text ) ;
5050 }
5151
5252 [ Fact ]
@@ -56,7 +56,7 @@ public void RenderTwoSectionContentsWithSameId_CascadingParameterForSectionOutle
5656 Browser . FindElement ( By . Id ( "render-first-section-content" ) ) . Click ( ) ;
5757 Browser . FindElement ( By . Id ( "render-section-outlet" ) ) . Click ( ) ;
5858
59- Browser . Equal ( "First Section with additional text for first section" , ( ) => Browser . Exists ( By . TagName ( "p ") ) . Text ) ;
59+ Browser . Equal ( "First Section with additional text for first section" , ( ) => Browser . Exists ( By . Id ( "text-component ") ) . Text ) ;
6060 }
6161
6262 [ Fact ]
@@ -68,7 +68,7 @@ public void SecondSectionContentIdChanged_CascadingParameterForSectionOutletIsDe
6868
6969 Browser . FindElement ( By . Id ( "change-second-section-content-id" ) ) . Click ( ) ;
7070
71- Browser . Equal ( "First Section with additional text for first section" , ( ) => Browser . Exists ( By . TagName ( "p ") ) . Text ) ;
71+ Browser . Equal ( "First Section with additional text for first section" , ( ) => Browser . Exists ( By . Id ( "text-component ") ) . Text ) ;
7272 }
7373
7474 [ Fact ]
@@ -80,7 +80,7 @@ public void SecondSectionContentDisposed_CascadingParameterForSectionOutletIsDet
8080
8181 Browser . FindElement ( By . Id ( "dispose-second-section-content" ) ) . Click ( ) ;
8282
83- Browser . Equal ( "First Section with additional text for first section" , ( ) => Browser . Exists ( By . TagName ( "p ") ) . Text ) ;
83+ Browser . Equal ( "First Section with additional text for first section" , ( ) => Browser . Exists ( By . Id ( "text-component ") ) . Text ) ;
8484 }
8585
8686 [ Fact ]
@@ -92,7 +92,7 @@ public void FirstSectionContentDisposedThenRenderSecondSectionContent_CascadingP
9292 Browser . FindElement ( By . Id ( "dispose-first-section-content" ) ) . Click ( ) ;
9393 Browser . FindElement ( By . Id ( "render-second-section-content" ) ) . Click ( ) ;
9494
95- Browser . Equal ( "Second Section with additional text for second section" , ( ) => Browser . Exists ( By . TagName ( "p ") ) . Text ) ;
95+ Browser . Equal ( "Second Section with additional text for second section" , ( ) => Browser . Exists ( By . Id ( "text-component ") ) . Text ) ;
9696 }
9797
9898 [ Fact ]
@@ -105,6 +105,6 @@ public void SectionOutletIdChanged_CascadingParameterForSectionOutletIsDetermine
105105
106106 Browser . FindElement ( By . Id ( "change-section-outlet-id" ) ) . Click ( ) ;
107107
108- Browser . Equal ( "Second Section with additional text for second section" , ( ) => Browser . Exists ( By . TagName ( "p ") ) . Text ) ;
108+ Browser . Equal ( "Second Section with additional text for second section" , ( ) => Browser . Exists ( By . Id ( "text-component ") ) . Text ) ;
109109 }
110110}
0 commit comments