Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Test Case

Expected outcome

Pass / Fail

Testers Comments

1

Login into to Lawmaker as an SIH or SGLD User

Overview of Lawmaker

Dashboard displayed or last tab associated to the project you last viewed.

Projects and documents

Status
colourGreen
titlePass

PASS: I can login and the dashboard displays as expected

2

Create a New Project

Creating a new project

Correct box is dialogue displayed

Status
colourGreen
titlePASS

PASS: dialog displays as expected

3

Complete dialogue information and click on create

Expand
titleTips

Must begin with "The", contain the word "Regulations" or “Order” and end in a year

Editor Opens

Expand
titleSub Tests

And the title in the Editor matches the name I specified

And the Document Information panel shows the correct information

And a new project will be created on the dashboard

And the project will not be visible to users in another organisation

AND I can go back into the SI/SSI and change the title if I need to, with the title at the top automatically updating when I edit 'Title' in the Document Information panel

‘Empty’ document is displayed in the Editor

Status
colourGreen
titlePass

PASS: blank document is created.

Title, year and number can be edited from the Document info panel, and the details are updated in the editor window.

Document is visible as a tile on the homepage

To re-check with a second login - document should be hidden from users in another organisation

4

Add a Subject, extent and sub-subject

Managing Subject, Extent and Subsubject

Expand
titleAlternative Flows

Add another subject

Remove subsubject

Cancel

Edit a subject

Subject placeholder is updated

Status
colourRed
titleFAIL

I can add a subject and extent, and save this information

However, clicking the ‘edit’ icon to amend a subject once you’ve added it causes the page to attempt to reload - this is reproducible on dev and staging environments. Logged as [SPT-1544] Editing the Subjects in an SI or SSI using the 'edit subjects' modal causes the editor page to attempt to reload - UK LDAPP Project JIRA (leidos.com.au)

5

Update the enacting words with the following text: 15(7)(B) of the Education Act 2006

Expand
titleSub Tests

I can add Extra blocks of text pressing return twice

at the end of the new text, then I can press return and select Paragraph (a)

then I can press return and select 'Sub-Paragraph (i)

then I can press return and select 'sub-Sub-Paragraph (A)/(ii)

then I can press return and select List

Status
colourGreen
titlePASS

PASS, but as in a previous run, comment below still applies:

then I can press return and select ‘sub-Sub-Paragraph (A)/(ii):

This is not listed: ‘sub-paragraph (A)/(aa)’ is listed, and '(aa)’ shows in the element.

6

Entering new provisions

Inserting provisions and other elements

Expand
titleTips

Press Enter to bring up the CCA and select a provision

Editor functionality is tested in a separate script

Once you have created a provision, you can copy and paste it to build up the document

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

Draft any substantive provisions first

Add some schedules

The content will be structured correctly

The numbering will be correct

The Structure view is updated

Status
colourGreen
titlePASS

PASS: able to create provisions.

Able to create a Schedule.

7

Inserting, modifying and deleting provisions

Can create parts and cross headings

Status
colourGreen
titlePASS

PASS: can create Parts and cross-headings inside a schedule

8

Inserting Explanatory Notes

ENs appear at the end of the document

Ensure smart paste works

Probably working as intended for current development.

Not clear smart paste or Ctrl V is working exactly. Or maybe I am expecting too much:

When the editor screen is narrow, paragraphs copied from legislation.gov.uk are broken up, with each sentence starting on a new line.

When the editor screen is widened the sentences join up, the lines get longer but do not completely fill the EN box.

Status
colourGreen
titlePASS

I can insert Explanatory Notes.

But as in a previous comment (v14 test run): smart paste doesn’t work in ExNotes. (Checked with ML and this is expected. Works well in the main body of the document.)

9

Inserting Commencement Tables

Commencement History Block appears at the end of Dcoument

10

https://lawmaker.atlassian.net/wiki/pages/createpage.action?spaceKey=USERMANUAL&title=Saving%20a%20document%20version Document

Status
colourGreen
titlePASS

PASS: I can insert a Commencement History Block at the end of the doc

10

Saving your document

A progress bar appears and progresses to 100%

A message is displayed saying ‘Document Saved’

On the project tab, the version last modified is the same as the time it was saved

Status
colourGreen
titlePASS

PASS: I can save, and the Last modified date/time is updated. Progress bar appears and works correctly. Message appears, confirming the save.

11

Inserting table of contents

Table is inserted at the start of the document

Status
colourGreen
titlePASS

