Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor alteration to test check. #834

Merged
merged 1 commit into from
Nov 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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]+$/)
})
});
});
});