From ece40cdc54888c37b58576a6920f5f58f1910b36 Mon Sep 17 00:00:00 2001 From: knsv Date: Sun, 8 Sep 2019 00:33:56 -0700 Subject: [PATCH] #926 E2e test for issue --- e2e/spec/flowchart.spec.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/e2e/spec/flowchart.spec.js b/e2e/spec/flowchart.spec.js index f32151d88..2f6a39f8a 100644 --- a/e2e/spec/flowchart.spec.js +++ b/e2e/spec/flowchart.spec.js @@ -307,4 +307,19 @@ describe('Flowcart', () => { `, {}) }) + + fit('should render color of styled nodes', async () => { + await imgSnapshotTest(page, ` + graph LR + foo-->bar + + style foo fill:#F99,stroke-width:2px,stroke:#F0F + style bar fill:#999,color: #ffffff, stroke-width:10px,stroke:#0F0 + `, + { + listUrl: true, + listId: 'color' + logLevel: 0 + }) + }) })