Copy a page or collection directly from its location via the "Copy" button on the page (not via the "Copy" button on "Pages and Collections").
Behat test for both single page and collection with multiple pages covering the options there.
For collections create the base test:
Don't edit collection settings
Leave all pages in the collection that you copied and don't add others.
Reviewed: https:/ /reviews. mahara. org/8458 /git.mahara. org/mahara/ mahara/ commit/ c9bef8c6c4e0c5f 1ff2f0fe3eb567c a362161f3a
Committed: https:/
Submitter: Robert Lyon (<email address hidden>)
Branch: master
commit c9bef8c6c4e0c5f 1ff2f0fe3eb567c a362161f3a
Author: Niranjan Bandi <email address hidden>
Date: Fri Jan 19 13:56:54 2018 +1300
Bug 1743933: Copy a page and collection directly
-Made the changes according to the code review.
Copy a page or collection directly from its location via the "Copy" button on the page (not via the "Copy" button on "Pages and Collections").
Behat test for both single page and collection with multiple pages covering the options there.
For collections create the base test:
Don't edit collection settings
Leave all pages in the collection that you copied and don't add others.
Change-Id: Ia6f464fb1cf6bd 5424cd395636242 c4e07f02322