Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
35b8710a
Commit
35b8710a
authored
Sep 17, 2015
by
Robert Lyon
Committed by
Gerrit Code Review
Sep 17, 2015
Browse files
Merge "Behat Test: Copy page popout (Bug 1361450)"
parents
0f4aab59
9476d0e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/behat/features/artefact/collections/copy_page_popout.feature
0 → 100644
View file @
35b8710a
@javascript
@core
@core_artefact
Feature
:
Previewing copy a page or collection
In order to use the pop out window on copy a page or collection
As an admin/user
I need to be able to click on the links
Background
:
Given the following "pages" exist
:
|
title
|
description
|
ownertype
|
ownername
|
|
As
Page
01
|
admins
page
01
|
admin
|
admin
|
|
As
Page
03
|
admins
page
03
|
admin
|
admin
|
Given the following "collections" exist
:
|
title
|
description
|
ownertype
|
ownername
|
pages
|
|
User
Col
01
|
My
collection
01
|
user
|
admin
|
As
Page
01,
As
Page
03
|
Scenario
:
Accessing the popup window in the Copy or page or collection (Bug 1361450)
Given
I log in as
"admin"
with password
"Password1"
And
I go to
"view/choosetemplate.php"
And
I follow
"User Col 01"
And
I should see
"User Col 01 by admin"
And
I press
"Close"
Then
I should not see
"User Col 01 by admin"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment