Permalink
Browse files

MDL-47960 behat: fix my private files navigation

Caused by the my private files link being in user menu too..
  • Loading branch information...
danpoltawski authored and marinaglancy committed Oct 29, 2014
1 parent 4f82670 commit 6469803f68a8326791b824c809504a5182339c94
@@ -10,8 +10,7 @@ Feature: Recent files repository lists the recently used files
| fullname | shortname | category |
| Course 1 | C1 | 0 |
And I log in as "admin"
And I expand "My profile" node
And I follow "My private files"
And I navigate to "My private files" node in "My profile"
And I upload "lib/tests/fixtures/empty.txt" file to "Files" filemanager
And I upload "lib/tests/fixtures/upload_users.csv" file to "Files" filemanager
And I press "Save changes"
@@ -10,8 +10,7 @@ Feature: A selected file can be cancelled
| fullname | shortname | category |
| Course 1 | C1 | 0 |
And I log in as "admin"
And I expand "My profile" node
And I follow "My private files"
And I navigate to "My private files" node in "My profile"
And I upload "lib/tests/fixtures/empty.txt" file to "Files" filemanager
And I press "Save changes"
And I am on homepage
@@ -16,8 +16,7 @@ Feature: Create shortcuts
| user | course | role |
| teacher1 | C1 | editingteacher |
When I log in as "teacher1"
And I expand "My profile" node
And I follow "My private files"
And I navigate to "My private files" node in "My profile"
And I upload "lib/tests/fixtures/empty.txt" file to "Files" filemanager
Then I should see "empty.txt" in the "div.fp-content" "css_element"
And I press "Save changes"
@@ -7,8 +7,7 @@ Feature: Delete files and folders from the file manager
@javascript @_bug_phantomjs
Scenario: Delete a file and a folder
Given I log in as "admin"
And I expand "My profile" node
And I follow "My private files"
And I navigate to "My private files" node in "My profile"
And I upload "lib/tests/fixtures/empty.txt" file to "Files" filemanager
And I create "Delete me" folder in "Files" filemanager
And I press "Save changes"
@@ -16,8 +16,7 @@ Feature: Overwrite file feature
| user | course | role |
| teacher1 | C1 | editingteacher |
When I log in as "teacher1"
And I expand "My profile" node
And I follow "My private files"
And I navigate to "My private files" node in "My profile"
And I upload "lib/tests/fixtures/empty.txt" file to "Files" filemanager
Then I should see "1" elements in "Files" filemanager
And I upload and overwrite "lib/tests/fixtures/empty.txt" file to "Files" filemanager

0 comments on commit 6469803

Please sign in to comment.