@@ -240,7 +240,7 @@ describe("WritingAssistant Component", () => {
240240 . shadow ( )
241241 . find ( "[ui5-ai-versioning]" )
242242 . should ( "exist" )
243- . should ( "have.prop" , "currentStep" , 2 )
243+ . should ( "have.prop" , "currentStep" , 1 )
244244 . should ( "have.prop" , "totalSteps" , 3 ) ;
245245
246246 cy . get ( "[ui5-ai-writing-assistant]" )
@@ -255,7 +255,7 @@ describe("WritingAssistant Component", () => {
255255 cy . mount (
256256 < WritingAssistant
257257 loading = { false }
258- currentVersion = { 1 }
258+ currentVersion = { 2 }
259259 totalVersions = { 4 }
260260 />
261261 ) ;
@@ -587,7 +587,7 @@ describe("WritingAssistant Component", () => {
587587 cy . mount (
588588 < WritingAssistant
589589 loading = { false }
590- currentVersion = { 1 }
590+ currentVersion = { 2 }
591591 totalVersions = { 4 }
592592 onVersionChange = { onVersionChange }
593593 />
@@ -662,7 +662,7 @@ describe("WritingAssistant Component", () => {
662662 < WritingAssistant
663663 loading = { false }
664664 promptDescription = "Generated text"
665- currentVersion = { 0 }
665+ currentVersion = { 1 }
666666 totalVersions = { 1 }
667667 />
668668 ) ;
@@ -671,12 +671,12 @@ describe("WritingAssistant Component", () => {
671671 . as ( "toolbar" )
672672 . invoke ( "prop" , "loading" , false )
673673 . invoke ( "prop" , "promptDescription" , "Multiple results" )
674- . invoke ( "prop" , "currentVersion" , 1 )
674+ . invoke ( "prop" , "currentVersion" , 2 )
675675 . invoke ( "prop" , "totalVersions" , 3 ) ;
676676
677677 cy . get ( "@toolbar" )
678678 . should ( "have.prop" , "loading" , false )
679- . should ( "have.prop" , "currentVersion" , 1 )
679+ . should ( "have.prop" , "currentVersion" , 2 )
680680 . should ( "have.prop" , "totalVersions" , 3 ) ;
681681
682682 cy . get ( "@toolbar" )
@@ -796,7 +796,7 @@ describe("WritingAssistant Component", () => {
796796 cy . mount (
797797 < WritingAssistant
798798 loading = { false }
799- currentVersion = { 1 }
799+ currentVersion = { 2 }
800800 totalVersions = { 3 }
801801 onVersionChange = { cy . stub ( ) . as ( "onVersionChange" ) }
802802 onButtonClick = { cy . stub ( ) . as ( "onButtonClick" ) }
@@ -1073,7 +1073,7 @@ describe("WritingAssistant Component", () => {
10731073 . shadow ( )
10741074 . find ( "[ui5-ai-versioning]" )
10751075 . should ( "exist" )
1076- . should ( "have.prop" , "currentStep" , 3 )
1076+ . should ( "have.prop" , "currentStep" , 2 )
10771077 . should ( "have.prop" , "totalSteps" , 5 ) ;
10781078
10791079 cy . get ( "[ui5-ai-writing-assistant]" )
@@ -1083,7 +1083,7 @@ describe("WritingAssistant Component", () => {
10831083 . find ( "ui5-ai-toolbar-label" )
10841084 . shadow ( )
10851085 . find ( "span" )
1086- . should ( "contain.text" , "3 / 5" ) ;
1086+ . should ( "contain.text" , "2 / 5" ) ;
10871087 } ) ;
10881088
10891089 it ( "should maintain proper layout with all elements" , ( ) => {
@@ -1144,4 +1144,4 @@ describe("WritingAssistant Component", () => {
11441144 . should ( "have.prop" , "loading" , true ) ;
11451145 } ) ;
11461146 } ) ;
1147- } ) ;
1147+ } ) ;
0 commit comments