55 AgentInfo ,
66 AppEditorContainer ,
77 AppEditorGeneralForm ,
8+ AppEditorGeneralInfoAgentPreview ,
89 AppEditorHeader ,
9- AppEditorPreview ,
1010 AppEditorViewForm ,
1111 AttachFilesModal ,
1212 Chat ,
@@ -85,11 +85,13 @@ import { PublicationApiHelper } from '@/src/testData/api/publicationApiHelper';
8585import { ApiInjector } from '@/src/testData/injector/apiInjector' ;
8686import { BrowserStorageInjector } from '@/src/testData/injector/browserStorageInjector' ;
8787import { DataInjectorInterface } from '@/src/testData/injector/dataInjectorInterface' ;
88+ import { DialErrorPage } from '@/src/ui/pages/DialErrorPage' ;
8889import { AccountSettings } from '@/src/ui/webElements/accountSettings' ;
8990import { Addons } from '@/src/ui/webElements/addons' ;
9091import { AddonsDialog } from '@/src/ui/webElements/addonsDialog' ;
9192import { AgentSettings } from '@/src/ui/webElements/agentSettings' ;
9293import { AppContainer } from '@/src/ui/webElements/appContainer' ;
94+ import { AppEditorAppSettingsAgentPreview } from '@/src/ui/webElements/appEditor/appEditorAppSettingsAgentPreview' ;
9395import { Banner } from '@/src/ui/webElements/banner' ;
9496import { Compare } from '@/src/ui/webElements/compare' ;
9597import { ConfirmationDialog } from '@/src/ui/webElements/confirmationDialog' ;
@@ -152,6 +154,7 @@ export const stateFilePath = (index: number) =>
152154const dialTest = test . extend < {
153155 beforeTestCleanup : string ;
154156 dialHomePage : DialHomePage ;
157+ dialErrorPage : DialErrorPage ;
155158 marketplacePage : MarketplacePage ;
156159 appEditorPage : AppEditorPage ;
157160 appContainer : AppContainer ;
@@ -168,7 +171,8 @@ const dialTest = test.extend<{
168171 appEditorHeader : AppEditorHeader ;
169172 appEditorHeaderAssertion : AppEditorHeaderAssertion ;
170173 appEditorGeneralForm : AppEditorGeneralForm ;
171- appEditorPreview : AppEditorPreview ;
174+ appEditorGeneralInfoAgentPreview : AppEditorGeneralInfoAgentPreview ;
175+ appEditorAppSettingsAgentPreview : AppEditorAppSettingsAgentPreview ;
172176 appEditorViewForm : AppEditorViewForm ;
173177 chatBar : ChatBar ;
174178 navigationPanel : NavigationPanel ;
@@ -409,6 +413,10 @@ const dialTest = test.extend<{
409413 const dialHomePage = new DialHomePage ( page ) ;
410414 await use ( dialHomePage ) ;
411415 } ,
416+ dialErrorPage : async ( { page } , use ) => {
417+ const dialErrorPage = new DialErrorPage ( page ) ;
418+ await use ( dialErrorPage ) ;
419+ } ,
412420 marketplacePage : async ( { page } , use ) => {
413421 const marketplacePage = new MarketplacePage ( page ) ;
414422 await use ( marketplacePage ) ;
@@ -469,9 +477,15 @@ const dialTest = test.extend<{
469477 const appEditorGeneralForm = appEditorContainer . getAppEditorGeneralForm ( ) ;
470478 await use ( appEditorGeneralForm ) ;
471479 } ,
472- appEditorPreview : async ( { appEditorContainer } , use ) => {
473- const appEditorPreview = appEditorContainer . getAppEditorPreview ( ) ;
474- await use ( appEditorPreview ) ;
480+ appEditorGeneralInfoAgentPreview : async ( { appEditorContainer } , use ) => {
481+ const appEditorGeneralInfoPreview =
482+ appEditorContainer . getAppEditorGeneralInfoPreview ( ) ;
483+ await use ( appEditorGeneralInfoPreview ) ;
484+ } ,
485+ appEditorAppSettingsAgentPreview : async ( { appEditorContainer } , use ) => {
486+ const appEditorAppSettingsPreview =
487+ appEditorContainer . getAppEditorAppSettingsPreview ( ) ;
488+ await use ( appEditorAppSettingsPreview ) ;
475489 } ,
476490 appEditorViewForm : async ( { appEditorContainer } , use ) => {
477491 const appEditorViewForm = appEditorContainer . getAppEditorViewForm ( ) ;
0 commit comments