Skip to content

Commit 6b2c5f3

Browse files
authored
Merge pull request #918 from datacite/y2k
Y2k-type bug in test
2 parents 2ce6986 + 10fb90e commit 6b2c5f3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

cypress/e2e/consortium_admin/info.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -202,13 +202,13 @@ describe('ACCEPTANCE: CONSORTIUM_ADMIN | INFO', () => {
202202
});
203203
});
204204

205-
it('can see info when using capitalized identifier URL subdirectory', () => {
205+
it('can see info page when using capitalized identifier URL subdirectory', () => {
206206
cy.visit('/providers/DC');
207207
cy.url().should('include', '/providers/DC').then(() => {
208208

209209
cy.wait(waitTime3)
210-
// Info page should be populated with non-zero graph data.
211-
cy.get('.graphs > a').contains(/^0$/).should('not.exist')
210+
// Info page should be populated with 3 graphs.
211+
cy.get('.graphs > a').should('have.length', 3)
212212
});
213213
});
214214
});

0 commit comments

Comments
 (0)