Skip to content

Commit

Permalink
Test date is displayed on EYB card
Browse files Browse the repository at this point in the history
  • Loading branch information
swenban committed Dec 17, 2024
1 parent 63ab3e7 commit bb1c212
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ describe('EYB lead activity card', () => {
it('should render the labels and metadata', () => {
assertEYBLabel()
assertActivitySubject(COMPANY_NAME, PROJECT_URL, 'activity-card-wrapper')
cy.get('[data-test="activity-date"]').should('have.text', '02 Dec 2024')
cy.get('[data-test="activity-summary"]').should(
'have.text',
`An unknown-value EYB lead associated with this company has been added to Data Hub`
Expand All @@ -59,6 +60,7 @@ describe('EYB lead activity card', () => {
it('should render the labels and metadata', () => {
assertEYBLabel()
assertActivitySubject(COMPANY_NAME, PROJECT_URL, 'activity-card-wrapper')
cy.get('[data-test="activity-date"]').should('have.text', '02 Dec 2024')
cy.get('[data-test="activity-summary"]').should(
'have.text',
`A high-value EYB lead associated with this company has been added to Data Hub`
Expand All @@ -75,6 +77,7 @@ describe('EYB lead activity card', () => {
it('should render the labels and metadata', () => {
assertEYBLabel()
assertActivitySubject(COMPANY_NAME, PROJECT_URL, 'activity-card-wrapper')
cy.get('[data-test="activity-date"]').should('have.text', '02 Dec 2024')
cy.get('[data-test="activity-summary"]').should(
'have.text',
`A low-value EYB lead associated with this company has been added to Data Hub`
Expand Down

0 comments on commit bb1c212

Please sign in to comment.