Skip to content

Commit

Permalink
PI-2035: Added activity log
Browse files Browse the repository at this point in the history
  • Loading branch information
pmcphee77 committed Mar 27, 2024
1 parent 5b48ccc commit 69d4208
Showing 1 changed file with 0 additions and 36 deletions.
36 changes: 0 additions & 36 deletions integration_tests/e2e/activityLog.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,40 +26,4 @@ context('Appointment', () => {
page.getActivity('7').should('contain.text', 'Office appointment')
page.getActivity('8').should('contain.text', 'Video call')
})

it('Activity log page is rendered with without-outcome filter', () => {
cy.visit('/case/X000001/activity-log/national-standard-appointments-without-outcome')
const page = Page.verifyOnPage(ActivityLogPage)
page.getCardHeader('timeline1').should('contain.text', 'Waiting for evidence')
})
it('Activity log page is rendered with complied-appointments filter', () => {
cy.visit('/case/X000001/activity-log/complied-appointments')
const page = Page.verifyOnPage(ActivityLogPage)
page.getCardHeader('timeline1').should('contain.text', 'Complied')
})
it('Activity log page is rendered with failure to comply filter', () => {
cy.visit('/case/X000001/activity-log/all-failure-to-comply-appointments')
const page = Page.verifyOnPage(ActivityLogPage)
page.getCardHeader('timeline1').should('contain.text', 'Failed to comply')
})
it('Activity log page is rendered waiting-for-evidence filter', () => {
cy.visit('/case/X000001/activity-log/waiting-for-evidence')
const page = Page.verifyOnPage(ActivityLogPage)
page.getCardHeader('timeline1').should('contain.text', 'Waiting for evidence')
})
it('Activity log page is rendered with acceptable absence filter', () => {
cy.visit('/case/X000001/activity-log/acceptable-absence-appointments')
const page = Page.verifyOnPage(ActivityLogPage)
page.getCardHeader('timeline1').should('contain.text', 'Acceptable absence')
})
it('Activity log page is rendered with rescheduled filter', () => {
cy.visit('/case/X000001/activity-log/all-rescheduled')
const page = Page.verifyOnPage(ActivityLogPage)
page.getCardHeader('timeline1').should('contain.text', 'Rescheduled')
})
it('Activity log page is rendered with warning letter filter', () => {
cy.visit('/case/X000001/activity-log/warning-letters')
const page = Page.verifyOnPage(ActivityLogPage)
page.getRowData('timeline1', 'enforcement', 'Value').should('contain.text', 'Warning letter sent')
})
})

0 comments on commit 69d4208

Please sign in to comment.