From 92f22c6dbf871ced87e170a8005bbacbf76402d5 Mon Sep 17 00:00:00 2001 From: wcgunter Date: Tue, 24 Oct 2023 13:18:12 -0700 Subject: [PATCH] Update how initiator is loaded into aceeditor --- .../java/jpl/cws/test/integration/ui/InitiatorsTestIT.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cws-test/src/test/java/jpl/cws/test/integration/ui/InitiatorsTestIT.java b/cws-test/src/test/java/jpl/cws/test/integration/ui/InitiatorsTestIT.java index 74a74914..d82f25e0 100644 --- a/cws-test/src/test/java/jpl/cws/test/integration/ui/InitiatorsTestIT.java +++ b/cws-test/src/test/java/jpl/cws/test/integration/ui/InitiatorsTestIT.java @@ -120,7 +120,9 @@ public void runStartInitiatorTest() throws IOException { "", ""); - aceEditor.sendKeys(initiatorXML.replace(" ", "")); + //aceEditor.sendKeys(initiatorXML.replace(" ", "")); + //lets try and use the aceEditor api functions here and see if that solves it + js.executeScript("ace.edit('editorDiv').setValue(" + initiatorXML.replace(" ", "") + ");"); log.info("TEMP: " + initiatorXML); waitForElementID("saveXmlBtn"); log.info("Saving changes..");