test(props): add tests for basic props
This commit is contained in:
@@ -11,12 +11,10 @@ describe('Minimap Testing', () => {
|
||||
it('has same number of nodes as the pane', () => {
|
||||
const paneNodes = Cypress.$('.react-flow__node').length;
|
||||
|
||||
cy.wait(100);
|
||||
cy.wait(200);
|
||||
|
||||
const minimapNodes = Cypress.$('.react-flow__minimap-node').length;
|
||||
|
||||
cy.wait(100);
|
||||
|
||||
expect(paneNodes).equal(minimapNodes);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user