From 89200853d990e0c4782173d12cb23d02c759f681 Mon Sep 17 00:00:00 2001 From: mike cullerton Date: Fri, 12 Aug 2022 12:52:24 -0400 Subject: [PATCH] Simplified test. Spacing changed after moving messagePayload to message, so test failed. --- test/spec/MessagesSpec.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/test/spec/MessagesSpec.js b/test/spec/MessagesSpec.js index 5e4c74c..ed8da69 100644 --- a/test/spec/MessagesSpec.js +++ b/test/spec/MessagesSpec.js @@ -74,11 +74,7 @@ describe('Messages should work', function() { let textArea = findTextarea('bio-properties-panel-messagePayload', payload); expect(textArea, "Can't find the payload textarea").to.exist; expect(textArea.value, "Can't find payload value").to.exist; - expect(textArea.value).to.equal("\n" + - " {\n" + - " 'to': { 'name': my_lover_variable }\n" + - " }\n" + - " "); + expect(textArea.value).to.include("'to': { 'name': my_lover_variable }"); }); it('should show the correlations inside the message group',async function() {