Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
The appropriate rubric is inserted above the Date Block

Test Case

Expected outcome

Pass / Fail

Testing Notes. Testers - delete these comments and replace with any ‘Test fail' notes.

Notes should enable the Development team to recreate the issue you experienced.

1

Login into Lawmaker as a PCO user

Overview of Lawmaker

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

Projects and documents

Status
colourGreen
titlePass
Status
colourRed
titleFAIL

Taken to the dashboard
And it will show that I am logged in with my username

I will be able to see projects that have been created by PCO users
I will be able to see projects that have a published Bill or Act in them from other organisations
I will not be able to see projects created by other organisations that do not have a published Bill in them

Note

Dashboard Functionality is tested in other scripts

2

Create a New Project

Creating a new project

Can select different:

  • types

  • sub-types

  • Enter title

Create a Scottish Public Bill / Government

Click Create

Status
colourGreen
titlePass
Status
colourRed
titleFAIL

3

Editor Opens

‘Empty’ document is displayed in the Editor

Status
colourGreen
titlePass
Status
colourRed
titleFAIL

An empty Bill template will shown in the Editor
And the document information panel will be updated accordingly
And the name of the Bill will show in the Editor
And a new Bill 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 Bill and change the short title, with the Short title at the top automatically updating when I edit 'Title' in the Doc Info panel

4

Click on Body

Build-up the Bill Structure by creating: Parts, Chapters, Cross Headings, Sections, sub-sections, paragraphs, and the equivalent Schedules.

Also, create some other elements (eg: definitions, lists)

Tip

You can copy and paste elements eg: create one part, with various sub elements and then copy to create more structure.

You can copy text for your bill from legislation.gov.uk

CCA is display

Creates a realistic looking Bill

Structure view is updated in line with new elements created in the Editor

Status
colourGreen
titlePass
Status
colourRed
titleFAIL

5

Press Ctrl S or click on the Save button

Progress A progress bar displayed appears and % complete increases progresses to 100%

Document is saved

Locks are releasedA 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
Status
colourRed
titleFAIL

6

Add one or more J-Refs to Sections or Schedules

(v13) Managing J-refs

J-Refs are display in the Editor in Red

7

Create cross reference(s) to sections that contain J-refs.

Click Tag X-refs

(v13) Cross-references (x-refs)

You can toggle on and off to display the J-ref in cross-references

Tools / Show/hide J-refs in cross references

8

Turn on Track Changes

Using tracked changes

Delete one or more elements / Insert element(s) and move element(s)

Inserted and deleted elements are display in the editor and blue (insert) or red (deleted)

9

Inserting table of contents

Table is inserted at the start of the document

10

Generate PDF

Generating and viewing a PDF

Ensure:

  • Show tracked changes is ticked

  • Select SideliningSide-lining

  • Show J-Refs in margins

  • Show J-Refs within cross references

Image Removed

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

11

Inserting table of contents

Table is inserted at the start of the document

12
  • Deselect Record Snapshot

  • Add Version Description (random text)

PDF is generated in separate tab

Table of Contents is included

Tracked changes are displayed in red for deleted text; blue for inserted text

J-Refs are shown in margins

J-Refs are shown with x-refs

No snapshot is visible on the Project tab

PDF Version is names as per the text entered.

Image Added

11

Deleting a table of contents

Expand
titleTips

Place your curser in the ToC

Click on ToC on the Breadcrumb

Press delete or backspace

Table is removed.

13

Generating and viewing a PDF

PDF is created

14

Delete the Explanatory Notes

Deleting provisions and other elements

EN is removed

15

Save and Close the Editor

Saving a document version

Click on Close Editor button (top, left)

The browser tab for the Editor is closed

16

Duplicating a document version

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

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

18

Move document

Move document to a new or alternative folder

19

Managing document information

Date and SI Number appear above the subject

20

Managing Dates

Test Add, Update and Delete

Insert ‘Other’ Date

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

21

Insert a Signature Block

Managing Signatures

A signature block is inserted

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 'Front Matter Element' rubric

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

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

24

Select a Rubric and click on Insert

The Rubric is inserted at the start of the document

25

Marking a document as 'Signed'

26

Downloading a ZIP file of a document

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

27

Submitting an Act or SI/SSI to TNA

Successful message display

Document available 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.

29

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

12

Close the Editor

Prompted to Save changes

Changes are saved

13

? Add Push/Pull tests

? Add Editor portion

14

15

16

17

18

Final test - share with Scottish Parliament