Document toolboxDocument toolbox

SI/SSI Test Script v14.0 - Pranita

 

Test Case

Expected outcome

Pass / Fail

Testers Comments

 

 

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 - able to login in successfully and dashboard is displayed as expected.

 

 

2

Create a New Project

Creating a new project

Correct box is dialogue displayed

Pass - Correct box - dialogue is displayed as expected.

 

 

3

Complete dialogue information and click on create

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

 

Editor Opens

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 - Empty document is created with the title specified on project creation. The title does update when it is amended in the document information panel on left.

The document information panel does show the correct information.

The new project is visible on the dashboard (as a tile).

The project is not visible to users in another organisation. The permissions work correctly.

It is possible to return back to the SI/SSI to change the title if needed. This feature does work correctly. The title automatically updates when I edit the title in the document information panel.

 

 

 

 

 

4

Add a Subject, extent and sub-subject

Managing Subject, Extent and Subsubject

Add another subject

Remove subsubject

Cancel

Edit a subject

Subject placeholder is updated

Pass - Have been able to add a subject , add another subject , remove a subsubject , cancel and edit a subject.

 

 

5

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

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 - I am able to add the following text : 15(7)(B) of the Education Act 2006. I can add extra block of text by pressing return twice. At the end of the text, I can then press return select Paragraph (a). I can then press return and select Sub-Paragraph (i )and then I can return and select sub-Sub-Paragraph(A)(ii). I can then press return and Select List.

 

 

 

6

Entering new provisions

Inserting provisions and other elements

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

Schedule title shows in sentence case.

 

Pass - CCA is brought up and provision can be selected . Elements are inserted as needed. Numbering is correct and structuring view is updated as elements are added for example different schedules i.e schedule 1 , schedule 2 and so on. Schedule title does show in sentence case.

 

 

7

Inserting, modifying and deleting provisions

Can create parts and chapters

Wrapping and unwrapping provisions

Fail- Have been able to insert , modify and delete provisions. Can create parts and chapters. Issues with wrapping and unwrapping.

Unable to wrap provisions (schedule). No list comes up , it just says loading. Able to test unwrapping as this option is active when I have a wrapped provision but am unable to wrap a provision. I am not sure if this wrap /unwrap feature works correctly.

 

8

Inserting Explanatory Notes

ENs appear at the end of the document

Ensure smart paste works

Pass - Am able to insert explanatory notes and smart paste works.

 

 

9

Inserting Commencement Tables

Commencement History Block appears at the end of Document at base of EN text box

Pass - Am able to insert commencement tables and block appears at the end of the document at the base of EN text box


 

 

10

Saving

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 - Progress bar does appear and progressed to 100% and message displayed says ‘Document Saved’ and on the project tab , the version last modified matches the time it was saved.

 

 

11

Inserting table of contents

Table is inserted at the start of the document

Pass - Am able to insert table of contents.

 

 

12

Deleting a table of contents

Table content is removed.

ToC heading is removed

Pass - Am able to remove table content and remove table content heading.

 

 

13

Generating and viewing a PDF

PDF is created

Pass - Am able to generate and view PDF.

 

 

14

Delete the Explanatory Notes

Deleting provisions and other elements

EN is removed, Commencement table stays in place

Pass - Am able to delete explanatory notes and keep commencement table in place.

 

 

15

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)

Prompted to Save (if unsaved changes) and the browser tab for the Editor is closed

Pass - am prompted to save ( if unsaved changes) when the editor is closed in the browser window.

 

 

16

Duplicating a document version

From the green folder tile select a duplicate version, then select a folder and version names

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

Pass - Am able to create a duplicate document version.

 

 

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 - Am able to create a new empty document under the appropriate project folder

 

 

18

Move document

Move document to a new or alternative folder

Pass - Am able to move document to an alternative folder

 

 

19

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

Open the Document in the Editor

Date and SI Number appear above the subject

Pass - Am able to add Date and SI Number using the document information box.

 

 

20

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

Test Add, Update and Delete

Add text to Coming into force options

Insert ‘Other’ Date

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

Pass - Am able to add , update and delete dates and add text to coming into force options and insert ‘Other Date’.

 

 

21

Insert a Signature Block

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

A signature block is inserted

Pass - Am able to insert signature block

 

 

22

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

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

Pass - Modal is present and from the 'Front Matter ' - five options are displayed.

 

 

23

Select one of the following Options

  • Laid in draft

  • Correction

  • Resolution

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

  • Royal Presence rubric

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

Pass - The rubric option pull down list changes depending on what element is selected.

 

 

24

Select a Rubric and click on Insert

The Rubric is inserted at the start of the document

Pass - Am able to selected a rubric and it is inserted at the start of the document.

 

 

25

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

There is a PDF on the project page labelled ‘Signed’.

This PDF is copied to the Significant version column

Pass - Able able to update pdf on project page and label as ‘Signed’. The PDF is copied to the significant version column.

 

 

26

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

Process : (these steps need to be verified)

  1. Start on the SIs project page

  2. Find the required SI version on the left hand side in a green box

  3. Click Actions to the right of the green box

  4. Click Generate a PDF, select the items required for this PDF

  5. A PDF will open, then close the PDF

  6. Go back to SI project page

  7. Go back to the version to be used

  8. Click on the triangle in the top left corner of the green box

  9. Other versions will be listed underneath in grey boxes

  10. A PDF should appear in the list (if there is more than one PDF you need the most recent one)

  11. Click Actions to the right of PDF’s grey box

  12. Click Download a zip file

  13. A zip file should appear in the bottom left corner of the screen

  14. Open the file to check that there is a xml file and a PDF, close file

[to email to TNA for general checking, and registration and publishing system submission]

  1. Drag and drop the zip file into an email to send to TNA

  2. Also copy and paste the SI’s Lawmaker link into the email.

 

 

A zip file is created containing XML, PDF and Tiff files (if the document contains an image)

Pass - Have been able to carryout the steps. Have emailed Zip file to myself (Pranita Gandhi) as unsure of the email address for TNA.

Zip File contains the pdf , xml files and standard seal TIFF image.

 

 

27

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

Successful message display

Document available on the API

Pass - Successful message displayed as TNA has been sent. Document is available on API

 

 

28

Open the SI in the Editor

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

From ‘Front matter element’, Select ‘Approved’

The Rubric options lists several Approved by options.

Pass - Option of approved appears.

 

 

29

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

The appropriate rubric is inserted above the Date Block

Pass - The appropriate rubric is inserted above the date block.