Summary
The invest button should only be visible on invoices in the published state. Unit tests should confirm the button is hidden for expired, settled, funded, and draft states and that the correct message is shown in its place.
Scope
- Test
published state shows the invest button
- Test
expired state hides the invest button and shows 'This invoice has expired'
- Test
settled state hides the invest button and shows 'This invoice has been settled'
- Test
funded state hides the invest button and shows 'This invoice is fully funded'
- Test
draft state hides the invest button with no replacement message (draft not publicly visible)
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
The invest button should only be visible on invoices in the
publishedstate. Unit tests should confirm the button is hidden forexpired,settled,funded, anddraftstates and that the correct message is shown in its place.Scope
publishedstate shows the invest buttonexpiredstate hides the invest button and shows 'This invoice has expired'settledstate hides the invest button and shows 'This invoice has been settled'fundedstate hides the invest button and shows 'This invoice is fully funded'draftstate hides the invest button with no replacement message (draft not publicly visible)Acceptance Criteria
publishedinvoicesETA: 12 hours
Coordinate on Telegram