enonic / xp-ui-testing

Selenium tests for testing Enonic XP UI elements
3 stars 0 forks source link

Add selenium tests for 'move' of fragment #82

Closed sgauruseu closed 3 years ago

sgauruseu commented 7 years ago

Two scenarios: Move inside same site

  1. Add a site, insert a component and create fragment
  2. Crete a new folder in the site.
  3. Select the fragment and move it to the new folder.
  4. Open the fragment in the wizard

Move outside the site:

  1. Add a site, insert a component and create a fragment.
  2. Select the fragment, then move it to the root folder.
  3. Confirm move with Ok button.
  4. An error message appear saying it is not legal to move the fragment out of the site, and the Fragment is left exactly as it was before the command was issued.