Skip to content

Commit

Permalink
Minor alteration to test check.
Browse files Browse the repository at this point in the history
  • Loading branch information
svogt0511 committed Nov 3, 2023
1 parent f661f48 commit 1ecbf1c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions cypress/e2e/organization_admin/info.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,13 @@ describe('ACCEPTANCE: ORGANIZATION_ADMIN | INFO', () => {
it.only('can see info when using capitalized identifier URL subdirectory', () => {
cy.visit('/providers/DATACITE');
cy.url().should('include', '/providers/DATACITE').then(() => {

cy.wait(waitTime3)
// Increase timeout because requests that return these totals can be slow.
cy.wait(waitTime3*2)
// Info page should be populated with non-zero graph data.
cy.get('.graphs > a').contains(/^[0-9]+$/).should('exist')
// Iterate over each element to test.
cy.get('.graphs > a').each(($el, index, $list) => {
expect($el.text()).to.match(/^[0-9]+$/)
})
});
});
});

0 comments on commit 1ecbf1c

Please sign in to comment.