Document toolboxDocument toolbox

SI/SSI Test Script (EH Testing)

Test Case

Expected outcome

Pass / Fail

Tester's Comments

Test Case

Expected outcome

Pass / Fail

Tester's Comments

1

Login to Lawmaker as an SIH or SGLD User

Overview of Lawmaker

Projects and documents

Dashboard displayed (or last tab associated with the project you last viewed)

Pass

 

2

Create a New Project

  • Type: UK Statutory Instruments

  • Sub-type: Regulations, Order, or Rules

  • Procedure: Select a Draft procedure (for the convert to Made Test)

Creating a new project

Title must begin with “The” and end in a year; Regulations or Orders must contain the word “Regulations” or “Order”

Create new project modal is shown

Includes Type, Sub-type, Title, and Procedure fields

Able to select ‘UK Statutory Instruments’ from Type drop-down

When UK SI is the Type, Sub-type drop-down shows 12 entries, including Regulations, Order, Rules, Resolution, Other

When Scottish SI is the Type, Sub-type drop-down shows 9 entries, including Regulations, Order, Rules, Resolution, Other

Procedure drop-down shows 8 options, including Draft Affirmative, Draft Negative, Made Affirmative, Made Negative

Pass

 

3

Add the required information to the fields in the modal and click Create

 

Editor opens and an empty template document is displayed in the Editor

Title in the Editor matches the name I specified

Document Information panel in the Editor shows the correct information

New project is visible on the main Lawmaker dashboard

The project is not visible to users in other organisations

Pass

 

 

 

 

 

 

 

 

Not tested Project not visible

4

Edit the Title from the Document Information panel in the Editor

Managing document information

In the Editor, the Title is updated at the top of the doc

After saving, the Title is also updated in the Project tab

Pass

 

 

Update Script to add Press F5 to fresh project tab.

5

Add a Subject, Extent and Sub-subject

Managing Subject, Extent and Subsubject

Add another subject

Remove sub-subject

Click ‘Cancel’ in the modal

Edit a subject

Subject placeholder is updated

Pass

 

6

Type information into the enabling powers placeholders which appear in the enacting words at the start of the SI

(You can use these details of some real enabling provisions: sections 29A(3), 30(4) and 96(9) of the Value Added Tax Act 1994)

Add extra blocks of text to the enacting words by pressing return twice;

Add some sub-paragraphs: press Enter and select Paragraph (a) from the CCA;

Press Enter and select Sub-Paragraph (i) from the CCA;

Press Enter and select sub-Sub-Paragraph (A)/(aa);

Press Enter and select List

The content of the enacting words is updated

Additional blocks of text containing paragraphs and sub-paragraphs can be added

Pass

 

7

Add some provisions

Inserting provisions and other elements

Press Enter to bring up the CCA and select a provision;

Once you have created a few provisions, you can copy and paste them to build up the document quicker;

You can also copy provisions from an SI/SSI on http://www.legislation.gov.uk;

Test the behaviour of auto-renumbering by turning this on or off from the Tools menu. When enabled, Paragraphs and sub-paragraphs within provisions are renumbered sequentially as new paragraphs and sub-paragraphs are added in between existing ones; in Schedules, Schedule Paragraphs are renumbered in the same way. When disabled, paragraphs and sub-paragraphs inserted between existing paragraphs or sub-paragraphs are given a Number with a suffix, for example (2A) when the paragraph is inserted between (2) and (3). Schedule paragraphs behave the same way.

Able to add Rules, Articles, or Regulations, depending on the SI sub-type

Numbers and Headings appear in bold in the Editor

Paragraphs and sub-paragraphs under each top-level provision are indented

The numbering will be correct: provisions are given sequential numbers or letters

The Structure View on the left-hand side of the Editor window is updated as provisions are added

 

Pass

