Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

Test Case

Expected outcome

Pass / Fail

Testers Comments

1

Login into 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

PASS

PASS: I can login and the dashboard displays as expected

2

Create a New Project

Creating a new project

Correct box is dialogue displayed

PASS

PASS: dialog displays as expected

3

Complete dialogue information and click on create

 Tips

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

Editor Opens

 Sub 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

PASS

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

 Alternative Flows

Add another subject

Remove subsubject

Cancel

Edit a subject

Subject placeholder is updated

FAIL

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

 Sub 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

PASS

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

 Tips

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

PASS

PASS: able to create provisions.

Able to create a Schedule.

7

Inserting, modifying and deleting provisions

Can create parts and cross headings

PASS

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

PASS

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 Document

PASS

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

PASS

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

PASS

PASS: ToC is inserted and looks good

12

Deleting a table of contents

 Tips

Place your cursor in the ToC

Click on ToC on the Breadcrumb

Press delete or backspace

Table is removed.

PASS

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

PASS

PASS: PDF created

14

Delete the Explanatory Notes

Deleting provisions and other elements

EN is removed

PASS

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

PASS

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

PASS

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

PASS

PASS: green tile for new blank working document crated

18

Move document

Move document to a new or alternative folder

PASS

PASS: document can be moved between folders

19

Managing document information

Date and SI Number appear above the subject

PASS

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.

PASS

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

PASS

PASS: possible to insert a signature block

22

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

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

PASS

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

PASS

PASS: Rubric options change as expected

24

Select a Rubric and click on Insert

The Rubric is inserted at the start of the document

PASS

PASS: The rubrics can be inserted using the Insert menu

25

Marking a document as 'Signed'

PASS

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

PASS

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’

User manual to be updated

Inserting 'Approved' rubric

The Rubric options lists several Approved by options.

PASS

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

PASS

PASS: rubric is inserted

  • No labels