Document toolboxDocument toolbox

SI/SSI Test Script v12 - Helen's feedback

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

 

 

2

Create a New Project

Creating a new project

Correct box is dialogue displayed

PASS

SI project page url https://lawmaker.staging.legislation.gov.uk/project/64bd1650-cf18-44d5-9c2d-93724fcb6ee7

OK for made negative option

 

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

 

 

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

FAIL ?? EH Passed.

Subsubject can only be removed by deleting the main subject and then inserting the main subject again

 

 

 

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

 

FAIL EH Passed

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.

Cannot find any real examples going down to this level to know if the test is wrong or the CCA. Will pass for now.

 

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.

 

FAIL Not a regression Bug

Schedules

Schedule titles should show in sentence case, not condensed capitals

 

Have added text to expected outcome about Schedule titles

_________________________

Question?

Is it possible to remove a paragraph number without removing the paragraph?

 

7

Inserting, modifying and deleting provisions

Can create parts and cross headings

Not sure EH passed

Part insertion OK.

Part deletion not OK. Highlighted Part to unwarp. Selected unwarp but still showing as Part in breadcrumb with Part text highlighted. Part heading not showing.

Deleted a 2nd Part from the breadcrumb after clause 3 (so all text deleted) but docu checks still pointing out 2 issues.

Could not work out to insert a cross heading if not already included in the Part heading. Assume me not Lawmaker.

 

8

Inserting Explanatory Notes

ENs appear at the end of the document

Ensure smart paste works

Pass - 28/07

 

 

Previous comment - Probably working as intended for current development.

28/07/2022 - paste function seems to be working. Sentences are staying with their paragraphs. There is the correct number of paragraphs. Editor screen same size as previous test below.

 

Previous comment - 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.

 

 

 

9

Inserting Commencement Tables

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

Pass

Appeared underneath the Explanatory Note, in the EN box.

Added text about being in the EN box to the expected outcome column.

 

10

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

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

Fail Known Error

Sometimes getting stuck at 0%, but not all the time.

Reloading page finishes saving.

 

11

Inserting table of contents

Table is inserted at the start of the document

Pass

ToC added to the end of Preamble box, listing regulations and schedules

 

12

Deleting a table of contents

Table content is removed.

ToC heading is removed

Pass

‘CONTENTS’ heading is not removed with the other text, it is a separate element and needs to be removed separately.

Have updated Test Case and Expected Outcome

 

13

Generating and viewing a PDF

PDF is created

Pass

 

 

14

Delete the Explanatory Notes

Deleting provisions and other elements

EN is removed

Pass

EN deleted, Commencement table stayed.

 

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

 

 

16

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

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

New text for test case column

 

17

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

 

 

18

Move document

Move document to a new or alternative folder

Pass

Moved here

https://lawmaker.staging.legislation.gov.uk/project/c00cb9dd-3a80-40d9-84b8-f4b97468adad

 

19

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

NEW text -

SI Number appears above the subject.

Dates appear below the subject and title

OLD text -

Date and SI Number appear above the subject

Pass

 

 

20

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

Test Add, Update and Delete

Insert ‘Other’ Date

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

Pass

 

 

21

Insert a Signature Block

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

A signature block is inserted

Pass

 

 

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

Updated Test Case for Approved and Royal Presence

Updated Expected Outcome for 5 options

 

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

Updated Test Case for Royal Presence

 

24

Select a Rubric and click on Insert

The Rubric is inserted at the start of the document

Pass

 

 

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

Suggestion:

For clarity, have column headings for ‘Working versions’ and ‘Significant versions’?

 

26

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

Process :

  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

 

Fail - if tiff is included

Pass - if only PDF and XML

User manual does not cover Tiff files - only zips with PDFs and XML.

tiff files are only included if there is an imagine in the SI. EH to update Expected outcome.

The user manual was not detailed enough for me and I needed to create the 16 steps in the ‘test case’ column.

Updated ‘test case’ with step by step process to download a zip file with PDF and XML.

 

27

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

Successful message display

Document available on the API

Fail EH Passed

No option to submit SI/SSI to TNA.

 

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

These Approved options were listed:

Houses of Parliament

Scottish Parliament

Parliament

House of Commons

 

 

29

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

The appropriate rubric is inserted above the Date Block

Pass?

I had ‘Laid before Parliament in draft’ still included in the SI, just above the date block.

The Approved rubric was the line above the ‘in draft’ statement.

Once the ‘in draft’ statement is deleted, the Approved rubric is just above the date block.