From b9b43d2f69c45a28a5ba7e3d9038adae69f37458 Mon Sep 17 00:00:00 2001 From: Caspar Neumann Date: Thu, 19 Oct 2023 16:07:06 +0200 Subject: [PATCH] first GivenWhenThen Proposal H5P Editor E2E Test --- cypress/e2e/topics/accessH5PEditor.feature | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 cypress/e2e/topics/accessH5PEditor.feature diff --git a/cypress/e2e/topics/accessH5PEditor.feature b/cypress/e2e/topics/accessH5PEditor.feature new file mode 100644 index 00000000..80551b52 --- /dev/null +++ b/cypress/e2e/topics/accessH5PEditor.feature @@ -0,0 +1,14 @@ +@release +Feature: To access the H5P editor as a teacher. + +As a teacher, I want to access the H5P Editor for a topic in my course to create learning content + +@stable_test +Scenario: Access H5P Editor for existing topic + Given I am logged in as a 'teacher_1' at 'thr' + When I go to the courses page + And I click on the existing course 'Mathe' + And I click on the existing topic 'Testthema' + And I enter click on the edit button + And I click on the H5P button + Then a new window with a H5P editor should open \ No newline at end of file