Issue with typing after insert a cross reference, cannot select paragraph (a) due to <mod> element appearing at the end of Paragraph (to fix in XML move the <mod> to after the quoted text.

8

Create some more complex structure; add Parts and cross headings using the CCA

Inserting, modifying and deleting provisions

Can create Parts and Cross headings

Pass

 

9

Promote and demote some elements in a provision

Promoting and demoting provisions

Promotion rules Demotion rules

Elements can be promoted and demoted according to the Promotion and Demotion rules

Pass

 

10

Insert Explanatory Notes

Inserting Explanatory Notes

Smart paste does not currently work inside ENs

Explanatory Notes appear at the end of the document

image-20240111-121434.png

 

Pass

 

11

Insert a Commencement History Block

Inserting Commencement Tables

Commencement History Block appears at the end of Document

Heading is ‘NOTE AS TO EARLIER COMMENCEMENT ORDERS

Table consists of three columns: Provision, Date of Commencement, and S.I. No.

image-20240111-121451.png

 

Pass

 

12

Save the document

Saving your document

A progress bar appears and progresses to 100%

A message is displayed saying ‘Document Saved’

On the project tab, the version’s last modified date/time is the same as the date/time it was saved

Pass

 

13

Insert a Table of Contents

Inserting table of contents

Table of Contents is inserted at the start of the document

Entries in the ToC correspond to the structure created in the text of the doc

Pass

 

14

Generate a PDF

https://lawmaker.atlassian.net/wiki/spaces/USERMANUAL/pages/688197

PDF is created

Green success toastie displays in bottom-right of screen

Toastie includes a link to the PDF

Expanding the version snapshots on the Project Tab shows a PDF entry

From the Actions menu next to that snapshot version, ‘View PDF’ can be selected

PDF formatting resembles other SIs on http://www.legislation.gov.uk/uksi

Pass

 

15

Generate a Large Print PDF

Large print PDF is created and the text looks okay (check for overlapping content)

Pass

 

16

Close the Editor

Click on Close Editor button (top-left)

If no changes have been made to the document since it was last saved, the Editor tab closes

If changes have been made since the last save, a modal appears prompting you to save the document

Able to select Save changes, Discard changes, or Cancel

If save or discard are selected, the browser tab for the Editor is closed

If Cancel is selected, the Editor tab remains open

Pass

 

17

Duplicate a document version

https://lawmaker.atlassian.net/wiki/spaces/USERMANUAL/pages/688280

On the project tab, a new folder (optional) and document version is created

Labels for the new folder and new version match the text added in the modal

Pass

 

18

Move a document version

https://lawmaker.atlassian.net/wiki/spaces/USERMANUAL/pages/688786/Documents+and+folders+on+the+Project+Tab#How-to-move-a-working-version-to-another-folder

Able to move document to a new or alternative folder

Pass

 

19

Create a new blank working version in the Project

https://lawmaker.atlassian.net/wiki/spaces/USERMANUAL/pages/688841

New document created and displayed as a green tile on the project tab under the appropriate folder

Pass

 

20

Add and change some document information using the Document Information panel, including the Date and SI number

Managing document information

Date and SI Number appear above the subject

Pass

 

21

Add and update made, laid and coming-into-force dates

https://lawmaker.atlassian.net/wiki/spaces/USERMANUAL/pages/16121950

Test Add, Update and Delete functions in the modal

Insert ‘Other’ Date

The Dates at the start of the document are updated accordingly

Pass

 

22

Insert a Signature Block

https://lawmaker.atlassian.net/wiki/spaces/USERMANUAL/pages/16121958

A signature block is inserted

Add text in some boxes

Ensure a Seal is added for Test 25 (Creating zip file)

Pass

Issue with displaying seal in Editor, but assume will be fixed by Image ticket

23

From the Insert menu, select Insert Front Matter Elements

https://lawmaker.atlassian.net/wiki/spaces/USERMANUAL/pages/16121926

Select one of the following Options:

Laid in draft

Correction

Resolution

Royal Presence

(Do not test the ‘Approved’ option at this stage)

Click Insert

A modal appears which includes a ‘Front matter element’ pull-down list; the list contains five options

Modal includes a drop-down menu for Front matter elements

The ‘Rubric’ option pull-down list in the modal changes depending on what Front matter element is selected

On clicking Insert, the Rubric is inserted at the start of the document

Pass

 

24

Duplicate document and Convert to Made

https://lawmaker.scrollhelp.site/help/live/converting-a-draft-si-ssi-into-a-made-version

XML is updated from Bill/ukdsi to Act/uksi

Draft is removed from the banner

Removes procedural rubric

Pass

 

25

Mark a version of the document as Signed

https://lawmaker.atlassian.net/wiki/spaces/USERMANUAL/pages/16121974

Currently (v.15.3.0 and v.16.0) it is only possible to perform this and the next two actions on a generated PDF which is labelled ‘PDF’; if another label has been given to the PDF then this option won’t appear in the menu.

A significant version of the document is created, labelled “Signed” and visible on the right-hand side of the Project tab

Other users in the same organisation will be able to view that significant version

Pass

 

26

Download a zip file of a document from the Project tab

https://lawmaker.atlassian.net/wiki/spaces/USERMANUAL/pages/688696

A zip file is created containing XML, PDF and TIFF files

Pass

 

27

Submit a version of the document to TNA

https://lawmaker.atlassian.net/wiki/spaces/USERMANUAL/pages/103448577

Success message toastie displays

A new significant version is created, labelled ‘Submitted to TNA’

Document available on the API

Pass

 

28

Add the Approved rubric

The Rubric options modal lists several Approved by options

The appropriate rubric is inserted above the Date Block

Pass