Details
-
Task
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
-
Empty show more show less
-
Empty show more show less
Description
This is for the m4 release.
Key
Things to check
Things that did check out
Incorrect, not fixed yet
Incorrect, fixed, recheck
Can't be tested because of some other bug
History
- Iteration 1 tested on 5.3-beta1
Installation
- Installation on EE

Check name on installation screen "Magnolia Marketing Tags Manager"
Expand details, check messages make sense, check CE and EE install tasks
Check no installation screen errors
Check no console errors- Check that the configuration afterwards is properly modified

Check in Site Definition that /default/templates/prototype@templateScript equals /templating-kit/pages/main.ftl

Check exists /default/templates/prototype/areas/headerScripts
- createAreaNode = false
- modelClass = info.magnolia.module.templatingkit.templates.areas.ScriptsAreaModel
- templateScript = /templating-kit/pages/global/scriptsArea.ftl
- type = noComponent

Check exists /default/templates/prototype/areas/bodyBeginScripts
- extends = ../headerScripts

Check exists /default/templates/prototype/areas/bodyEndScripts
- extends = ../headerScripts

Check in Configuration /modules/standard-templating-kit/config/site/templates/prototype@templateScript equals /templating-kit/pages/main.ftl

Check exists /modules/standard-templating-kit/config/site/templates/prototype/areas/headerScripts
- createAreaNode = false
- modelClass = info.magnolia.module.templatingkit.templates.areas.ScriptsAreaModel
- templateScript = /templating-kit/pages/global/scriptsArea.ftl
- type = noComponent

Check exists /modules/standard-templating-kit/config/site/templates/prototype/areas/bodyBeginScripts
- extends = ../headerScripts

Check exists /modules/standard-templating-kit/config/site/templates/prototype/areas/bodyEndScripts
- extends = ../headerScripts
- Installation on CE

Check name on installation screen "Magnolia Marketing Tags Manager"
Expand details, check messages make sense, check CE install tasks
Check no installation screen errors
Check no console errors- Check that the configuration afterwards is properly modified

Check in Site Definition that /templates/prototype@templateScript equals /templating-kit/pages/main.ftl

Check exists /templates/prototype/areas/headerScripts
- createAreaNode = false
- modelClass = info.magnolia.module.templatingkit.templates.areas.ScriptsAreaModel
- templateScript = /templating-kit/pages/global/scriptsArea.ftl
- type = noComponent

Check exists /templates/prototype/areas/bodyBeginScripts
- extends = ../headerScripts

Check exists /templates/prototype/areas/bodyEndScripts
- extends = ../headerScripts
Basic Scenario/Sanity Check
- In EE, in Marketing Tags app, add t-header tag
- Name = t-header
- Active on author = true
- Location = header
- Content = <script>window.alert("Hello world!");</script>
- Pages = /demo-project/about, Insert in subpages = true AND /demo-project/news-and-events, Insert in subpages = false

See pop-up when opening Pages: /demo-project/about
See pop-up when opening Pages: /demo-project/about/history
See pop-up when opening Pages: /demo-project/news-and-events
See NO pop-up when opening Pages: /demo-project/news-and-events/events-overview
See NO pop-up when opening Pages: /demo-project
See NO pop-up when opening Pages: /demo-project/multimedia- Publish it to the public instance

On public instance, see pop-up when opening Pages: /demo-project/about
On public instance, see pop-up when opening Pages: /demo-project/about/history
On public instance, see pop-up when opening Pages: /demo-project/news-and-events
On public instance, see NO pop-up when opening Pages: /demo-project/news-and-events/events-overview
On public instance, see NO pop-up when opening Pages: /demo-project
On public instance, see NO pop-up when opening Pages: /demo-project/multimedia- Unpublish it to the public instance

On public instance, see NO pop-up when opening Pages: /demo-project/about
On public instance, see NO pop-up when opening Pages: /demo-project/about/history
On public instance, see NO pop-up when opening Pages: /demo-project/news-and-events
Tag Configuration
- Show on author

Turn option on and off and see that tag is inserted and not inserted on author
- Area of insertion

Make it header and see it is inserted in header
Make it beginning of body and see it is inserted in beginning of body
Make it end of body and see it is inserted in end of body
- Inherit in page or not

Make it inherit in page and see subpages get the tag
- Multiple pages

Make the page list for a tag contain multiple pages, and see it appears on each
- Multiple tags

Two tags on same page both by direct page listing works
Two tags on same page both by inheritance works
Two tags on same page, one by inheritance and one by direct listing works
Shell
- NOTE: Test on CE and EE

Open Tools group, should see Marketing Tags before the About Magnolia app

Note the name should be Marketing Tag_s_, with an s
Tree View Functionality
- NOTE: Test on CE and EE

Check columns include Name, Dashboard URL, Status, Modification date
Check columns appear in the order above
Check columns are right width on startup
Double click a tag, default action is edit
Can drag and drop into folders
List View Functionality
- NOTE: Test on CE and EE

Check columns include Name, Path, Dashboard URL, Status, Modification date
Check columns appear in the order above
Check columns are right width on startup
Search Functionality
- NOTE: Test on CE and EE

Search by name, check it can find one with matching name but not one without
Action Availability
- NOTE: Test on CE and EE
- NOTE: A nice trick to do this is to have two tabs open, one with the tested app, one with the Contacts app, and flip back and forth to make sure everything that should be the same are the same.
- When nothing is selected

