Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tests after https://github.com/surveyjs/survey-library/issues/9326 #6418

Merged
merged 1 commit into from
Jan 20, 2025

Fix tests after https://github.com/surveyjs/survey-library/issues/9326

10e641e
Select commit
Loading
Failed to load commit list.
Merged

Fix tests after https://github.com/surveyjs/survey-library/issues/9326 #6418

Fix tests after https://github.com/surveyjs/survey-library/issues/9326
10e641e
Select commit
Loading
Failed to load commit list.
Azure Pipelines / (PRs) Creator failed Jan 20, 2025 in 28m 36s

Build #20250120.1 had test failures

Details

Tests

  • 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

See this annotation in the file changed.

@azure-pipelines 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

See this annotation in the file changed.

@azure-pipelines 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

See this annotation in the file changed.

@azure-pipelines 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)