@@ -826,7 +826,7 @@ test("Disable/enable themeMode property for custom theme variations in theme pro
826
826
test ( "headerViewContainer init state" , ( ) : any => {
827
827
const creator : CreatorTester = new CreatorTester ( { showThemeTab : true } ) ;
828
828
const themePlugin : ThemeTabPlugin = < ThemeTabPlugin > creator . getPlugin ( "theme" ) ;
829
- creator . JSON = { questions : [ { type : "text" , name : "q1" } ] } ;
829
+ creator . JSON = { headerView : "advanced" , questions : [ { type : "text" , name : "q1" } ] } ;
830
830
831
831
themePlugin . activate ( ) ;
832
832
const groupHeader = themePlugin . propertyGrid . survey . pages [ 1 ] ;
@@ -1316,7 +1316,7 @@ test("header survey title font color changed", (): any => {
1316
1316
1317
1317
test ( "header editable after theme changed" , ( ) : any => {
1318
1318
const creator : CreatorTester = new CreatorTester ( { showThemeTab : true } ) ;
1319
- creator . JSON = { title : "Survey Title" , questions : [ { type : "text" , name : "q1" } ] } ;
1319
+ creator . JSON = { title : "Survey Title" , headerView : "advanced" , questions : [ { type : "text" , name : "q1" } ] } ;
1320
1320
1321
1321
const themePlugin : ThemeTabPlugin = < ThemeTabPlugin > creator . getPlugin ( "theme" ) ;
1322
1322
themePlugin . activate ( ) ;
@@ -1334,7 +1334,7 @@ test("header editable after theme changed", (): any => {
1334
1334
1335
1335
test ( "advanced header disable inheritWidthFrom and reset it to 'container' if showTOC is true" , ( ) : any => {
1336
1336
const creator : CreatorTester = new CreatorTester ( { showThemeTab : true } ) ;
1337
- creator . JSON = { title : "Survey Title" , questions : [ { type : "text" , name : "q1" } ] } ;
1337
+ creator . JSON = { title : "Survey Title" , headerView : "advanced" , questions : [ { type : "text" , name : "q1" } ] } ;
1338
1338
1339
1339
const themePlugin : ThemeTabPlugin = < ThemeTabPlugin > creator . getPlugin ( "theme" ) ;
1340
1340
themePlugin . activate ( ) ;
0 commit comments