Skip to content

Commit

Permalink
Work for #4726 - Confirmation dialog is needed (reset button) - fixed…
Browse files Browse the repository at this point in the history
… u-test
  • Loading branch information
tsv2013 committed Oct 19, 2023
1 parent 617bbd3 commit fd6e089
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2183,6 +2183,6 @@ test("Reset theme action calls confitmation dialog", (): any => {
expect(questionBackgroundTransparency.value).toEqual(100);
expect(themeSurveyTab.currentThemeCssVariables["--sjs-editor-background"]).toBeUndefined();

expect(message).toBe("Do you want to reset theme customizations?");
expect(message).toBe("Do you really want to reset the theme? All your customizations will be lost.");
surveySettings.confirmActionAsync = originalCallback;
});

0 comments on commit fd6e089

Please sign in to comment.