test(integration): cleanup
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
describe('Custom Node Flow Rendering', () => {
|
||||
before(() => {
|
||||
cy.visit('/custom-node');
|
||||
});
|
||||
|
||||
it('renders initial flow', () => {
|
||||
cy.get('.react-flow__renderer');
|
||||
|
||||
cy.get('.react-flow__node').should('have.length', 4);
|
||||
cy.get('.react-flow__edge').should('have.length', 3);
|
||||
});
|
||||
});
|
||||
@@ -1,18 +0,0 @@
|
||||
describe('Overview Flow Rendering', () => {
|
||||
before(() => {
|
||||
cy.visit('/');
|
||||
});
|
||||
|
||||
it('renders a flow', () => {
|
||||
cy.get('.react-flow__renderer');
|
||||
cy.get('.react-flow__node').should('have.length', 7);
|
||||
cy.get('.react-flow__edge').should('have.length', 6);
|
||||
});
|
||||
|
||||
it('renders a grid', () => {
|
||||
cy.get('.react-flow__background');
|
||||
|
||||
const gridStroke = Cypress.$('.react-flow__background path').attr('fill');
|
||||
expect(gridStroke).to.equal('#888');
|
||||
});
|
||||
});
|
||||
@@ -1,11 +0,0 @@
|
||||
describe('Stress Flow Rendering', () => {
|
||||
before(() => {
|
||||
cy.visit('/stress');
|
||||
});
|
||||
|
||||
it('renders initial flow', () => {
|
||||
cy.get('.react-flow__renderer');
|
||||
cy.get('.react-flow__node').should('have.length', 100);
|
||||
cy.get('.react-flow__edge').should('have.length', 99);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user