Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Created a cypress test for Insert chart on Desktop writer
Change-Id: I1cd38fdcf1fa42257d75d02ecf4e2ccb1bd716fc
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
  • Loading branch information
Ezinnem authored and tzolnai committed Nov 2, 2020
1 parent f532a3f commit 4fc7b1a
Showing 1 changed file with 12 additions and 1 deletion.
Expand Up @@ -14,7 +14,7 @@ describe('Top toolbar tests.', function() {
afterEach(function() {
helper.afterAll(testFileName);
});

it('Apply highlight color.', function() {
cy.get('#tb_editbar_item_backcolor')
.click();
Expand Down Expand Up @@ -243,4 +243,15 @@ describe('Top toolbar tests.', function() {
.should('exist');
});

it('Insert chart.', function() {
cy.get('#toolbar-up .w2ui-scroll-right')
.click();

cy.get('#tb_editbar_item_insertobjectchart')
.click();

cy.get('.leaflet-pane.leaflet-overlay-pane svg g')
.should('exist');
});

});

0 comments on commit 4fc7b1a

Please sign in to comment.