mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-25 07:47:55 +01:00
Minor test change.
This commit is contained in:
parent
804f48b756
commit
63a91858e6
@ -9,7 +9,7 @@ context('Change Topic shape', () => {
|
|||||||
cy.get(`[aria-label="Topic Style"]`).trigger('mouseover');
|
cy.get(`[aria-label="Topic Style"]`).trigger('mouseover');
|
||||||
cy.get(`[aria-label="Rectangle shape"]`).click();
|
cy.get(`[aria-label="Rectangle shape"]`).click();
|
||||||
|
|
||||||
cy.get('[test-id=11] > rect').eq(1).invoke('attr', 'rx').should('eq', '0.0');
|
cy.get('[test-id=11] > rect').eq(1).invoke('attr', 'rx').then(parseInt).should('be.a', 'number').should('eq', 0);
|
||||||
|
|
||||||
cy.matchImageSnapshot('changeToSquareShape');
|
cy.matchImageSnapshot('changeToSquareShape');
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user