MOBILE-4248 tests: Fix data basic_usage and entries tests

main
Alfonso Salces 2023-04-24 15:32:10 +02:00
parent 01561748d7
commit c36ba60480
2 changed files with 7 additions and 7 deletions

View File

@ -52,7 +52,7 @@ Feature: Users can manage entries in database activities
| URL | https://moodlecloud.com/ | | URL | https://moodlecloud.com/ |
| Description | Moodle Cloud | | Description | Moodle Cloud |
And I press "Save" near "Web links" in the app And I press "Save" near "Web links" in the app
And I press "More" near "Moodle community site" in the app And I press "Show more" near "Moodle community site" in the app
Then I should find "Moodle community site" in the app Then I should find "Moodle community site" in the app
And I should be able to press "Previous" in the app And I should be able to press "Previous" in the app
But I should not be able to press "Next" in the app But I should not be able to press "Next" in the app
@ -81,7 +81,7 @@ Feature: Users can manage entries in database activities
When I press "Web links" near "General" in the app When I press "Web links" near "General" in the app
Then "Edit" "link" should not exist Then "Edit" "link" should not exist
And "Delete" "link" should not exist And "Delete" "link" should not exist
And I press "More" in the app And I press "Show more" in the app
And "Edit" "link" should not exist And "Edit" "link" should not exist
And "Delete" "link" should not exist And "Delete" "link" should not exist
@ -122,7 +122,7 @@ Feature: Users can manage entries in database activities
And I press "Save" near "Web links" in the app And I press "Save" near "Web links" in the app
# Edit the entry from single view. # Edit the entry from single view.
When I press "More" in the app When I press "Show more" in the app
And I press "Edit" in the app And I press "Edit" in the app
And I set the following fields to these values in the app: And I set the following fields to these values in the app:
| URL | https://moodlecloud.com/ | | URL | https://moodlecloud.com/ |
@ -184,7 +184,7 @@ Feature: Users can manage entries in database activities
And I should not find "Moodle Cloud" in the app And I should not find "Moodle Cloud" in the app
# Edit the entry from single view. # Edit the entry from single view.
When I press "More" in the app When I press "Show more" in the app
And I should find "https://telegram.org/" in the app And I should find "https://telegram.org/" in the app
And I should find "Telegram" in the app And I should find "Telegram" in the app
And I press "Edit" in the app And I press "Edit" in the app

View File

@ -32,7 +32,7 @@ Feature: Test basic usage of comments in app
And I press "Add entries" in the app And I press "Add entries" in the app
And I set the field "Test field name" to "Test" in the app And I set the field "Test field name" to "Test" in the app
And I press "Save" in the app And I press "Save" in the app
And I press "More" in the app And I press "Show more" in the app
And I press "Comments (0)" in the app And I press "Comments (0)" in the app
And I set the field "Add a comment..." to "comment test teacher" in the app And I set the field "Add a comment..." to "comment test teacher" in the app
And I press "Send" in the app And I press "Send" in the app
@ -44,7 +44,7 @@ Feature: Test basic usage of comments in app
# Create and delete comments as a student # Create and delete comments as a student
Given I entered the data activity "Data" on course "Course 1" as "student1" in the app Given I entered the data activity "Data" on course "Course 1" as "student1" in the app
And I press "More" in the app And I press "Show more" in the app
And I press "Comments (1)" in the app And I press "Comments (1)" in the app
And I set the field "Add a comment..." to "comment test student" in the app And I set the field "Add a comment..." to "comment test student" in the app
And I press "Send" in the app And I press "Send" in the app
@ -69,7 +69,7 @@ Feature: Test basic usage of comments in app
And I press "Add entries" in the app And I press "Add entries" in the app
And I set the field "Test field name" to "Test" in the app And I set the field "Test field name" to "Test" in the app
And I press "Save" in the app And I press "Save" in the app
And I press "More" in the app And I press "Show more" in the app
And I press "Comments (0)" in the app And I press "Comments (0)" in the app
And I switch network connection to offline And I switch network connection to offline
And I set the field "Add a comment..." to "comment test" in the app And I set the field "Add a comment..." to "comment test" in the app