From 1a4001d56e960e15d5543569ab2cfb1147454c53 Mon Sep 17 00:00:00 2001 From: Gavin Nishizawa Date: Thu, 5 Oct 2023 13:13:19 -0700 Subject: [PATCH] remove e2e test --- e2etests/regression_test.go | 1 - e2etests/testdata/files/var_in_glob.d2 | 11 - .../var_in_glob/dagre/board.exp.json | 260 ------------------ .../var_in_glob/dagre/sketch.exp.svg | 105 ------- .../regression/var_in_glob/elk/board.exp.json | 251 ----------------- .../regression/var_in_glob/elk/sketch.exp.svg | 105 ------- 6 files changed, 733 deletions(-) delete mode 100644 e2etests/testdata/files/var_in_glob.d2 delete mode 100644 e2etests/testdata/regression/var_in_glob/dagre/board.exp.json delete mode 100644 e2etests/testdata/regression/var_in_glob/dagre/sketch.exp.svg delete mode 100644 e2etests/testdata/regression/var_in_glob/elk/board.exp.json delete mode 100644 e2etests/testdata/regression/var_in_glob/elk/sketch.exp.svg diff --git a/e2etests/regression_test.go b/e2etests/regression_test.go index f8cb1be7e..2bbea307d 100644 --- a/e2etests/regression_test.go +++ b/e2etests/regression_test.go @@ -1047,7 +1047,6 @@ cf many required: { loadFromFile(t, "empty_nested_grid"), loadFromFile(t, "code_font_size"), loadFromFile(t, "disclaimer"), - loadFromFile(t, "var_in_glob"), } runa(t, tcs) diff --git a/e2etests/testdata/files/var_in_glob.d2 b/e2etests/testdata/files/var_in_glob.d2 deleted file mode 100644 index 45c7d6734..000000000 --- a/e2etests/testdata/files/var_in_glob.d2 +++ /dev/null @@ -1,11 +0,0 @@ -vars: { - v: { - ok - } -} - -x1 -> x2 - -x*: { - ...${v} -} diff --git a/e2etests/testdata/regression/var_in_glob/dagre/board.exp.json b/e2etests/testdata/regression/var_in_glob/dagre/board.exp.json deleted file mode 100644 index 5590e99c2..000000000 --- a/e2etests/testdata/regression/var_in_glob/dagre/board.exp.json +++ /dev/null @@ -1,260 +0,0 @@ -{ - "name": "", - "isFolderOnly": false, - "fontFamily": "SourceSansPro", - "shapes": [ - { - "id": "x1.ok", - "type": "rectangle", - "pos": { - "x": 40, - "y": 50 - }, - "width": 63, - "height": 66, - "opacity": 1, - "strokeDash": 0, - "strokeWidth": 2, - "borderRadius": 0, - "fill": "B5", - "stroke": "B1", - "shadow": false, - "3d": false, - "multiple": false, - "double-border": false, - "tooltip": "", - "link": "", - "icon": null, - "iconPosition": "", - "blend": false, - "fields": null, - "methods": null, - "columns": null, - "label": "ok", - "fontSize": 16, - "fontFamily": "DEFAULT", - "language": "", - "color": "N1", - "italic": false, - "bold": true, - "underline": false, - "labelWidth": 18, - "labelHeight": 21, - "labelPosition": "INSIDE_MIDDLE_CENTER", - "zIndex": 0, - "level": 2 - }, - { - "id": "x2.ok", - "type": "rectangle", - "pos": { - "x": 40, - "y": 316 - }, - "width": 63, - "height": 66, - "opacity": 1, - "strokeDash": 0, - "strokeWidth": 2, - "borderRadius": 0, - "fill": "B5", - "stroke": "B1", - "shadow": false, - "3d": false, - "multiple": false, - "double-border": false, - "tooltip": "", - "link": "", - "icon": null, - "iconPosition": "", - "blend": false, - "fields": null, - "methods": null, - "columns": null, - "label": "ok", - "fontSize": 16, - "fontFamily": "DEFAULT", - "language": "", - "color": "N1", - "italic": false, - "bold": true, - "underline": false, - "labelWidth": 18, - "labelHeight": 21, - "labelPosition": "INSIDE_MIDDLE_CENTER", - "zIndex": 0, - "level": 2 - }, - { - "id": "x1", - "type": "rectangle", - "pos": { - "x": 10, - "y": 20 - }, - "width": 123, - "height": 126, - "opacity": 1, - "strokeDash": 0, - "strokeWidth": 2, - "borderRadius": 0, - "fill": "B4", - "stroke": "B1", - "shadow": false, - "3d": false, - "multiple": false, - "double-border": false, - "tooltip": "", - "link": "", - "icon": null, - "iconPosition": "", - "blend": false, - "fields": null, - "methods": null, - "columns": null, - "label": "x1", - "fontSize": 28, - "fontFamily": "DEFAULT", - "language": "", - "color": "N1", - "italic": false, - "bold": false, - "underline": false, - "labelWidth": 26, - "labelHeight": 36, - "labelPosition": "OUTSIDE_TOP_CENTER", - "zIndex": 0, - "level": 1 - }, - { - "id": "x2", - "type": "rectangle", - "pos": { - "x": 10, - "y": 286 - }, - "width": 123, - "height": 126, - "opacity": 1, - "strokeDash": 0, - "strokeWidth": 2, - "borderRadius": 0, - "fill": "B4", - "stroke": "B1", - "shadow": false, - "3d": false, - "multiple": false, - "double-border": false, - "tooltip": "", - "link": "", - "icon": null, - "iconPosition": "", - "blend": false, - "fields": null, - "methods": null, - "columns": null, - "label": "x2", - "fontSize": 28, - "fontFamily": "DEFAULT", - "language": "", - "color": "N1", - "italic": false, - "bold": false, - "underline": false, - "labelWidth": 26, - "labelHeight": 36, - "labelPosition": "OUTSIDE_TOP_CENTER", - "zIndex": 0, - "level": 1 - } - ], - "connections": [ - { - "id": "(x1 -> x2)[0]", - "src": "x1", - "srcArrow": "none", - "dst": "x2", - "dstArrow": "triangle", - "opacity": 1, - "strokeDash": 0, - "strokeWidth": 2, - "stroke": "B1", - "borderRadius": 10, - "label": "", - "fontSize": 16, - "fontFamily": "DEFAULT", - "language": "", - "color": "N2", - "italic": true, - "bold": false, - "underline": false, - "labelWidth": 0, - "labelHeight": 0, - "labelPosition": "", - "labelPercentage": 0, - "route": [ - { - "x": 71.5, - "y": 146 - }, - { - "x": 71.5, - "y": 202 - }, - { - "x": 71.5, - "y": 221.8000030517578 - }, - { - "x": 71.5, - "y": 245 - } - ], - "isCurve": true, - "animated": false, - "tooltip": "", - "icon": null, - "zIndex": 0 - } - ], - "root": { - "id": "", - "type": "", - "pos": { - "x": 0, - "y": 0 - }, - "width": 0, - "height": 0, - "opacity": 0, - "strokeDash": 0, - "strokeWidth": 0, - "borderRadius": 0, - "fill": "N7", - "stroke": "", - "shadow": false, - "3d": false, - "multiple": false, - "double-border": false, - "tooltip": "", - "link": "", - "icon": null, - "iconPosition": "", - "blend": false, - "fields": null, - "methods": null, - "columns": null, - "label": "", - "fontSize": 0, - "fontFamily": "", - "language": "", - "color": "", - "italic": false, - "bold": false, - "underline": false, - "labelWidth": 0, - "labelHeight": 0, - "zIndex": 0, - "level": 0 - } -} diff --git a/e2etests/testdata/regression/var_in_glob/dagre/sketch.exp.svg b/e2etests/testdata/regression/var_in_glob/dagre/sketch.exp.svg deleted file mode 100644 index d4fb2880e..000000000 --- a/e2etests/testdata/regression/var_in_glob/dagre/sketch.exp.svg +++ /dev/null @@ -1,105 +0,0 @@ -x1x2okok - - - - - - \ No newline at end of file diff --git a/e2etests/testdata/regression/var_in_glob/elk/board.exp.json b/e2etests/testdata/regression/var_in_glob/elk/board.exp.json deleted file mode 100644 index 6d4d405d2..000000000 --- a/e2etests/testdata/regression/var_in_glob/elk/board.exp.json +++ /dev/null @@ -1,251 +0,0 @@ -{ - "name": "", - "isFolderOnly": false, - "fontFamily": "SourceSansPro", - "shapes": [ - { - "id": "x1.ok", - "type": "rectangle", - "pos": { - "x": 62, - "y": 62 - }, - "width": 63, - "height": 66, - "opacity": 1, - "strokeDash": 0, - "strokeWidth": 2, - "borderRadius": 0, - "fill": "B5", - "stroke": "B1", - "shadow": false, - "3d": false, - "multiple": false, - "double-border": false, - "tooltip": "", - "link": "", - "icon": null, - "iconPosition": "", - "blend": false, - "fields": null, - "methods": null, - "columns": null, - "label": "ok", - "fontSize": 16, - "fontFamily": "DEFAULT", - "language": "", - "color": "N1", - "italic": false, - "bold": true, - "underline": false, - "labelWidth": 18, - "labelHeight": 21, - "labelPosition": "INSIDE_MIDDLE_CENTER", - "zIndex": 0, - "level": 2 - }, - { - "id": "x2.ok", - "type": "rectangle", - "pos": { - "x": 62, - "y": 298 - }, - "width": 63, - "height": 66, - "opacity": 1, - "strokeDash": 0, - "strokeWidth": 2, - "borderRadius": 0, - "fill": "B5", - "stroke": "B1", - "shadow": false, - "3d": false, - "multiple": false, - "double-border": false, - "tooltip": "", - "link": "", - "icon": null, - "iconPosition": "", - "blend": false, - "fields": null, - "methods": null, - "columns": null, - "label": "ok", - "fontSize": 16, - "fontFamily": "DEFAULT", - "language": "", - "color": "N1", - "italic": false, - "bold": true, - "underline": false, - "labelWidth": 18, - "labelHeight": 21, - "labelPosition": "INSIDE_MIDDLE_CENTER", - "zIndex": 0, - "level": 2 - }, - { - "id": "x1", - "type": "rectangle", - "pos": { - "x": 12, - "y": 12 - }, - "width": 163, - "height": 166, - "opacity": 1, - "strokeDash": 0, - "strokeWidth": 2, - "borderRadius": 0, - "fill": "B4", - "stroke": "B1", - "shadow": false, - "3d": false, - "multiple": false, - "double-border": false, - "tooltip": "", - "link": "", - "icon": null, - "iconPosition": "", - "blend": false, - "fields": null, - "methods": null, - "columns": null, - "label": "x1", - "fontSize": 28, - "fontFamily": "DEFAULT", - "language": "", - "color": "N1", - "italic": false, - "bold": false, - "underline": false, - "labelWidth": 26, - "labelHeight": 36, - "labelPosition": "INSIDE_TOP_CENTER", - "zIndex": 0, - "level": 1 - }, - { - "id": "x2", - "type": "rectangle", - "pos": { - "x": 12, - "y": 248 - }, - "width": 163, - "height": 166, - "opacity": 1, - "strokeDash": 0, - "strokeWidth": 2, - "borderRadius": 0, - "fill": "B4", - "stroke": "B1", - "shadow": false, - "3d": false, - "multiple": false, - "double-border": false, - "tooltip": "", - "link": "", - "icon": null, - "iconPosition": "", - "blend": false, - "fields": null, - "methods": null, - "columns": null, - "label": "x2", - "fontSize": 28, - "fontFamily": "DEFAULT", - "language": "", - "color": "N1", - "italic": false, - "bold": false, - "underline": false, - "labelWidth": 26, - "labelHeight": 36, - "labelPosition": "INSIDE_TOP_CENTER", - "zIndex": 0, - "level": 1 - } - ], - "connections": [ - { - "id": "(x1 -> x2)[0]", - "src": "x1", - "srcArrow": "none", - "dst": "x2", - "dstArrow": "triangle", - "opacity": 1, - "strokeDash": 0, - "strokeWidth": 2, - "stroke": "B1", - "borderRadius": 10, - "label": "", - "fontSize": 16, - "fontFamily": "DEFAULT", - "language": "", - "color": "N2", - "italic": true, - "bold": false, - "underline": false, - "labelWidth": 0, - "labelHeight": 0, - "labelPosition": "", - "labelPercentage": 0, - "route": [ - { - "x": 93.5, - "y": 178 - }, - { - "x": 93.5, - "y": 248 - } - ], - "animated": false, - "tooltip": "", - "icon": null, - "zIndex": 0 - } - ], - "root": { - "id": "", - "type": "", - "pos": { - "x": 0, - "y": 0 - }, - "width": 0, - "height": 0, - "opacity": 0, - "strokeDash": 0, - "strokeWidth": 0, - "borderRadius": 0, - "fill": "N7", - "stroke": "", - "shadow": false, - "3d": false, - "multiple": false, - "double-border": false, - "tooltip": "", - "link": "", - "icon": null, - "iconPosition": "", - "blend": false, - "fields": null, - "methods": null, - "columns": null, - "label": "", - "fontSize": 0, - "fontFamily": "", - "language": "", - "color": "", - "italic": false, - "bold": false, - "underline": false, - "labelWidth": 0, - "labelHeight": 0, - "zIndex": 0, - "level": 0 - } -} diff --git a/e2etests/testdata/regression/var_in_glob/elk/sketch.exp.svg b/e2etests/testdata/regression/var_in_glob/elk/sketch.exp.svg deleted file mode 100644 index 6ac36d93a..000000000 --- a/e2etests/testdata/regression/var_in_glob/elk/sketch.exp.svg +++ /dev/null @@ -1,105 +0,0 @@ -x1x2okok - - - - - - \ No newline at end of file