Document toolboxDocument toolbox

Editor Test Matrix

The matrix below is to record testing against various document types. Not all tests need to be carried out against all document types or sub-types. The script suggests, where testing against some or multiple document type is advisable, this will also be dependent on the new/updated features in the release.

Out of Scope of this test

Creating Documents and inserting standard provisions

Inserting Document Rubrics, including Toc, Front/Back covers

PDF Generation and formatting

Dashboard or Project tab functionality

Document Compare

In Scope

All editor functionality, across one or more document types or subtypes:

  • UK/Scottish Bills

    • Public

    • Private

    • Private Members

    • Finance Resolutions

  • SI/SSIs

    • Orders

    • Regulations

  • LoDA - UK and/or Scottish

  • Amendment - UK and/or Official Lists

  • Church Measures

  • Within Quoted structures of any of the above document types

  • Other document types/sub-type are available, but not a priority for testing. This assumes no changes have specifically been made to these document types.

 

Function

Recommended Tests

  • Expected Outcomes

Documents Tested

Result

Test Notes

Function

Recommended Tests

  • Expected Outcomes

Documents Tested

Result

Test Notes

Upload or import a recent Document from http://Legislation.gov.uk

Various Doc types

  • Document available for Editing

  • No unexpected Doc check errors

 

 

 

Folding Provisions

One Document type

  • Can fold all and unfold all provisions

  • Can fold Individual provisions and unfold

 

 

 

Text Formatting

One Document type

  • Can format various combinations of Bold, Underline, Italic, super and subscript

  • Can format single words, multiple words at beginning and end of a provision, including around footnotes

 

 

 

Inserting Special Characters

One Document type

  • Can search for special characters

  • Quick links to recently user characters

  • Characters appear in the provision where the cursor is

 

 

 

Deleting provisions and other elements

One Document type

  • Can delete a single provision using the breadcrumb

  • Can delete a single provision using the structure view

  • Can Undo deletions

  • Can select multiple provisions using the structure view and delete them

  • Can Undo multiple deleted provisions

 

 

 

Managing J-Refs

One Document type

  • Insert J-Refs (do at least 3)

  • Cannot insert the same reference (error message generated)

  • J-Ref appears in Editor and Structure view

  • Generate PDF, showing J-Refs

  • Update J-Refs

  • Delete J-Refs

  • Delete all J-Refs

  • Undo (needed for x-ref testing)

 

 

 

Internal Cross References

One Document type

  • References typed correctly in are tagged

  • Can create using structure view

  • Can show/hide J-refs in x-ref in the Editor

  • Move a tagged section and update reference

  • Invalid references are highlighted

  • Can Ignore reference

 

 

 

External Cross References

tbc

 

 

 

Managing Origin Information

UK or Scottish Bills

  • Can insert Origin information

  • Can delete Origin information

  • Can create PDF showing origin information

 

 

 

Managing Footnotes

SI/SSIs

  • Insert a footnote

  • Edit a footnote

  • Delete a footnote

 

 

 

Citations (link tbc)

SI/SSIs

 

 

 

Marking money provisions

UK Bill

  • Mark as Money Provs

  • Can editor provision

  • Can unmark

 

 

 

Wrap and Unwrap

One or more Doc types

  • Can wrap into Parts, chapters, etc

    • Can unwrap

 

 

 

Splitting and Merging Provisions

One Document type + Quoted Structure

  • Can split provision

  • Can merge provisions

 

 

 

Moving Provisions, Tables and Amendments

One Doc type, amendment list and Quoted Structure

  • Move provisions using structure view

  • Test various levels

  • Test tables

  • Test Amendments

 

 

 

Converting provisions to/from Schedule

At least two Doc types, including Quoted Structure

  • Converting from body, new schedule is created

  • Converting from schedule, provision is created at the of the body

  • Converting last schedule removes the schedule container

 

 

 

Promote/Demote provisions

One Document type, including quoted structure

  • Demote and promote various element (also use keyboard shortcuts. The element and it’s siblings are changed accordingly

  • If last element, will be promoted to closing words

 

 

 

Renumbering Provisions

Lock/Unlock Numbering

Any Document type, also in a QS. To test legal numbering use SI / Rule.

  • Lock number (particularly if using legal numbering)

  • Renumber provision and/or whole document

  • Number, and following numbers are not changed

  • Insert new section and move some other

  • Renumber whole document - locks obtained on all provisions and the last provision number has increased.

 

 

 

Fragment locking, releasing locks and refreshing documents

Locking document fragments/multi-user editing (legislation.gov.uk)

One document type.

Needs a mini script (possible rewrite of manual)

 

 

 

Saving Snapshots

One document type

  • Snapshot appears under the ‘parent’ document

  • Has right name/timestamp

  • Can duplicate

  • Can open duplicate

 

 

 

Inserting and managing tables

One document type and Quoted Structure

  • Can insert a table

  • Can add/removes columns/rows

  • Can update table properties

  • Can delete the table

 

 

 

Inserting and Managing Images

One document type

  • Can insert image

  • Can resize image

  • Can delete image

 

 

 

Inserting and Managing Formulae

One document type

  • Can insert

  • Can edit (double-click)

  • Can delete

 

 

 

Copying Provisions between documents (Push/Pull)

One document type

(unable to suggest test steps, as feature is not working consistently).

 

 

 

Copying provision between multiple documents (Push/Pull)

One document type

(unable to suggest test steps, as feature is not working consistently).

 

 

 

Cut, Copy, Paste Provisions

One document type - Test in

  • Body

  • Tables

  • QS

  • Definitions

  • x-references

 

 

 

Smart Paste from Non-Lawmaker documents

One document type?

 

 

 

Managing Comments (Not in user manual?)

One document type

  • Add comments

  • Review comments

  • Edit comment

  • Reply to comment

  • Mark as done

  • Delete comment

 

 

 

Track Changes

One document type

  • Insert

  • Delete

  • Move (insert and deleted are tracked)

  • Can accept change

  • Can reject change

  • Can mark as done

  • Can reply to change

 

 

 

Progress Bars (tbc)

(Not in user manual?)

Changing in v17

 

 

 

Removing leading/trailing white spaces (Not in user manual?)

One Document type

  • Remove using Tools menu

  • Remove using Document Check

    • Check message for correct number of spaces removed