Actionbar title is Tags
-----------
Add tag
Add folder
-----------
Import
-----------
Check icons for actions are appropriate and parallel Contacts
- When single/multiple tag is selected

Actionbar title is Tag
-----------
Add tag (disabled)
Delete tag (when multiple tags are selected, only the action is enabled.)
-----------
Edit tag
Rename tag
-----------
Publish
Unpublish
-----------
Export
-----------
Show versions
Restore versions
-----------
Show provider dashboard
-----------
Check everything is disabled except delete if multiple are selected
Check icons for actions are appropriate and parallel Contacts
- When single/multiple folder is selected

Actionbar title is Folder
-----------
Add tag
Add folder
Delete folder
-----------
Rename tag
-----------
Publish
Unpublish
-----------
Import
Export
-----------
Check everything is disabled except delete if multiple are selected
Check icons for actions are appropriate and parallel Contacts
- When single/multiple deleted tag is selected

Actionbar title is Deleted tag
-----------
Add tag (disabled)
Delete tag (disabled)
-----------
Edit tag (disabled)
Rename tag (disabled)
-----------
Publish deletion
Unpublish (disabled)
-----------
Export (disabled)
-----------
Restore previous version
-----------
Show provider dashboard (disabled)
-----------
Check everything is disabled if multiple are selected
Check icons for actions are appropriate and parallel Contacts
- When single/multiple deleted folder is selected

Actionbar title is Deleted folder
-----------
Add tag (disabled)
Add folder (disabled)
Delete folder (disabled)
-----------
Rename folder (disabled)
-----------
Publish deletion
Unpublish (disabled)
-----------
Export (disabled)
Import (disabled)
-----------
Restore previous version
-----------
Check everything is disabled if multiple are selected
Check icons for actions are appropriate and parallel Contacts
- When mix of tags and folders are selected
- NOTE: In 5.3-beta1, this is also broken for Contacts App

Actionbar title is Multiple items
-----------
Delete items
-----------
Publish (disabled)
Unpublish (disabled)
-----------
Export (disabled)
-----------
Check if includes deleted item, then everything is disabled
Action Execution
- NOTE: Test on CE and EE
- Navigate to dashboard

If no URL, then get warning message "The dashboard URL of the tag is not set"
URL does not have to start with http:// and still works
URL starting with http:// works
URL starting with https:// works
There is a spinner displayed as web site loads
Open dashboards for two different tags with same URLs, should open in different subapps
With two subapps open from the above, open dashboard for a tag should go to correct subapp
Title of subapp tab should be <tag-name> Dashboard
- Add tag

Should bring up the details dialog
Dialog name should be Edit tag
Dialog should have 3 tabs PROPERTIES, CONTENT, PAGES- First tab PROPERTIES

Name field is required
Dashboard URL field
Active on author checkbox, default unchecked
Tag location, which is required

Default option selected is header
Second option is beginning of the body
Third option is end of the body
- Second tab CONTENT

Single field Tag code
Field highlights JavaScript
- Third tab PAGES

Pages field
ADD PAGE button- For each line

Contains first a checkbox Insert in subpages, default unchecked
Then contains a text field with root / as default value, can be edited
Then contains a button CHOOSE... button
Then contains a trash icon
Deleting a line by clicking on the trash icon works
Clicking on CHOOSE... button brings up the page chooser dialog
Choosing a page in the chooser dialog inserts it into the text field
Clicking CHOOSE... again with valid path goes to the right place in the page tree in choose dialog
- NOTE: This is not working anywhere for 5.3-beta1

CANCEL does not save the changes
SAVE CHANGES does save the changes
- Edit tag

Pulls up same dialog as add
- Delete tag with confirmation

Shows confirmation
Marks with garbage can as deleted
Publish deletion with delete it from public and cause it to be removed from app
- Rename tag

Name field is required in the dialog
Rename reflected in names column
- Add folder

Adds a folder
- Delete folder with confirmation

Deletes the folder and all subitems, with a confirmation, has trash can next to folder and all subitems
Publishing causes folder to be deleted on public
- Rename folder

Rename reflected in names column
If empty value, then name is not changed
- Delete mixed items with confirmation
- NOTE: Can't be tested because of current bug that prevents action bar from appearing when different item types selected

Deleting items causes confirmation with items messages
both items to be deleted with trash can marking them
- Publish

Publish a tag and see that it shows up on public
- Unpublish

Unpublish a published tag and see that it disappears from public
- Export

Export a tag, make sure that XML file makes sense
- Import

Import an exported tag, make sure the old values are reproduced correctly
- Restore previous version

Delete a tag, then use restore to restore to version before delete
- Show versions
- NOTE: You can create a version by deleting the node and then restoring

Create several versions and view them using this
None of the fields in the dialog should be editable
- Restore version
- NOTE: You can create a version by deleting the node and then restoring

Create several versions and restore to old versions
Special Cases

When the page is assigned several times to the same tag, it should still only appear once on the page
When a tag is configured to be inserted on a page both directly and by inheritance, it only appears once
When a tag is configured to be inserted on a page by different inheritance, it only appears once
When the page path is empty, tag should not be inserted anywhere and there should be no error
When dashboard URL is incorrect, should show 404 in the subapp (It seems that it depends some others elements.)
When a tag content is empty, it does not cause an error on a page it is suppose to be inserted
Rename action but leave field empty when save, should not be able to do so because field is required
Checklists
Acceptance criteria
Attachments
Issue Links
- clones
-
MGNLTAGS-17 Write and perform black box tests for tags manager
-
- Closed
-