[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/editor/atto/plugins/media/tests/behat/ -> media.feature (source)

   1  @editor @editor_atto @atto @atto_media @_file_upload
   2  Feature: Add media to Atto
   3    To write rich text - I need to add media.
   4  
   5    @javascript
   6    Scenario: Insert some media
   7      Given I log in as "admin"
   8      And I follow "Manage private files..."
   9      And I upload "lib/editor/atto/tests/fixtures/moodle-logo.webm" file to "Files" filemanager
  10      And I click on "Save changes" "button"
  11      When I follow "Profile" in the user menu
  12      And I follow "Blog entries"
  13      And I follow "Add a new entry"
  14      And I set the field "Blog entry body" to "<p>Media test</p>"
  15      And I select the text in the "Blog entry body" Atto editor
  16      And I set the field "Entry title" to "The best video in the entire world (not really)"
  17      And I click on "Media" "button"
  18      And I click on "Browse repositories..." "button"
  19      And I click on "Private files" "link"
  20      And I click on "moodle-logo.webm" "link"
  21      And I click on "Select this file" "button"
  22      And I set the field "Enter name" to "It's the logo"
  23      And I click on "Insert media" "button"
  24      And I click on "Save changes" "button"
  25      Then "video" "css_element" should be visible
  26  


Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1