mirror of
https://github.com/moodle/moodle.git
synced 2025-08-10 03:16:42 +02:00
MDL-63303 behat: Behat fixes
This commit is contained in:
parent
f42e85cc86
commit
705003beae
16 changed files with 28 additions and 28 deletions
|
@ -20,7 +20,7 @@ Feature: Contact the privacy officer
|
|||
And I should see "Contact the privacy officer"
|
||||
And I click on "Contact the privacy officer" "link"
|
||||
And I set the field "Message" to "Hello DPO!"
|
||||
And I press "Send"
|
||||
And I click on "Send" "button" in the "Contact the privacy officer" "dialogue"
|
||||
And I should see "Your request has been submitted to the privacy officer"
|
||||
And I click on "Data requests" "link"
|
||||
And I should see "Hello DPO!" in the "General inquiry" "table_row"
|
||||
|
|
|
@ -12,7 +12,7 @@ Feature: Manage data categories
|
|||
And I press "Add category"
|
||||
And I set the field "Name" to "Category 1"
|
||||
And I set the field "Description" to "Category 1 description"
|
||||
When I press "Save"
|
||||
When I click on "Save" "button" in the "Delete category" "button"
|
||||
Then I should see "Category 1" in the "List of data categories" "table"
|
||||
And I should see "Category 1 description" in the "Category 1" "table_row"
|
||||
|
||||
|
@ -30,5 +30,5 @@ Feature: Manage data categories
|
|||
And I choose "Delete" in the open action menu
|
||||
And I should see "Delete category"
|
||||
And I should see "Are you sure you want to delete the category 'Category 1'?"
|
||||
When I press "Delete"
|
||||
When I click on "Delete" "button" in the "Confirm" "button"
|
||||
Then I should not see "Category 1" in the "List of data categories" "table"
|
||||
|
|
|
@ -21,14 +21,14 @@ Feature: Manage data requests
|
|||
And I should see "Contact the privacy officer"
|
||||
And I click on "Contact the privacy officer" "link"
|
||||
And I set the field "Message" to "Hi PO! Can others access my information on your site?"
|
||||
And I press "Send"
|
||||
And I click on "Send" "button" in the "Contact the privacy officer" "dialogue"
|
||||
And I should see "Your request has been submitted to the privacy officer"
|
||||
And I log out
|
||||
And I log in as "student2"
|
||||
And I follow "Profile" in the user menu
|
||||
And I click on "Contact the privacy officer" "link"
|
||||
And I set the field "Message" to "Dear Mr. Privacy Officer, I'd like to know more about GDPR. Thanks!"
|
||||
And I press "Send"
|
||||
And I click on "Send" "button" in the "Contact the privacy officer" "dialogue"
|
||||
And I should see "Your request has been submitted to the privacy officer"
|
||||
And I log out
|
||||
When I log in as "admin"
|
||||
|
|
|
@ -52,5 +52,5 @@ Feature: Manage data storage purposes
|
|||
And I choose "Delete" in the open action menu
|
||||
And I should see "Delete purpose"
|
||||
And I should see "Are you sure you want to delete the purpose 'Purpose 1'?"
|
||||
When I press "Delete"
|
||||
When I click on "Delete" "button" in the "Confirm" "dialogue"
|
||||
Then I should not see "Purpose 1" in the "List of data purposes" "table"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue