diff --git a/cypress/integration/rendering/flowchart-icon.spec.js b/cypress/integration/rendering/flowchart-icon.spec.js deleted file mode 100644 index be7dd7b70..000000000 --- a/cypress/integration/rendering/flowchart-icon.spec.js +++ /dev/null @@ -1,32 +0,0 @@ -import { imgSnapshotTest } from '../../helpers/util.ts'; - -const themes = ['default', 'forest', 'dark', 'base', 'neutral']; - -themes.forEach((theme, index) => { - describe('Flowchart Icon', () => { - it(`${index + 1}-icon: verify if icons are working from fontawesome library ${theme} theme`, () => { - imgSnapshotTest( - `flowchart TD - A("fab:fa-twitter Twitter") --> B("fab:fa-facebook Facebook") - B --> C("fa:fa-coffee Coffee") - C --> D("fa:fa-car Car") - D --> E("fab:fa-github GitHub") - `, - { theme } - ); - }); - }); -}); - -themes.forEach((theme, index) => { - describe('Flowchart Icon', () => { - it(`${index + 1}-icon: verify if registered icons are working on ${theme} theme`, () => { - imgSnapshotTest( - `flowchart TD - A("fa:fa-bell Bell") - `, - { theme } - ); - }); - }); -}); diff --git a/cypress/integration/rendering/flowchart-v2.spec.js b/cypress/integration/rendering/flowchart-v2.spec.js index 4444bbeb1..2e30d7a0c 100644 --- a/cypress/integration/rendering/flowchart-v2.spec.js +++ b/cypress/integration/rendering/flowchart-v2.spec.js @@ -86,7 +86,7 @@ describe('Flowchart v2', () => { B --> C{Let me think} C -->|One| D[Laptop] C -->|Two| E[iPhone] - C -->|Three| F[Car] + C -->|Three| F[fa:fa-car Car] `, { flowchart: { useMaxWidth: true } } ); @@ -109,7 +109,7 @@ describe('Flowchart v2', () => { B --> C{Let me think} C -->|One| D[Laptop] C -->|Two| E[iPhone] - C -->|Three| F[Car] + C -->|Three| F[fa:fa-car Car] `, { flowchart: { useMaxWidth: false } } );