mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-11 01:43:23 +01:00
40 lines
1.5 KiB
JavaScript
40 lines
1.5 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');
|
|
});
|
|
it('topic none line', () => {
|
|
cy.visit('/iframe.html?args=&id=mindplot-topic--shape-none&viewMode=story');
|
|
cy.matchImageSnapshot('topic-shape-none');
|
|
});
|
|
}); |