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 + }) + }) })