Document toolboxDocument toolbox

v.17.2 Scottish Amendments Test Script

Test Case

Expected outcome

Pass / Fail

Tester’s Comments

Test Case

Expected outcome

Pass / Fail

Tester’s Comments

1

Scottish Amendments test setup

Login as a SP user

Create a Scottish Bill project (Public Bill > Government Bill)

From the Actions menu next to the working version, click ‘Update Document Information’ and change version rubric to "As introduced"

From the Actions menu, generate a PDF of the working version and choose to ‘Record snapshot’

From the Actions menu, publish the PDF

Able to generate a PDF

A new significant version is created

On the Amendment Workspace tab, there is one option in the top-left workspace filter: ‘As Introduced’

Pass Fail (delete as appropriate)

 

2

Login as a PCO user and create LoDA for Scottish amendments

Amendment Workspace Tab - working with draft amendments

Login as a PCO user

Navigate to the Scottish Bill project

Create a new list of draft amendments

Specify the "as introduced" version

Specify "stage 2"

Specify a list name

Select a Proposer

Editor window opens containing the draft list of amendments template

Bill name appears at the top of the template

Stage matches what I specified in the modal

Proposer matches what I specified

The list is visible on the Amendment Workspace tab

Pass Fail

 

3

Create some Scottish amendments (you should create several amendments in order to test other amendment features later in the script)

Inserting pre-populated amendments - Scotland

In the Editor, place your cursor in an amendment

Press Enter and select an amendment from the CCA

The amendment appears in the Editor

The proposer is the same as the proposer of the previous amendment

An entry appears in the Structure view

Pass Fail

 

4

Amend proposer and add supporters in a Scottish amendment

Managing proposers and supporters

With the LoDA open in the Editor

Click the name above the amendment to open the ‘Manage Proposers and Supporters’ modal

Update the proposer and supporters for an amendment

Able to open the ‘Manage proposers and supporters’ modal

Able to search for names to add

Able to add the names and click Update to close the modal

The updated proposer and supporters appear in the Editor

Pass Fail

 

5

Save the LoDA

Saving your document

The new amendments are assigned D-numbers in the form PCO1, PCO2 etc.

Pass Fail

 

6

Generate PDF of Scottish amendment LoDA with D-numbers

Generate a PDF

In the Generate PDF modal, select to show D-numbers

A PDF is generated

There is a message to say that it was generated successfully

The PDF contains the D-numbers of each amendment

Pass Fail

 

7

Set amendments to 'On hold'

Set 'Draft' amendments to 'On hold' (and vice versa)

Able to put amendments On Hold

Unable to Submit an amendment which is On hold

Pass Fail

 

8

Submit Scottish amendments

Submitting amendments | How to submit amendments from the 'Amendments' tab

Selected amendments are submitted

Success toastie displays

The amendments' Status shows as ‘Submitted’

The amendments become read-only for the PCO user (you can test this by opening the LoDA containing the submitted amendments)

Pass Fail

 

9

"Submit Amendments" using the button on the Doc Info panel in the Editor

Submitting amendments | How to submit amendments from the Editor (PCO and OPC)

Able to submit amendments using the button

Success toastie displays

Amendment status is updated to ‘Submitted’

The amendments become read-only for the PCO user

Pass Fail

 

10

As a SP user, view submitted Scottish amendments in a temporary list

Opening amendments in the Editor (creating temporary lists)

Editor opens, showing a list containing all the selected amendments

The amendments are editable

Pass Fail

 

11

Table and reject Scottish amendments

Tabling UK amendments (incl. 'ready for publishing')

Able to click the Tabled and Rejected buttons

After saving, the amendments' Statuses are updated to the appropriate values - either Tabled or Rejected

Pass Fail

 

12

Bulk update Scottish amendments

Tabling UK amendments (incl. 'ready for publishing') | To update statuses in one go

Able to open the Bulk Update Statuses modal

Able to transition the amendments to Tabled

Success toastie displays after clicking Update

After saving, the amendments' statuses are updated (check in the Editor, in the Amendment Status pane, and check on the Amendment Manager tab too)

Pass Fail

 

13

Lifecycle Event

