Document toolboxDocument toolbox

v18-0 Ping Pong Test Script

Test Case

Pass / Fail

Tester’s Comments

Test Case

Pass / Fail

Tester’s Comments

1

Login as a Commons user, setup a test bill project and some amendments

Create new bill project (don’t worry about the bill content, a couple of short sections is enough – we're not testing applying amendments or anything that involves the bill content)

Generate PDF & Publish the bill as "As brought from the Lords" bill version

In a LoDA:

Draft 4 amendments in a LoDA: add 2 x new clause amendments that are over 5 lines long and 2 x page-line amendment

Add explanatory statements

Add supporters

Number the amendments

Submit, table & set to ‘ready for publishing’

Record outcomes against these amendments (use ‘agreed’)
Save and close the list

Pass Fail (delete as appropriate)

 

2

Copy amendments to Ping Pong stage

On the Amendment Manager tab:

Filter the Amendment Manager by ‘All agreed’

Select all using the top check box

Select “Amendment Actions > Move/copy to a different stage”

In the dialog box:

Select ‘Copy amendments to a different stage

Select ‘stage’ = “Ping Pong” and

Leave bill version at ‘As brought from the Lords’

Pass Fail

 

3

Generate the first CLoA and share it with the Lords

From the Amendment Manager tab:

Select “Amendment Actions > Generate Official List

Select “Consolidated List of Amendments” at the bottom and select “Commons Amendments” in the dialog box that appears

When it opens in the Editor:

reword the new clause amendment instructions in the Lords style i.e. “After

Clause 2, insert the following new Clause—”.

Insert interstitial headings from the insert menu before the new clause amendments e.g. “After Clause 2” and reorder the amendments in the order they appear in the bill

Save changes and run Tools > Renumber Amendments

Save changes and close the list

From the Official Lists tab

Find the green, editable version of the CLoA you just created

Select Actions > Share version and select House of Lords

Pass Fail

 

4

Login as a Lords user, duplicate and publish the CLoA

Find the project that was shared with you

Open the Official Lists tab

Duplicate the shared CLoA

Open in the Editor and:

Update the legend in the top of the list with bill number

Open ‘Document Information’ in r-h panel and add bill number e.g. HL Bill 12

Add printed date

Save changes

From the Official List tab

Generate PDF & Publish

Open CLoA and check that locks on amdts have been removed

Refresh browser and check that there is a new ping pong bill version in the dropdown menu e.g. “Pingpong HL Bill 12”

Pass Fail

 

5

Draft and submit motions and Ping Pong amendments

From the Amendment Workspace:

Create a LoDA, selecting Ping Pong as the stage

In the Editor:

Draft a pp motion for each amendment on the Consolidated List

Select e.g. “PP Motion - agree” and “PP Motion - disagree” and “PP Motion - amendment in lieu”.

For the amendment in lieu motion, insert some page-line amendments (“pp Amendment – page-line”)

Ensure at least one pp amendment has a quoted structure with more than 5 lines so we can test line numbering further down the test cases

Insert an amendment heading before a couple of the ping pong amendments (right-click > Insert amendment heading)

Update the empty placeholders with the proposer and amendment numbers (leave the motion nums empty) (you can use ‘Tools > Update Members...) to update the proposer of ping pong motions.

Submit the amendments using bulk update status in ‘Amendment Status’ r-h panel

Pass Fail

 

6

Table motions

From the Amendment Manager tab:

Select all submitted amendments

Open in a temporary list:

Table all the amendments

Save and close the temporary list

Pass Fail

 

7

Generate and publish a Lords Daily Sheet

From the Official Lists tab:

Select “Amendment Actions > Generate Official List

Select “Lords Daily Sheet” select “Ping Pong” in the dialog box for stage

In the Editor:

Check all submitted motions appear and are not numbered

Update the title by typing “Commons Amendments” to the end of the second paragraph of text i.e. “ON CONSIDERATION OF COMMONS AMENDMENTS”

Check that the back cover title is updated automatically with the Commons amendment text you just added

Check you can move the pp amendments in the structure view to change their order within the parent pp motion

Check that you can see the instruction of the ping pong amendments rather than just “amendment 1” which was a change brought in with v14

Should be sorted in order of the amendments they relate to e.g. the motion to Commons amendment 1 would come first.

Update Document Information r-h panel with version “(a)” and wait for spinner to refresh the page

Save and generate a PDF

Footer should show “HL Bill 12(a)” at the bottom left (i.e. bill number followed by the version in italics)

PP motion instruction text should be in bold in the PDF and associated pp amendments should not be in bold

From the Official Lists tab:

Toggle the view of snapshot versions and publish the PDF Snapshot for the Daily Sheet you just created

Pass Fail

 

8

Draft, submit & table three amendments to amendments to the same Commons Amendment with different member names

From the Amendment Workspace tab:

Create another LoDA selecting stage = Ping Pong (note that selecting a proposer won’t do anything at ping pong stage)

In the Editor:

Insert “PP Motion - amendment to amendment” from the insert menu
Update the empty placeholders with a commons amendment number (that exists in the CLoA) and a proposer and add text e.g. “Line 3, after “asdf” insert “asdfasd”

Copy the amendment (selecting ‘motion’ from the breadcrumb: it’s a motion in XML terms, but called an ‘amendment’ in business terms as it’s an ‘amendment to amendment’) and paste it 2 more times into the LoDA

Update the other 2 amendments to point to different lines and include a quoted structure in one

Use “Tools > Update Members” to bulk update all proposers to a new proposer to check that it works for ping pong motions
Save

Use bulk update to move from draft to submitted and from submitted to tabled in the Amendment Status right-hand panel

Save and close the LoDA

Pass Fail

 

9

Generate and publish another Daily Sheet

From the Amendment Manager tab

Select “Amendment Actions > Generate Official List

Select “Lords Daily Sheet” again and select “Ping Pong” in the dialog box for stage

In the Editor:

Check that the list contains the 3 x new amendment to amendments

Generate a PDF and check all 3 amendments to amendments appear with Member and italic text before each amendment in the list

Update Document Information with version (b)

Save and generate a PDF

Footer should show “HL Bill 12(b)” at the bottom left (i.e. bill number followed by the version in italics)

PP motion instruction text should be in bold in the PDF and associated pp amendments should not be in bold

From the Official Lists tab:

Toggle the view of snapshot versions and publish the PDF Snapshot for the Daily Sheet you just created

Pass Fail

 

10

Generate and publish a Lords Marshalled List (see this real sheet for guidance)

From the Amendment Workspace tab:

Create another LoDA, selecting Stage = Ping Pong (note that selecting a proposer won’t do anything at ping pong stage)

In the Editor:

Select “PP Motion - amendment in lieu” and add to it a “PP Amendment - Line” amendment

Submit and Table the new motion

From Amendment Manager, select “Amendment Actions > Create Official List

Select “Lords Marshalled List” again and select “Ping Pong” in the dialog box for stage

In the Editor:

Check:

it contains a “MOTION” heading at the top and subsequently before each group of pp motions to the same Commons amendment

it contains the commons amendments copied from the CLoA

it contains the pp motions associated with each commons amendment after it. The pp motion

is not numbered, users will need to manually number the motions and any pp amendments

the newly tabled pp motion is starred

Manually assign numbers to the motions and pp amendments (In the real ping pong amendment list in the hyperlink above, you will see that pp amendments are numbered 1A, 1B etc. where “1” is taken from the amendment they refer to i.e. Commons Amendment 1.)

Manually star any of the ping pong amendments

Add “A” and “B” etc after “MOTION” in those motion headers (see the linked amendment list to see what these look like in a real list)

Add text to the end of the title of the amendment list e.g. “COMMONS AMENDMENTS” and check that the title text on the back cover also updates

Save changes and generate a PDF

From the Official Lists tab:

Toggle the view of snapshot versions and publish the PDF Snapshot for the Marshalled List you just created

Pass Fail

 

11

Record Outcomes

From the Official Lists tab:

Open the Marshalled List (or open a temporary list selecting ALL pp motions)
In the Editor:

record outcomes against each motion (for simplicity and to aid testing further ping pong stages, just “agree” all ping pong motions)

Save the list and close

In the Amendment Manager tab, refresh the list and check the statuses are all updated.

Pass Fail

 

12

Duplicate and update the CLoA with the agreed amendments inserted inside messages (see this list for guidance) and share with the other House

From the Official Lists tab:

Duplicate the last published CLoA

Open in the Editor:

Before each amendment, insert “Commons Amendment Heading” (need to put cursor into ‘List Body’ element for the first amendment)

After each amendment, insert a “Message” - add some message text to the empty ‘message’ element

Open the Marshalled List in another Editor tab and copy the ping pong amendments

Paste them after the message text in the CLoA - ensuring the appropriate amendments sit in the appropriate message box under the appropriate commons amendment they are amending.

Have a look at Amendment 6 in the linked document to see how it’s supposed to look i.e. “LORDS AGREEMENT AND AMENDMENTS TO THE COMMONS AMENDMENT” where 6A and 6B were pp amendments copied from the Marshalled List.

Add text to the title and check that the corresponding title on the back cover is updated automatically with the additional text inserted

Save changes and close document (also close the Marshalled List and be sure not to save any changes in that document when you close it)

From the Official List tab

Find the green, editable version of the CLoA you just updated

Select Actions > Share version and select House of Commons

Pass Fail

 

13

Login as a Commons user, duplicate the shared CLoA and publish

From the dashboard:

Find the Bill project and open it; navigate to the Official Lists tab

Duplicate the shared CLoA

Open in the Editor and:

Open ‘Document Information’ in r-h panel and add bill number e.g. Bill 612

Add printed date

Save changes NB: amendments should be locked by System - they only become editable by Commons user after the CLoA has been published by Commons

Generate PDF

From the Official Lists tab

Find the green, editable version of the CLoA you just updated

Publish the PDF snapshot version

Open CLoA and check that locks on amdts have been removed

Refresh browser and check that there is a new ping pong bill version in the dropdown menu e.g. “Pingpong Bill 612”

Pass Fail

 

14

Draft and submit motions and ping pong amendments

From the Amendment Workspace tab:

Create another LoDA selecting stage = Ping Pong (note that selecting a proposer won’t do anything at ping pong stage)

Draft some motions:

Draft a pp motion for each amendment on the Consolidated List

Select e.g. “PP Motion - Agree” and “PP Motion - Disagree” and “PP Motion - amendment in lieu”. For the amendment in lieu motion, insert some page-line amendments (“pp Amendment - line”)

Insert an amendment heading before one of the ping pong amendments to test how these look.

Ensure at least one pp amendment has a quoted structure with more than 5 lines so we can test line numbering further down the test cases

Update the empty placeholders with the proposer and amendment numbers (leave the motion nums empty)

Click on ‘Submit List’ from the Document Information r-h panel

Pass Fail

 

15

Table motions

From the Amendment Manager tab:

Select all submitted amendments and open in a temporary List

In the Editor:

Table all the amendments

Set to ‘Ready for Publishing'

Save and close the temporary list

Pass Fail

 

16

Generate and publish a Commons Marshalled List

From the Amendment Manager tab:

Select “Amendment Actions > Generate Official List

Select “Commons Marshalled List” again and select “Ping Pong” in the dialog box for stage

In the Editor:

Run ‘Tools > Update List’

Check all motions appear and are unnumbered

Check you can move the pp amendments in the structure view to change their order within the parent pp motion

Should be sorted in order of the amendments they relate to e.g. the motion to Commons amendment 1 would come first.

Test that you can set line numbering against the ping pong amendment and the ping pong motion (you will need to add more than 5 lines of text to the ping pong motion’s instruction to see this working in the PDF) Check line numbering starts on the first line of the instruction

Save and generate a PDF

From the Official List tab

Find the green, editable version of the Marshalled List you just created

Toggle to view snapshot versions

Publish the PDF snapshot version

Pass Fail

 

17

Generate and publish an updated Commons Marshalled List

From the Amendment Workspace tab:

Create another LoDA selecting stage = Ping Pong (note that selecting a proposer won’t do anything at ping pong stage)

Draft some motions:

Create a new LoDA and draft a “PP Motion - amendment in lieu” and add to it a “PP Amendment - Line” amendment

Submit and Table and set to ‘ready for publishing’

Save and Close the LoDA

From the Amendment Manager tab, open one of the other ping pong motions in a temporary list

Record an outcome against it e.g. Agreed

Save and close the list

From the Official Lists tab duplicate the last Commons Marshalled List

Open in the Editor

Run ‘Update List’

Check that the newly tabled motion appears and that the ping pong motion with an outcome is removed from this list

Manually assign numbers to the pp amendments

Save changes and PDF

From the Official List tab

Find the green, editable version of the Marshalled List you just updated

Toggle to view snapshot versions

Publish the PDF snapshot version

Pass Fail

 

18

Record outcomes

From the Official Lists tab

Open the Marshalled List (or go to the Amendment Manager tab and open a temporary list containing ALL remaining pp motions)

In the Editor:

Record outcomes against each motion and also against a subset of ping pong amendments, for simplicity and to aid testing further ping pong stages, just “agree” all ping pong motions

Save the list and close

Pass Fail

 

19

Generate a Proceedings PDF

Generate a Commons Proceedings

Update the List when it opens in the Editor

Check that all ping pong motions and associated amendments appear with their correct outcomes

Generate a PDF and check it looks correct

Pass Fail

 

20

Duplicate and update the CLoA with the agreed amendments inserted inside messages and share with the other House

From the Official Lists tab

Duplicate the last published CLoA

Open in the Editor:

Delete one of the original amendments and its interstitial heading so that you’ve only got a couple of amendments left (and their associated messages).

Group the 2 amendments under a single interstitial heading (which is what they sometimes do) e.g. change interstitial heading from “COMMONS AMENDMENT 1” to “COMMONS AMENDMENTS 1 AND 2”

Add an extra message for the Commons round with some ping pong amendments

Save and close the list

From the Official Lists tab

Find the green, editable version of the CLoA you just updated

Select Actions > Share version and select House of Lords

Pass Fail

 

21

Login as a Lords user, duplicate the CLoA, generate a PDF and publish it

From the dashboard:

Find the bill project

Go to the Official Lists tab

Duplicate the shared CLoA

Open in the Editor and:

Add a new bill number,

Update the title if necessary

Change the House publishing it to House of Lords,

Give it a new print date

Generate a PDF

From the Official Lists tab

Find the green, editable version of the CLoA you just updated

Toggle to view snapshot versions

Select Actions > Publish against the PDF snapshot

Pass Fail

 

22

Test that Lords users can generate a Marshalled List with the source amendment being carved up between motions

From the Amendment Workspace tab:

Create another LoDA selecting stage = Ping Pong (note that selecting a proposer won’t do anything at ping pong stage)

Draft some motions:

Create 3 x ping pong motions to Commons amendments e.g. “Commons Amendment 1A” and if you have a reason in the CLoA e.g. “Commons Reason 1A” and “Commons Motion 1A”.

Submit and Table them

Save and close LoDA

From the Amendment Manager, select “Amendment Actions > Generate Official List

Select “Lords Marshalled List” again and select “Ping Pong” in the dialog box for stage

Check that the tabled motions appear

The associated amendments from the CloA won’t appear as the Amendemnt Information is referring to “motion 1A” or “amendment 1A” and Lawmaker is looking for the original amendment, not the ping pong amendment. So you need to copy the amendment into the marshalled list from the consolidated list.

From the Official List tab: open the Consolidated List

Select the amendments with lots of messages against it and copy it.

In the Editor tab with the Marshalled List:

Paste the copied amendment before the first motion in the Marshalled List

Generate a PDF

Save changes and close list

From the Official List tab

Find the green, editable version of the Marshalled List you just updated

Toggle to see the snapshot versions (you might need to refresh the browser (F5) to see the newly created PDF snapshot)

Select Actions > Publish version

Pass Fail

 

23

Additional tests

24

Update the interstitial heading in a Commons motion (in a LoDA) from referring to a single amendment to referring to 2 or more amendments e.g. change “COMMONS AMENDMENT 1” to “COMMONS AMENDMENTS 1 AND 2” or “COMMONS AMENDMENTS 1, 2 and 5”. 

When you save your changes in the LoDA, check the ‘Amendment Information’ right hand panel for “provision: amnd1_amnd2” if it has been correctly parsed

Pass Fail

 

25

Test line numbering on a pp amendment and a pp motion.  Right click to turn on line numbering and then generate a PDF to see it.  You might need to see line numbering in Daily Sheets, Marshalled Lists or CLoAs.

Pass Fail

 

26

 

Pass Fail