From 9f9774b142ebdfad2abc1f11ca2a2ae7fa763f39 Mon Sep 17 00:00:00 2001 From: Gavin Nishizawa Date: Tue, 20 Dec 2022 14:07:30 -0800 Subject: [PATCH] update tests --- .../elk_alignment/elk/board.exp.json | 48 +++++++++++++++---- .../elk_alignment/elk/sketch.exp.svg | 11 +---- .../connection_label/elk/board.exp.json | 6 ++- .../connection_label/elk/sketch.exp.svg | 4 +- .../arrowhead_labels/elk/board.exp.json | 6 ++- .../arrowhead_labels/elk/sketch.exp.svg | 8 ++-- .../testdata/stable/chaos1/elk/board.exp.json | 12 ++++- .../testdata/stable/chaos1/elk/sketch.exp.svg | 5 +- .../testdata/stable/chaos2/elk/board.exp.json | 48 +++++++++++++++---- .../testdata/stable/chaos2/elk/sketch.exp.svg | 11 +---- .../stable/font_colors/elk/board.exp.json | 6 ++- .../stable/font_colors/elk/sketch.exp.svg | 4 +- .../stable/font_sizes/elk/board.exp.json | 18 +++++-- .../stable/font_sizes/elk/sketch.exp.svg | 6 +-- .../stable/investigate/elk/board.exp.json | 36 +++++++++++--- .../stable/investigate/elk/sketch.exp.svg | 13 ++--- .../testdata/stable/latex/elk/board.exp.json | 6 ++- .../testdata/stable/latex/elk/sketch.exp.svg | 4 +- .../elk/board.exp.json | 36 +++++++++++--- .../elk/sketch.exp.svg | 9 +--- .../self-referencing/elk/board.exp.json | 6 ++- .../self-referencing/elk/sketch.exp.svg | 8 ++-- .../stable/stylish/elk/board.exp.json | 6 ++- .../stable/stylish/elk/sketch.exp.svg | 4 +- .../container_child_edge/elk/board.exp.json | 12 ++++- .../container_child_edge/elk/sketch.exp.svg | 5 +- .../todo/font_sizes_large/elk/board.exp.json | 24 ++++++++-- .../todo/font_sizes_large/elk/sketch.exp.svg | 11 ++--- .../todo/tall_edge_label/elk/board.exp.json | 6 ++- .../todo/tall_edge_label/elk/sketch.exp.svg | 4 +- 30 files changed, 268 insertions(+), 115 deletions(-) diff --git a/e2etests/testdata/regression/elk_alignment/elk/board.exp.json b/e2etests/testdata/regression/elk_alignment/elk/board.exp.json index f5e8e3e4a..676dc94db 100644 --- a/e2etests/testdata/regression/elk_alignment/elk/board.exp.json +++ b/e2etests/testdata/regression/elk_alignment/elk/board.exp.json @@ -585,8 +585,12 @@ "underline": false, "labelWidth": 67, "labelHeight": 26, - "labelPosition": "INSIDE_MIDDLE_CENTER", + "labelPosition": "", "labelPercentage": 0, + "labelTL": { + "x": 1052, + "y": 244 + }, "route": [ { "x": 1121, @@ -624,8 +628,12 @@ "underline": false, "labelWidth": 192, "labelHeight": 26, - "labelPosition": "INSIDE_MIDDLE_CENTER", + "labelPosition": "", "labelPercentage": 0, + "labelTL": { + "x": 927, + "y": 447 + }, "route": [ { "x": 1121, @@ -663,8 +671,12 @@ "underline": false, "labelWidth": 149, "labelHeight": 26, - "labelPosition": "INSIDE_MIDDLE_CENTER", + "labelPosition": "", "labelPercentage": 0, + "labelTL": { + "x": 970, + "y": 650 + }, "route": [ { "x": 1121, @@ -702,8 +714,12 @@ "underline": false, "labelWidth": 179, "labelHeight": 26, - "labelPosition": "INSIDE_MIDDLE_CENTER", + "labelPosition": "", "labelPercentage": 0, + "labelTL": { + "x": 940, + "y": 853 + }, "route": [ { "x": 1121, @@ -741,8 +757,12 @@ "underline": false, "labelWidth": 78, "labelHeight": 26, - "labelPosition": "INSIDE_MIDDLE_CENTER", + "labelPosition": "", "labelPercentage": 0, + "labelTL": { + "x": 1531, + "y": 407 + }, "route": [ { "x": 1611, @@ -780,8 +800,12 @@ "underline": false, "labelWidth": 153, "labelHeight": 106, - "labelPosition": "INSIDE_MIDDLE_CENTER", + "labelPosition": "", "labelPercentage": 0, + "labelTL": { + "x": 1456, + "y": 610 + }, "route": [ { "x": 1611, @@ -819,8 +843,12 @@ "underline": false, "labelWidth": 533, "labelHeight": 26, - "labelPosition": "INSIDE_MIDDLE_CENTER", + "labelPosition": "", "labelPercentage": 0, + "labelTL": { + "x": 87, + "y": 447 + }, "route": [ { "x": 622, @@ -858,8 +886,12 @@ "underline": false, "labelWidth": 31, "labelHeight": 26, - "labelPosition": "INSIDE_MIDDLE_CENTER", + "labelPosition": "", "labelPercentage": 0, + "labelTL": { + "x": 589, + "y": 650 + }, "route": [ { "x": 622, diff --git a/e2etests/testdata/regression/elk_alignment/elk/sketch.exp.svg b/e2etests/testdata/regression/elk_alignment/elk/sketch.exp.svg index 4b0877ba5..10db0fd6b 100644 --- a/e2etests/testdata/regression/elk_alignment/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/elk_alignment/elk/sketch.exp.svg @@ -18,16 +18,9 @@ width="2009" height="1299" viewBox="-88 -88 2009 1299">lambda-build.yamllambda-deploy.yamlapollo-deploy.yamlPush to main branchGitHub ActionsS3TerraformAWSManual TriggerGitHub ActionsAWSApollo RepoGitHub ActionsAWS TriggersBuilds zip and pushes it Pulls zip to deployChanges live lambdasLaunchesBuilds zippushes them to S3. Deploys lambdasusing TerraformTriggered manually/push to master test test test test test test testtest +lambda-build.yamllambda-deploy.yamlapollo-deploy.yamlPush to main branchGitHub ActionsS3TerraformAWSManual TriggerGitHub ActionsAWSApollo RepoGitHub ActionsAWS TriggersBuilds zip and pushes it Pulls zip to deployChanges live lambdasLaunchesBuilds zippushes them to S3. Deploys lambdasusing TerraformTriggered manually/push to master test test test test test test testtest - - - - - - - - + ab hello +ab hello - + ab To err is human, to moo bovine1* - - +ab To err is human, to moo bovine1* + + aaadddeeebbbccc111 222 +aaadddeeebbbccc111 222 - - + aabbllmm

nn

oocciikkdd

gg

hhjj

ee

-
ff1122 334455667788 +ff1122 334455667788 - - - - - - - - + alphabeta gamma +alphabeta gamma - + size XSsize Ssize Msize Lsize XLsize XXLsize XXXLcustom 8custom 12custom 18custom 21custom 64 custom 10custom 15custom 48 +size XSsize Ssize Msize Lsize XLsize XXLsize XXXLcustom 8custom 12custom 18custom 21custom 64 custom 10custom 15custom 48 - - - + aabbccddllffwwyynniijjkkssuurmeemmmmgghhzzooppqqrrttvvxxabac 123456 - - - - - - - +aabbccddllffwwyynniijjkkssuurmeemmmmgghhzzooppqqrrttvvxxabac 123456 + + mixed togethersugarsolution we get +mixed togethersugarsolution we get - + rootcontainerrootleftrightrootinnerrootinnerleftrightleftright to inner leftto inner rightto inner leftto inner rightto left container rootto right container root +rootcontainerrootleftrightrootinnerrootinnerleftrightleftright to inner leftto inner rightto inner leftto inner rightto left container rootto right container root - - - - - - + xyz hello - - +xyz hello + + containerfirstsecond 1->2c->2 +containerfirstsecond 1->2c->2 - - + eightsixteenthirty twosixty fourninety nine twelvetwenty fourforty eighteighty one - - - - - +eightsixteenthirty twosixty fourninety nine twelvetwenty fourforty eighteighty one + + ab Thereoncewasaverytalledgelabel +ab Thereoncewasaverytalledgelabel - +