@@ -23,7 +23,7 @@ dialTest(
23
23
async ( {
24
24
dialHomePage,
25
25
conversations,
26
- chatBar ,
26
+ header ,
27
27
conversationData,
28
28
dataInjector,
29
29
setTestIds,
@@ -52,7 +52,7 @@ dialTest(
52
52
await dialHomePage . waitForPageLoaded ( ) ;
53
53
await conversations . selectConversation ( conversation . name ) ;
54
54
for ( let i = 1 ; i <= 2 ; i ++ ) {
55
- await chatBar . createNewConversation ( ) ;
55
+ await header . createNewConversation ( ) ;
56
56
await expect
57
57
. soft (
58
58
conversations . getEntityByName (
@@ -74,7 +74,7 @@ dialTest(
74
74
async ( {
75
75
dialHomePage,
76
76
conversations,
77
- chatBar ,
77
+ header ,
78
78
conversationData,
79
79
dataInjector,
80
80
conversationDropdownMenu,
@@ -113,7 +113,7 @@ dialTest(
113
113
await dialHomePage . openHomePage ( ) ;
114
114
await dialHomePage . waitForPageLoaded ( ) ;
115
115
await conversations . selectConversation ( secondConversation . name ) ;
116
- await chatBar . createNewConversation ( ) ;
116
+ await header . createNewConversation ( ) ;
117
117
await expect
118
118
. soft (
119
119
conversations . getEntityByName ( thirdConversationName ) ,
@@ -140,7 +140,7 @@ dialTest(
140
140
GeneratorUtil . randomString ( 7 ) ,
141
141
{ isHttpMethodTriggered : false } ,
142
142
) ;
143
- await chatBar . createNewConversation ( ) ;
143
+ await header . createNewConversation ( ) ;
144
144
await expect
145
145
. soft (
146
146
conversations . getEntityByName ( fourthConversationName ) ,
@@ -157,7 +157,7 @@ dialTest(
157
157
async ( {
158
158
dialHomePage,
159
159
conversations,
160
- chatBar ,
160
+ header ,
161
161
conversationData,
162
162
dataInjector,
163
163
conversationDropdownMenu,
@@ -194,7 +194,7 @@ dialTest(
194
194
) ;
195
195
await conversationDropdownMenu . selectMenuOption ( MenuOptions . delete ) ;
196
196
await confirmationDialog . confirm ( { triggeredHttpMethod : 'DELETE' } ) ;
197
- await chatBar . createNewConversation ( ) ;
197
+ await header . createNewConversation ( ) ;
198
198
await expect
199
199
. soft (
200
200
conversations . getEntityByName (
@@ -213,6 +213,7 @@ dialTest(
213
213
async ( {
214
214
dialHomePage,
215
215
conversations,
216
+ header,
216
217
chatBar,
217
218
conversationData,
218
219
dataInjector,
@@ -259,7 +260,7 @@ dialTest(
259
260
folderConversation . conversations [ 0 ] . name ,
260
261
) ;
261
262
await chatBar . createNewFolder ( ) ;
262
- await chatBar . createNewConversation ( ) ;
263
+ await header . createNewConversation ( ) ;
263
264
264
265
await chatBar . dragAndDropEntityToFolder (
265
266
conversations . getEntityByName ( initConversationName ) ,
@@ -283,7 +284,7 @@ dialTest(
283
284
await dialTest . step (
284
285
'Verify one more conversation with name "New conversation 1" can be created' ,
285
286
async ( ) => {
286
- await chatBar . createNewConversation ( ) ;
287
+ await header . createNewConversation ( ) ;
287
288
await expect
288
289
. soft (
289
290
conversations . getEntityByName ( initConversationName ) ,
0 commit comments