Skip to content

Commit 9d32cf5

Browse files
new top/bottom place for buttons only toolbars (#7750)
* removed unnecessary dependency * unused code removed * top small toolbar * layout * layout * externalLayerWrapper prop * fixed imports after rebase * fixed imports after rebase * rebase fixed * user-settings add reset button to "user-settings-panel". revert "debug.userSettingsVisible" on reset. * top toolbar layout * Updated snapshots (#7753) Co-authored-by: JulianWielga <[email protected]> * Updated snapshots (#7756) Co-authored-by: JulianWielga <[email protected]> * fixed sql alias usage highlight and test * Updated snapshots (#7772) Co-authored-by: JulianWielga <[email protected]> * Updated snapshots (#7775) Co-authored-by: JulianWielga <[email protected]> * Updated snapshots (#7777) Co-authored-by: JulianWielga <[email protected]> * test fixed * Updated snapshots (#7778) Co-authored-by: JulianWielga <[email protected]> * Updated snapshots (#7790) Co-authored-by: JulianWielga <[email protected]> * Updated snapshots (#7791) Co-authored-by: JulianWielga <[email protected]> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: JulianWielga <[email protected]>
1 parent c01b71f commit 9d32cf5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+503
-345
lines changed

designer/client/cypress/e2e/sqlEditor.cy.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,29 +7,27 @@ describe("Sql editor", () => {
77
});
88

99
after(() => {
10-
cy.deleteAllTestProcesses({ filter: seed });
10+
// cy.deleteAllTestProcesses({ filter: seed });
1111
});
1212

1313
it("should display colorfull sql code", () => {
1414
cy.visitNewProcess(seed, "withSqlEditor");
15-
cy.layoutScenario();
1615
cy.get("[model-id=sql-source]").should("be.visible").trigger("dblclick");
1716
cy.get("[data-testid=window]").should("be.visible");
17+
cy.get("#ace-editor").should("have.class", "tokenizer-working");
1818
cy.get("#ace-editor").should("not.have.class", "tokenizer-working");
19-
cy.wait(1000);
2019
cy.get("#ace-editor").parent().matchImage({ maxDiffThreshold });
2120
cy.get("[data-testid=window]").matchImage();
2221
});
2322

2423
it("should display advanced colors", () => {
2524
cy.viewport("macbook-15");
2625
cy.visitNewProcess(seed, "withSqlEditor2");
27-
cy.layoutScenario();
2826

2927
cy.wrap(["sql-source", "sql-source2", "sql-source3"]).each((name) => {
3028
cy.get(`[model-id=${name}]`).should("be.visible").trigger("dblclick");
29+
cy.get("#ace-editor").should("have.class", "tokenizer-working");
3130
cy.get("#ace-editor").should("not.have.class", "tokenizer-working");
32-
cy.wait(1000);
3331
cy.get("#ace-editor").parent().matchImage({ maxDiffThreshold });
3432
cy.get("[data-testid=window]")
3533
.contains(/^cancel$/i)

designer/client/cypress/e2e/suggester.cy.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,9 @@ describe("Expression suggester", () => {
3838
cy.visitNewProcess(seed, "variables");
3939
cy.get("[model-id=kafka-string]").trigger("dblclick");
4040
cy.get("[data-testid=window]").as("modal");
41-
cy.intercept("POST", "/api/nodes/*/validation", (request) => {
42-
if (request.body.nodeData.ref?.parameters[1]?.expression.expression == "#DATE.parseDat") {
43-
request.alias = "validation";
44-
}
45-
});
4641
cy.get("[title=Value]").next().find(".ace_editor").click().type("{selectall}#DATE.parseDat");
4742
// We wait for validation result to be sure that red message below the form field will be visible
48-
cy.wait("@validation").its("response.statusCode").should("eq", 200);
43+
cy.contains("Failed to parse expression").should("exist");
4944
cy.get(".ace_autocomplete").should("be.visible");
5045
cy.get("[data-testid=window]").matchImage();
5146
cy.get(".ace_editor .ace_tooltip").matchImage();

designer/client/package-lock.json

Lines changed: 0 additions & 41 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)