Skip to content

Commit

Permalink
Try to fix vrt tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dk981234 committed Aug 8, 2023
1 parent d9c2876 commit 94ee98f
Show file tree
Hide file tree
Showing 11 changed files with 85 additions and 2 deletions.
2 changes: 2 additions & 0 deletions visualRegressionTests/tests/defaultV2/boolean.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ frameworks.forEach(framework => {
{
type: "boolean",
name: "boolean_question",
maxWidth: "768px",
minWidth: "768px",
width: "768px",
renderAs: "radio"
},
Expand Down
2 changes: 2 additions & 0 deletions visualRegressionTests/tests/defaultV2/complex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ const json = {
templateTitle: "{panel.itemName}",
panelRemoveText: "Remove Item",
panelCount: 5,
minWidth: "708px",
maxWidth: "708px",
width: "708px",
templateElements: [
{
Expand Down
4 changes: 4 additions & 0 deletions visualRegressionTests/tests/defaultV2/html.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ frameworks.forEach(framework => {
type: "html",
name: "html_question",
html: "<b>Hello, world!</b><p>Hello, world!</p><b>Hello, world!</b>",
maxWidth: "768px",
minWidth: "768px",
width: "768px"
},
]
Expand All @@ -47,6 +49,8 @@ frameworks.forEach(framework => {
type: "html",
name: "html_question",
html: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",
maxWidth: "768px",
minWidth: "768px",
width: "768px"
},
]
Expand Down
2 changes: 2 additions & 0 deletions visualRegressionTests/tests/defaultV2/image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ frameworks.forEach(framework => {
name: "image_question",
imageWidth: "1024px",
imageHeight: "465px",
minWidth: "1024px",
maxWidth: "1024px",
width: "1024px",
imageLink: imageSource
},
Expand Down
2 changes: 2 additions & 0 deletions visualRegressionTests/tests/defaultV2/matrix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ frameworks.forEach(framework => {
detailPanelMode: "underRow",
columns: [{ name: "col1" }, { name: "col2" }, { name: "col3" }],
detailElements: [{ type: "text", name: "q1" }],
minWidth: "800px",
maxWidth: "800px",
width: "800px"
},
],
Expand Down
13 changes: 11 additions & 2 deletions visualRegressionTests/tests/defaultV2/matrixdynamic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ frameworks.forEach(framework => {
emptyRowsText: "There is no records yet.\nClick the button below to add a new record.",
addRowText: "Add New Record",
rowCount: 0,
maxWidth: "768px",
minWidth: "768px",
width: "768px"
}
]
Expand Down Expand Up @@ -65,6 +67,8 @@ frameworks.forEach(framework => {
],
addRowText: "Add a New Record",
rowCount: 3,
maxWidth: "768px",
minWidth: "768px",
width: "768px"
},
]
Expand Down Expand Up @@ -116,8 +120,9 @@ frameworks.forEach(framework => {
cellType: "comment",
addRowText: "Add Date +",
removeRowText: "Remove",
width: "800px"
}
maxWidth: "800px",
minWidth: "800px",
width: "800px" }
]
});

Expand Down Expand Up @@ -155,6 +160,8 @@ frameworks.forEach(framework => {
],
addRowText: "Add a New Record",
rowCount: 3,
maxWidth: "704px",
minWidth: "704px",
width: "704px"
},
]
Expand Down Expand Up @@ -196,6 +203,8 @@ frameworks.forEach(framework => {
],
addRowText: "Add a New Record",
rowCount: 3,
maxWidth: "704px",
minWidth: "704px",
width: "704px"
},
]
Expand Down
14 changes: 14 additions & 0 deletions visualRegressionTests/tests/defaultV2/panel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ frameworks.forEach(framework => {
type: "panel",
name: "delivery_details",
title: "Please, specify the delivery details.",
minWidth: "708px",
maxWidth: "708px",
width: "708px",
elements: [
{
Expand Down Expand Up @@ -97,6 +99,8 @@ frameworks.forEach(framework => {
type: "panel",
name: "delivery_details",
title: "Please, specify the delivery details.",
minWidth: "708px",
maxWidth: "708px",
width: "708px",
state: "collapsed",
elements: [
Expand Down Expand Up @@ -132,6 +136,8 @@ frameworks.forEach(framework => {
type: "panel",
name: "delivery_details",
title: "Please, specify the delivery details.",
minWidth: "708px",
maxWidth: "708px",
width: "708px",
visible: false,
elements: [
Expand Down Expand Up @@ -271,6 +277,8 @@ frameworks.forEach(framework => {
type: "panel",
name: "delivery_details",
title: "Please, specify the delivery details.",
minWidth: "708px",
maxWidth: "708px",
width: "708px",
elements: [
{
Expand Down Expand Up @@ -307,6 +315,8 @@ frameworks.forEach(framework => {
type: "panel",
name: "delivery_details",
title: "Please, specify the delivery details.",
minWidth: "708px",
maxWidth: "708px",
width: "708px",
elements: [
{
Expand Down Expand Up @@ -345,6 +355,8 @@ frameworks.forEach(framework => {
type: "panel",
name: "delivery_details",
title: "Please, specify the delivery details.",
minWidth: "708px",
maxWidth: "708px",
width: "708px",
elements: [
{
Expand Down Expand Up @@ -379,6 +391,8 @@ frameworks.forEach(framework => {
type: "panel",
name: "delivery_details",
title: "Please, specify the delivery details.",
minWidth: "708px",
maxWidth: "708px",
width: "708px",
showNumber: true,
elements: [
Expand Down
2 changes: 2 additions & 0 deletions visualRegressionTests/tests/defaultV2/paneldynamic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ var json = {
noEntriesText: "You can add as many applications as you want.\nJust click the button below to start.",
panelAddText: "Add application",
panelRemoveText: "Remove application",
maxWidth: "768px",
minWidth: "768px",
width: "768px"
},
]
Expand Down
14 changes: 14 additions & 0 deletions visualRegressionTests/tests/defaultV2/question.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ frameworks.forEach(framework => {
type: "text",
titleLocation: "hidden",
name: "question",
minWidth: "708px",
maxWidth: "708px",
width: "708px",
},
]
Expand All @@ -47,6 +49,8 @@ frameworks.forEach(framework => {
{
type: "text",
name: "question_with_num",
minWidth: "708px",
maxWidth: "708px",
width: "708px",
title: "What can we improve or add to our Xamarin.Forms UI product line to better address your business needs in the future (control features, learning materials, etc.)?"
},
Expand All @@ -66,6 +70,8 @@ frameworks.forEach(framework => {
type: "text",
inputType: "color",
name: "question_color",
minWidth: "708px",
maxWidth: "708px",
width: "708px",
title: "Color question"
},
Expand All @@ -84,6 +90,8 @@ frameworks.forEach(framework => {
{
type: "text",
name: "question_with_num",
minWidth: "708px",
maxWidth: "708px",
width: "708px",
state: "collapsed",
title: "What can we improve or add to our Xamarin.Forms UI product line to better address your business needs in the future (control features, learning materials, etc.)?"
Expand Down Expand Up @@ -112,6 +120,8 @@ frameworks.forEach(framework => {
type: "text",
name: "q1",
title: "Rate the importance of this scenario for your enterprise (assuming you've encountered it in the past).",
minWidth: "708px",
maxWidth: "708px",
width: "708px",
choices: ["High", "Medium", "Low"],
visible: false,
Expand All @@ -134,6 +144,8 @@ frameworks.forEach(framework => {
{
type: "text",
name: "question_with_num",
minWidth: "708px",
maxWidth: "708px",
width: "708px",
state: "collapsed",
title: "Personal information"
Expand Down Expand Up @@ -163,6 +175,8 @@ frameworks.forEach(framework => {
type: "text",
name: "required_question",
isRequired: true,
minWidth: "708px",
maxWidth: "708px",
width: "708px",
title: "What can we improve or add to our Xamarin.Forms UI product line to better address your business needs in the future (control features, learning materials, etc.)?"
},
Expand Down
30 changes: 30 additions & 0 deletions visualRegressionTests/tests/defaultV2/rating.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ frameworks.forEach(framework => {
rateMax: 3,
minRateDescription: "Not Satisfied",
maxRateDescription: "Completely satisfied",
minWidth: "708px",
maxWidth: "708px",
width: "708px"
}
]
Expand Down Expand Up @@ -64,6 +66,8 @@ frameworks.forEach(framework => {
rateMax: 3,
minRateDescription: "Not Satisfied",
maxRateDescription: "Completely satisfied",
minWidth: "708px",
maxWidth: "708px",
width: "708px",
defaultValue: 2,
readOnly: true
Expand All @@ -89,6 +93,8 @@ frameworks.forEach(framework => {
title: "Rating",
displayMode: "buttons",
rateMax: 30,
minWidth: "708px",
maxWidth: "708px",
width: "708px"
}
]
Expand All @@ -114,6 +120,8 @@ frameworks.forEach(framework => {
minRateDescription: "Not Satisfied",
maxRateDescription: "Completely satisfied",
renderAs: "dropdown",
minWidth: "708px",
maxWidth: "708px",
width: "708px"
}
]
Expand Down Expand Up @@ -148,6 +156,8 @@ frameworks.forEach(framework => {
"text": "third item"
}
],
minWidth: "708px",
maxWidth: "708px",
width: "708px"
}
]
Expand Down Expand Up @@ -246,6 +256,8 @@ frameworks.forEach(framework => {
rateMax: 5,
minRateDescription: "Not Satisfied",
maxRateDescription: "Completely satisfied",
minWidth: "708px",
maxWidth: "708px",
width: "708px"
}
]
Expand Down Expand Up @@ -283,6 +295,8 @@ frameworks.forEach(framework => {
rateMax: 5,
minRateDescription: "Not Satisfied",
maxRateDescription: "Completely satisfied",
minWidth: "708px",
maxWidth: "708px",
width: "708px",
defaultValue: 2,
readOnly: true
Expand Down Expand Up @@ -315,6 +329,8 @@ frameworks.forEach(framework => {
rateMax: 5,
minRateDescription: "Not Satisfied",
maxRateDescription: "Completely satisfied",
minWidth: "708px",
maxWidth: "708px",
width: "708px"
}
]
Expand All @@ -341,6 +357,8 @@ frameworks.forEach(framework => {
rateMax: 5,
minRateDescription: "Not Satisfied",
maxRateDescription: "Completely satisfied",
minWidth: "708px",
maxWidth: "708px",
width: "708px"
}
]
Expand Down Expand Up @@ -378,6 +396,8 @@ frameworks.forEach(framework => {
rateMax: 5,
minRateDescription: "Not Satisfied",
maxRateDescription: "Completely satisfied",
minWidth: "708px",
maxWidth: "708px",
width: "708px"
}
]
Expand Down Expand Up @@ -416,6 +436,8 @@ frameworks.forEach(framework => {
rateMax: 5,
minRateDescription: "Not Satisfied",
maxRateDescription: "Completely satisfied",
minWidth: "708px",
maxWidth: "708px",
width: "708px"
}
]
Expand Down Expand Up @@ -456,6 +478,8 @@ frameworks.forEach(framework => {
rateMax: 5,
minRateDescription: "Not Satisfied",
maxRateDescription: "Completely satisfied",
minWidth: "708px",
maxWidth: "708px",
width: "708px"
}
]
Expand Down Expand Up @@ -494,6 +518,8 @@ frameworks.forEach(framework => {
rateMax: 5,
minRateDescription: "Not Satisfied",
maxRateDescription: "Completely satisfied",
minWidth: "708px",
maxWidth: "708px",
width: "708px",
defaultValue: 2,
readOnly: true
Expand Down Expand Up @@ -522,6 +548,8 @@ frameworks.forEach(framework => {
rateMax: 5,
minRateDescription: "Not Satisfied",
maxRateDescription: "Completely satisfied",
minWidth: "708px",
maxWidth: "708px",
width: "708px",
isRequired: true
},
Expand All @@ -534,6 +562,8 @@ frameworks.forEach(framework => {
rateMax: 5,
minRateDescription: "Not Satisfied",
maxRateDescription: "Completely satisfied",
minWidth: "708px",
maxWidth: "708px",
width: "708px",
isRequired: true
}
Expand Down
2 changes: 2 additions & 0 deletions visualRegressionTests/tests/defaultV2/survey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -858,6 +858,8 @@ frameworks.forEach(framework => {
type: "panel",
name: "delivery_details",
title: "Please, specify the delivery details.",
minWidth: "708px",
maxWidth: "708px",
width: "708px",
elements: [
{
Expand Down

0 comments on commit 94ee98f

Please sign in to comment.