Combine scheduled and already-sent jobs

I’m hoping that if I can design something that clearly differentiates
them then we won’t need to do so by putting them in separate tables,
which then need labelling, which would clutter up the page.
This commit is contained in:
Chris Hill-Scott
2020-02-27 10:49:23 +00:00
parent 0d4c97e64a
commit eed5e0fdd7
4 changed files with 20 additions and 10 deletions

View File

@@ -643,15 +643,15 @@ def test_uploads_page_shows_scheduled_jobs(
normalize_spaces(row.text) for row in page.select('tr')
] == [
(
'File Messages to be sent'
'File Sending Delivered Failed'
),
(
'send_me_later.csv '
'Sending 1 January 2016 at 11:09am 1'
'Sent 1 January 2016 at 11:09am 0 0 0'
),
(
'even_later.csv '
'Sending 1 January 2016 at 11:09pm 1'
'Sent 1 January 2016 at 11:09pm 0 0 0'
),
]
assert not page.select('.table-empty-message')