Skip to content

Commit

Permalink
Merge pull request #1057 from cdapio/cherry-pick/6.9.2-CDAP-20727
Browse files Browse the repository at this point in the history
[Cherry Pick] 6.9.2-CDAP-20727
  • Loading branch information
sumengwang authored Jul 13, 2023
2 parents bd4d1ce + 3af544b commit 3498b7a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/hydrator/services/create/stores/config-store.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ class HydratorPlusPlusConfigStore {
_backendProperties: node._backendProperties,
},
information: node.information,
outputSchema: angular.isArray(node.outputSchema) ? node.outputSchema[0].schema : node.outputSchema,
outputSchema: node.outputSchema,
inputSchema: node.inputSchema
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,8 @@ public void draftShouldNotExist(String pipelineName) {

@Then("Generated runtime arguments should be empty")
public void checkRuntimeArgsEmpty() {
WaitHelper.waitForElementToBePresent(
By.cssSelector(Helper.getCssSelectorByDataTestId("generated-runtimeargs-count")));
Assert.assertTrue(Helper.locateElementByTestId("generated-runtimeargs-count").getText().charAt(0) == '0');
ElementHelper.clickOnElement(Helper.locateElementByTestId("generated-runtimeargs"));
List<WebElement> keys = Helper.locateElementsByTestId("runtimeargs-key");
Expand All @@ -209,6 +211,8 @@ public void checkRuntimeArgsEmpty() {

@Then("Generated runtime arguments should not be empty")
public void checkRuntimeArgsNotEmpty() {
WaitHelper.waitForElementToBePresent(
By.cssSelector(Helper.getCssSelectorByDataTestId("generated-runtimeargs-count")));
Assert.assertFalse(Helper.locateElementByTestId("generated-runtimeargs-count").getText().charAt(0) == '0');
ElementHelper.clickOnElement(Helper.locateElementByTestId("generated-runtimeargs"));
List<WebElement> keys = Helper.locateElementsByTestId("runtimeargs-key");
Expand Down

0 comments on commit 3498b7a

Please sign in to comment.