mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
#926 E2e test for issue
This commit is contained in:
parent
65561b22c5
commit
ece40cdc54
@ -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
|
||||
})
|
||||
})
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user