mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-11 09:53:24 +01:00
37 lines
1.3 KiB
JavaScript
37 lines
1.3 KiB
JavaScript
context('Topic suite', () => {
|
|
it('topic border', () => {
|
|
cy.visit('/iframe.html?args=&id=mindplot-topic--border-style&viewMode=story');
|
|
cy.matchImageSnapshot('topic-border');
|
|
});
|
|
|
|
it('topic style', () => {
|
|
cy.visit('/iframe.html?args=&id=mindplot-topic--font-style&viewMode=story');
|
|
cy.matchImageSnapshot('topic-style');
|
|
});
|
|
|
|
it('topic color', () => {
|
|
cy.visit('/iframe.html?args=&id=mindplot-topic--background-color&viewMode=story');
|
|
cy.matchImageSnapshot('topic-color');
|
|
});
|
|
it('topic note', () => {
|
|
cy.visit('/iframe.html?args=&id=mindplot-topic--note-feature&viewMode=story');
|
|
cy.matchImageSnapshot('topic-note');
|
|
});
|
|
it('topic link feature', () => {
|
|
cy.visit('/iframe.html?args=&id=mindplot-topic--link-feature&viewMode=story');
|
|
cy.matchImageSnapshot('topic-link-feature');
|
|
});
|
|
it('topic icon feature', () => {
|
|
cy.visit('/iframe.html?args=&id=mindplot-topic--icon-feature&viewMode=story');
|
|
cy.matchImageSnapshot('topic-icon-feature');
|
|
});
|
|
it('topic shape line', () => {
|
|
cy.visit('/iframe.html?args=&id=mindplot-topic--shape-line&viewMode=story');
|
|
cy.matchImageSnapshot('topic-shape-line');
|
|
});
|
|
it('topic ellipse line', () => {
|
|
cy.visit('/iframe.html?args=&id=mindplot-topic--shape-ellipse&viewMode=story');
|
|
cy.matchImageSnapshot('topic-shape-ellipse');
|
|
});
|
|
});
|