PASS: ToC is inserted and looks good

12

Deleting a table of contents

Expand
titleTips

Place your curser cursor in the ToC

Click on ToC on the Breadcrumb

Press delete or backspace

Table is removed.

Status
colourGreen
titlePASS

PASS: Possible to delete the ToC, but note that the ToC heading element is not a child of the Table of contents element, which means you have to delete both of these separately. This seems unnecessary. In other words, following the ‘tips’ from the left-hand column here will leave you with a leftover CONTENTS heading, whereas I would have expected that to be deleted along with the Table of Contents. When the user then clicks ‘Insert ToC’ again, two ‘CONTENTS’ headings are left.

Looking in the raw XML, it seems like the ToC heading is a <block> which appears before the toc proper. In order to make the steps in the ‘tips’ work it would require meddling with the data model.

Realistically, users can delete the extra heading with a few extra clicks. and the ToC can be regenerated/updated by selecting ‘Insert ToC’ again without first deleting it. So it’s a non-issue.

13

Generating and viewing a PDF

PDF is created

Status
colourGreen
titlePASS

PASS: PDF created

14

Delete the Explanatory Notes

Deleting provisions and other elements

EN is removed

Status
colourGreen
titlePASS

PASS: possible to delete the ExNotes

15

Save and Close the Editor

https://lawmaker.atlassian.net/wiki/pages/createpage.action?spaceKey=USERMANUAL&title=Saving%20a%20document%20version

Click on Close Editor button (top, left)

The browser tab for the Editor is closed

Status
colourGreen
titlePASS

PASS: works as expected; last modified date is updated on the Project page

16

Duplicating a document version

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

Status
colourGreen
titlePASS

PASS: duplicate folder created with the assigned name, and version copied over

17

Creating an empty document in a project

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

Status
colourGreen
titlePASS

PASS: green tile for new blank working document crated

18

Move document

Move document to a new or alternative folder

Status
colourGreen
titlePASS

PASS: document can be moved between folders

19

Managing document information

Date and SI Number appear above the subject

Status
colourGreen
titlePASS

PASS: year and number appear - but note there is a slight delay after changing these values. The editor window takes a minute to update.

20

Managing Dates

Test Add, Update and Delete

Insert ‘Other’ Date

The Dates at the start of the document are updated accordingly.

Status
colourGreen
titlePASS

PASS: Adding, updating and deleting date values works as expected. Tested in UK SI Regulations and in an Order

21

Insert a Signature Block

Managing Signatures

A signature block is inserted

Status
colourGreen
titlePASS

PASS: possible to insert a signature block

22

From the Insert menu, select ‘Inserting Front Matter Elements’

Note

User manual to be updated

Inserting 'Laid in draft' rubric

Inserting 'Correction' rubric

Inserting pre-populated rubrics

A modal is presented and from ‘Front Matter Element’ pull down list, four options are presented (see below)

Status
colourGreen
titlePASS

PASS: this insert option is selectable, four options are presented

23

Select one of the following Options

  • Laid in draft

  • Correction

  • Resolution

  • Approved (do not test this option, at this stage)

The Rubric option pull down list changes depending on what element is selected

Status
colourGreen
titlePASS

PASS: Rubric options change as expected

24

Select a Rubric and click on Insert

The Rubric is inserted at the start of the document

Status
colourGreen
titlePASS

PASS: The rubrics can be inserted using the Insert menu

25

Marking a document as 'Signed'

Status
colourGreen
titlePASS

PASS: Successfully created a Signed significant version, noting the limitation mentioned in the manual (snapshot version must be called 'PDF')

26

Downloading a ZIP file of a document

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

Status
colourGreen
titlePASS

PASS: can download a ZIP file which contains XML and PDFs. When the document includes an image (for example a JPG), that will be included too. Presumably TIFF is the expected/standard format but uploaded JPGs work too.

27

Submitting an Act or SI/SSI to TNA

Successful message display

Document available on the API

Appears to work - I’ve not checked availability on the API

28

Open the SI in the Editor

From the Insert menu, select ‘Inserting Front Matter Elements’

From ‘Front matter element’, Select ‘Approved’

Note

User manual to be updated

Inserting 'Approved' rubric

The Rubric options lists several Approved by options.

Status
colourGreen
titlePASS

PASS: rubric options list is visible and contains the expected options

29

Select one of the ‘Approved by’ options and click on Insert

The appropriate rubric is inserted above the Date Block

Status
colourGreen
titlePASS

PASS: rubric is inserted