Undoing an amendment status/managing lifecycle events

Able to add a lifecycle event to an amendment

Able to remove a lifecycle event from an amendment

Able to update an existing lifecycle event

Pass Fail

 

14

Create Daily List

New Official List opens in the Editor containing all Tabled amendments

Interstitial headings are present between the amendments, stating the Section or Schedule the amendment relates to

Pass Fail

 

15

Move amendment on daily list using structure view

Moving provisions, tables and amendments within a document | Moving using the structure view

Able to move amendments using the structure view

Pass Fail

 

16

Create order of consideration for Scottish amendments

Creating an Order of Consideration | How to create or modify an Order of Consideration

 

Pass Fail

 

17

Generate PDF of Daily List from the Official Lists tab

Green success toastie appears

PDF snapshot is created under your official list

You can open and view the PDF

The PDF contains all the amendments which were visible in the Editor

Pass Fail

 

18

Publish daily list

Publishing an amendment list | How to publish an amendment list

Warning modal is displayed

After confirming, a new significant version is displayed on the right-hand side of the screen

Pass Fail

 

19

Create Second Daily list with new amendments

A new list opens in the Editor containing the new amendments

The new list does not contain any amendments from the earlier published list

Pass Fail

 

20

Daily list cut off time test

The list does not contain the new amendments (because they were tabled after the cut-off time)

Pass Fail

 

21

Add a note to a Scottish amendment

Inserting an amendment note

Able to add the Amendment note placeholder

Able to add some text to the placeholder

Pass Fail

 

22

Amendments to amendments in Scottish list

The new amendment-to-amendment appears on the Daily List

Pass Fail

 

23

Create a new amendment, submit it, table it, and mark it as ‘Withdrawn before debate’

Able to mark the amendment as ‘withdrawn before debate’

Status shows correctly in the Editor window (in the amendment information pane) and on the Amendment Manager tab

 

 

24

Create a Scottish Marshalled List

Marshalled list opens in the editor

List contains all amendments with the status of ‘Tabled’

Withdrawn amendments are not included on the list

The amendment-to-amendment appears immediately after the amendment it’s amending

Amendments which have not appeared on any of the earlier published lists have an asterisk next to their number

Pass Fail

 

25

Generate PDF of Scottish Marshalled List

Green success toastie appears with a link to the generated PDF

On the Official Lists tab, a PDF snapshot exists in the list of version snapshots under the green working version of your list

To check the formatting, compare the generated PDF with this file: Marshalled List of Amendments for Stage 2 (parliament.scot)

Pass Fail

 

26

Publish Scottish Marshalled List

New significant version is created on the right-hand of the screen

Pass Fail

 

27

Create manuscript list (selective marshalled list)

https://lawmaker.atlassian.net/wiki/spaces/USERMANUAL/pages/25526872/Scottish+Amendment+Lists#Manuscript-Amendments%2FSupplement-to-the-Marshalled-List

The list opens in the Editor

It contains the amendments you selected on the amendment manager tab

Pass Fail

 

28

Create a Groupings list

https://lawmaker.atlassian.net/wiki/spaces/USERMANUAL/pages/25526872/Scottish+Amendment+Lists#Groupings-Lists

Able to create a Groupings list

Able to add text to the headings placeholders

Able to add amendment numbers

Able to populate the list with the relevant amendments using the Populate Groupings List function

Pass Fail

 

29

Generate PDF of Scottish Groupings list

Green success toastie appears witha clickable link to the PDF

PDF snapshot created under the working version for your groupings list

Compare the output with this example to check formatting and appearance of amendments: Groupings of Amendments for Stage 2 (parliament.scot)

Pass Fail

 

30

Publish Scottish Groupings List

Able to publish the list

New significant version is created on the right-hand side of the Official Lists tab

Pass Fail

 

31

Marking amendments as 'agreed to'

Able to update the status of the amendments to ‘Agreed to’

Pass Fail

 

32

Creating a scripted marshalled list

Able to create a scripted marshalled list with script boxes

Able to remove the headings from some boxes to leave only the box outline

Able to add non-breaking white spaces in between paragraphs to control the spacing

Pass Fail