diff --git a/site/gatsby-site/cypress/e2e/integration/classificationsEditor.cy.js b/site/gatsby-site/cypress/e2e/integration/classificationsEditor.cy.js index 023ad466a4..53def4334c 100644 --- a/site/gatsby-site/cypress/e2e/integration/classificationsEditor.cy.js +++ b/site/gatsby-site/cypress/e2e/integration/classificationsEditor.cy.js @@ -319,7 +319,7 @@ describe('Classifications Editor', () => { cy.contains('Select a taxonomy').click(); - cy.contains(namespace).click(); + cy.contains(new RegExp(`^${namespace}$`)).click(); cy.contains('Add').click();