@@ -47,9 +47,6 @@ describe('express onboarding docs', function () {
4747 expect (
4848 screen . getByText ( textWithMarkupMatcher ( / t r a c e s S a m p l e R a t e / ) )
4949 ) . toBeInTheDocument ( ) ;
50- expect (
51- screen . getByText ( textWithMarkupMatcher ( / p r o f i l e s S a m p l e R a t e / ) )
52- ) . toBeInTheDocument ( ) ;
5350 } ) ;
5451
5552 it ( 'enables performance setting the tracesSampleRate to 1' , ( ) => {
@@ -63,6 +60,9 @@ describe('express onboarding docs', function () {
6360 expect (
6461 screen . getByText ( textWithMarkupMatcher ( / t r a c e s S a m p l e R a t e : 1 \. 0 / ) )
6562 ) . toBeInTheDocument ( ) ;
63+ expect (
64+ screen . getByText ( textWithMarkupMatcher ( / p r o f i l e S e s s i o n S a m p l e R a t e : 1 .0 / ) )
65+ ) . toBeInTheDocument ( ) ;
6666 } ) ;
6767
6868 it ( 'enables profiling by setting profiling samplerates' , ( ) => {
@@ -78,7 +78,7 @@ describe('express onboarding docs', function () {
7878 )
7979 ) . toBeInTheDocument ( ) ;
8080 expect (
81- screen . getByText ( textWithMarkupMatcher ( / p r o f i l e s S a m p l e R a t e : 1 \. 0 / ) )
81+ screen . getByText ( textWithMarkupMatcher ( / p r o f i l e L i f e c y c l e : ' t r a c e ' / ) )
8282 ) . toBeInTheDocument ( ) ;
8383 } ) ;
8484 it ( 'continuous profiling' , ( ) => {
@@ -104,7 +104,7 @@ describe('express onboarding docs', function () {
104104
105105 // Profiles sample rate should not be set for continuous profiling
106106 expect (
107- screen . queryByText ( textWithMarkupMatcher ( / p r o f i l e s S a m p l e R a t e : 1 \. 0 / ) )
107+ screen . queryByText ( textWithMarkupMatcher ( / p r o f i l e L i f e c y c l e : ' t r a c e ' / ) )
108108 ) . not . toBeInTheDocument ( ) ;
109109
110110 // Should have start and stop profiling calls
0 commit comments