Document toolboxDocument toolbox

[WIP] Editor Test Matrix [EH Testing]

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

Scottish Bill

Pass

 

Folding Provisions

One Document type

  • Can fold all and unfold all provisions

  • Can fold Individual provisions and unfold

Scottish Bill

Pass

 

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

Scottish Bill

Pass

 

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

Scottish Bill

Pass

 

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

Scottish Bill

Pass

 

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)

Scottish Bill

Pass

Updated user manual

Created Feature request to remove warning from Delete All

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

Scottish Bill

Pass

 

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

Pass

 

 

Managing Footnotes

SI/SSIs

  • Insert a footnote

  • Edit a footnote

  • Delete a footnote

SI Regulation

Pass

 

Citations (link tbc)

SI/SSIs

 

 

 

Marking money provisions

UK Bill

  • Mark as Money Provs

  • Can editor provision

  • Can unmark

UK Public Bill

Pass

 

Wrap and Unwrap

One or more Doc types

  • Can wrap into Parts, chapters, etc

    • Can unwrap

Scottish Bill

Pass

 

Splitting and Merging Provisions

One Document type + Quoted Structure

  • Can split provision

  • Can merge provisions

Scottish Bill, incl QS

Pass

Cannot split formatted text (e: Bold)

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

Scottish Bill, incl QS

Pass

Not tested 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

Scottish Bill, incl QS

Pass

 

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

Scottish Bill, incl QS

Pass

View, but not cursor, changes position on promote (but not consistently)

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.

Scottish Bill, incl QS

SI / Rule

Pass

View, but not cursor, changes position on promote (but not consistently)

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

SI / Rule

Pass

 

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

Scottish Bill

Pass

Inserting table cause view to move, so table is at bottom of the screen (already got ticket for this?)

Inserting and Managing Images

One document type

  • Can insert image

  • Can resize image

  • Can delete image

 

Fail

Dev ticket - https://legi-project.teratext.leidos.com.au/jira/browse/LDAPP-4493

Inserting and Managing Formulae

One document type

  • Can insert

  • Can edit (double-click)

  • Can delete

Scottish Bill

Pass

 

Copying Provisions between documents (Push/Pull)

One document type

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

Scottish Bill

?

May need PRB10000956 to be resolved before further testing.

Copying provision between multiple documents (Push/Pull)

One document type

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

 

 

May need PRB10000956 to be resolved before further testing.

Cut, Copy, Paste Provisions

One document type - Test in

  • Body

  • Tables

  • QS

  • Definitions

  • x-references

Scottish Bill

Pass

 

Smart Paste from Non-Lawmaker documents

One document type?

Scottish Bill

Pass

 

Managing Comments (Not in user manual?)

One document type

  • Add comments

  • Review comments

  • Edit comment

  • Reply to comment

  • Mark as done

  • Delete comment

Scottish Bill

Pass

 

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

Scottish Bill

Pass

When ‘moving’ is tracked, the paragraph number is displayed above the actual paragraph

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

Scottish Bill

Pass