Skip to content

Commit

Permalink
fix cypress test
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanHolstien committed Feb 18, 2022
1 parent d908fbb commit 6850512
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions smoke-test/tests/cypress/cypress/integration/search/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@ describe('search', () => {

cy.contains('Add Term').click();

cy.focused().type('CypressTermLabeled');
cy.focused().type('CypressTerm');

cy.get('.ant-select-item-option-content').within(() => cy.contains('CypressNode.CypressTermLabeled').click({force: true}));
cy.get('.ant-select-item-option-content').within(() => cy.contains('CypressNode.CypressTerm').click({force: true}));

cy.get('[data-testid="add-tag-term-from-modal-btn"]').click({force: true});
cy.get('[data-testid="add-tag-term-from-modal-btn"]').should('not.exist');

cy.contains('CypressTermLabeled');
cy.contains('CypressTerm');
cy.visit('http://localhost:9002/search?query=cypress')
cy.contains('CypressTermlabeled')
cy.contains('CypressTerm')
});
})

0 comments on commit 6850512

Please sign in to comment.