Skip to content

Commit 070c269

Browse files
author
tsv2013
committed
Try to fix f-tests
1 parent 959a745 commit 070c269

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

functionalTests/designer/add-new-question.ts

+3
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ test("Add New Question with sub type", async t => {
141141
.expect(getVisibleElement(".svc-question__content-actions .svc-survey-element-toolbar-item__title").nth(1).textContent).eql("Stars");
142142

143143
let expectedJson = {
144+
"headerView": 'advanced',
144145
"pages": [
145146
{
146147
"name": "page1",
@@ -167,6 +168,7 @@ test("Add New Question with sub type", async t => {
167168
.expect(getVisibleElement(".svc-question__content-actions .svc-survey-element-toolbar-item__title").nth(1).textContent).eql("Password");
168169

169170
expectedJson = <any>{
171+
"headerView": 'advanced',
170172
"pages": [
171173
{
172174
"name": "page1",
@@ -193,6 +195,7 @@ test("Add New Question with sub type", async t => {
193195
.expect(getVisibleElement(".svc-question__content-actions .svc-survey-element-toolbar-item__title").nth(1).textContent).eql("Labels");
194196

195197
expectedJson = <any>{
198+
"headerView": 'advanced',
196199
"pages": [
197200
{
198201
"name": "page1",

functionalTests/designer/toolbox.ts

+2
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,7 @@ test("toolbox subTypes: add items by drag-n-drop", async (t) => {
374374
.expect(toolboxSubTypesPopup.visible).notOk();
375375

376376
const expectedJson = {
377+
"headerView": 'advanced',
377378
"pages": [
378379
{
379380
"name": "page1",
@@ -418,6 +419,7 @@ test("toolbox subTypes: add items by click", async (t) => {
418419
.expect(toolboxSubTypesPopup.visible).ok();
419420

420421
const expectedJson = {
422+
"headerView": 'advanced',
421423
"pages": [
422424
{
423425
"name": "page1",

0 commit comments

Comments
 (0)