Skip to content

Commit

Permalink
udpated assertion text
Browse files Browse the repository at this point in the history
  • Loading branch information
“NandanAnantharamu” committed Dec 9, 2024
1 parent 5b6e15e commit 4f7f3d5
Showing 1 changed file with 4 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,24 +118,14 @@ describe(

EditorNavigation.SelectEntityByName("Button1", EntityType.Widget);
agHelper.GetNClick(locators._widgetInDeployed("buttonwidget"));
if (CURRENT_REPO === REPO.EE) {
agHelper.ValidateToastMessage(
'"jspdf" is undefined . Please fix JSObject2.genPDF.',
);
} else {
agHelper.ValidateToastMessage("jspdf is not defined");
}
agHelper.ValidateToastMessage(
'"jspdf" is undefined . Please fix JSObject2.genPDF.',
);

// Deploy
deployMode.DeployApp();
agHelper.GetNClick(locators._widgetInDeployed("buttonwidget"));
if (CURRENT_REPO === REPO.EE) {
agHelper.ValidateToastMessage(
'"jspdf" is undefined . Please fix JSObject2.genPDF.',
);
} else {
agHelper.WaitUntilToastDisappear("");
}
agHelper.WaitUntilToastDisappear("jspdf is not defined");
deployMode.NavigateBacktoEditor();
// Install jspdf and verify references are working
AppSidebar.navigate(AppSidebarButton.Libraries);
Expand Down

0 comments on commit 4f7f3d5

Please sign in to comment.