Fix tests after https://github.com/surveyjs/survey-library/issues/9326 #6418
Azure Pipelines / (PRs) Creator
failed
Jan 20, 2025 in 28m 36s
Build #20250120.1 had test failures
Details
- Failed: 2 (0.13%)
- Passed: 1,493 (99.80%)
- Other: 1 (0.07%)
- Total: 1,496
Annotations
Check failure on line 503 in Build log
azure-pipelines / (PRs) Creator
Build log #L503
Bash exited with code '1'.
Check failure on line 1 in We should not have 'Others' category in our objects
azure-pipelines / (PRs) Creator
We should not have 'Others' category in our objects
Test failed
Raw output
● We should not have 'Others' category in our objects
expect(received).toBeFalsy()
Received: "obj: paneldynamic, properties: [\"panelAddText\",\"panelRemoveText\",\"panelPrevText\",\"panelNextText\",\"panelRemoveButtonLocation\"]"
2503 | }
2504 | if (JSON.stringify(questionNames) !== "[\"width\"]") { // for some reasons in composite questions (paneldynamic) we have the width property here but it doesn't appear in PG UI
> 2505 | expect("obj: " + objToCheck[i].getType() + ", properties: " + JSON.stringify(questionNames)).toBeFalsy();
| ^
2506 | }
2507 | }
2508 | }
at Object.<anonymous> (tests/property-grid/property-grid.tests.ts:2505:102)
Check failure on line 1 in Check text for add panel button
azure-pipelines / (PRs) Creator
Check text for add panel button
Test failed
Raw output
● Check text for add panel button
expect(received).toEqual(expected) // deep equality
Expected: "Add Condition"
Received: undefined
1365 | new QuestionTextModel("q1")
1366 | );
> 1367 | expect(editor.panel.addPanelText).toEqual("Add Condition");
| ^
1368 | });
1369 | test("Show rating/ranking in new line", () => {
1370 | var survey = new SurveyModel({
at Object.<anonymous> (tests/property-grid/condition-survey.tests.ts:1367:37)
Loading