From 19f02b9ea15211ae6bcd24b004a1803181c34382 Mon Sep 17 00:00:00 2001 From: Lazlo Westerhof Date: Thu, 17 Oct 2024 15:28:50 +0200 Subject: [PATCH] First delete then upload new, to ensure after running the tests there are still file format listst to use. --- tests/features/ui/ui_admin.feature | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/features/ui/ui_admin.feature b/tests/features/ui/ui_admin.feature index 00f6bbb55..28c6bebf4 100644 --- a/tests/features/ui/ui_admin.feature +++ b/tests/features/ui/ui_admin.feature @@ -114,11 +114,12 @@ Feature: Admin UI | functionaladminpriv | TemporaryTerms | - Scenario Outline: Admin user uploads new file format + Scenario Outline: Admin user deletes file format Given user is logged in When module "admin" is shown - And the user clicks the Upload file format list - Then the success message of uploading a file format list is shown + And the user selects the file format list to delete + And the user clicks the Delete file format list button + Then the success message for deleting the file format list is shown Examples: | user | filename | @@ -126,12 +127,11 @@ Feature: Admin UI | functionaladminpriv | DANS.json | - Scenario Outline: Admin user deletes file format + Scenario Outline: Admin user uploads new file format Given user is logged in When module "admin" is shown - And the user selects the file format list to delete - And the user clicks the Delete file format list button - Then the success message for deleting the file format list is shown + And the user clicks the Upload file format list + Then the success message of uploading a file format list is shown Examples: | user | filename |