From 436c3bbba9c893d136f6a0b0262a8eed8e9c767a Mon Sep 17 00:00:00 2001 From: Saptak Sengupta Date: Wed, 31 Jan 2018 15:44:47 +0530 Subject: [PATCH] Test: Fix functional test for deletion of collections and documents Update functional tests for journalist to expect a modal with the cancel and delete button and actions based on it rather than the previous confirmation alert. --- securedrop/journalist_templates/col.html | 12 ++-- securedrop/journalist_templates/index.html | 4 +- .../functional/journalist_navigation_steps.py | 72 +++++++++++++------ 3 files changed, 61 insertions(+), 27 deletions(-) diff --git a/securedrop/journalist_templates/col.html b/securedrop/journalist_templates/col.html index e06d79a3f4b..59ff81f5535 100644 --- a/securedrop/journalist_templates/col.html +++ b/securedrop/journalist_templates/col.html @@ -24,7 +24,9 @@

- {{ gettext('Delete Selected') }} + + {{ gettext('Delete Selected') }} +