Minor - fix file to upload path when using behat

pull/2487/head
Julio 7 years ago
parent fe3f6740b3
commit 4dbfe4e8c6
  1. 2
      tests/behat/behat.yml
  2. 5
      tests/behat/features/toolGroup.feature

@ -9,7 +9,7 @@ default:
browser: chrome
default_session: selenium2
javascript_session: selenium2
files_path: "%paths.base%/../../web/"
files_path: "%paths.base%/../../public/"
suites:
default:
paths: ["%paths.base%/features"]

@ -62,7 +62,8 @@ Feature: Group tool
Then I follow "My folder in group"
Then I follow "Upload documents"
Then I follow "Upload (Simple)"
Then I attach the file "css/base.css" to "file"
# File path is located in behat.yml
Then I attach the file "build/css/base.css" to "file"
Then wait for the page to be loaded
Then I press "upload_submitDocument"
Then wait for the page to be loaded
@ -90,4 +91,4 @@ Feature: Group tool
Then I should see "My folder in group"
Then I follow "Delete"
And I confirm the popup
Then I should see "Document deleted"
Then I should see "Document deleted"

Loading…
Cancel
Save