Skip to content

Commit

Permalink
Merge pull request #138 from docusign/feature/fixes-for-selenium-tests
Browse files Browse the repository at this point in the history
Fixes for Selenium tests
  • Loading branch information
meihDS authored Dec 1, 2023
2 parents 40793a4 + d37e243 commit 0cebd56
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/click/views/eg004_list_clickwraps.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def clickwrap_list():
"example_done.html",
title=example["ExampleName"],
message="Results from the ClickWraps::getClickwraps method:",
json=json.dumps(json.dumps(results, default=str))
json=json.dumps(json.dumps(results, default=str).replace('\\"', '').replace("'", ""), default=str)
)


Expand Down
3 changes: 2 additions & 1 deletion app/static/assets/eg_03.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ let DS_EG = (function(){
return JSON.stringify(obj, null, 3)
.replace(/&/g, '&').replace(/\\"/g, '"')
.replace(/</g, '&lt;').replace(/>/g, '&gt;')
.replace(jsonLine, library.json.replacer);
.replace(jsonLine, library.json.replacer)
.replace(/"/g, '').replace(/\\n/g, '&#xA;');
},
prettyPrint2: function(obj) {
var jsonLine = /^( *)("[\w]+": )?("[^"]*"|[\w.+-]*)?([,[{])?$/mg
Expand Down

0 comments on commit 0cebd56

Please sign in to comment.