Scottish Bill Script
Test Case | Expected outcome | Pass / Fail | Tester’s Comments | |
---|---|---|---|---|
1 | Login to Lawmaker as a PCO user Overview of Lawmaker Projects and documents Dashboard Functionality is tested in other scripts | Dashboard displayed or last tab associated to the project you last viewed. 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 | Pass Fail (delete as appropriate) |
|
2 | Create a New Project Select Scottish Public Bill > Government Bill Ensure you include the word “Bill” at the end of the project/bill Title as a real bill would (this is necessary to test bill-to-act conversion later on in the script) Can select: >types >sub-types >title | A new project is created, visible only to users in the same organisation as the current user It appears on the main Dashboard Project tab opens for the new document Editor opens in a new tab showing an ‘empty’ document
| Pass Fail |
|
3 | Check and edit document information for the bill using the Document Information panel in the Editor Add an Introduction Date Note that there is sometimes a delay between changing a value in this panel and the text changing in the main editor pane | Document information displays correctly Able to edit: Title, Session, Year, Rubric Details are changed or populated in the main editor pane after the change is made in the Doc Info panel | Pass Fail |
|
4 | Manage members on a bill Add a proposer and supporters to the Bill (using the manage members modal which is accessible from the Doc Info panel) | Manage Members modal displays Able to search for SP members in the ‘Proposer’ and ‘Supporter’ fields Able to pick names from the dropdown list Able to click Update to add the members to the bill Able to click Cancel to close the modal without saving changes
| Pass Fail |
|
5 | Add Back cover to the Bill | Back cover will be inserted at the end of the Bill in the Editor And the back cover will show the Bill is being introduced by the proposer And the back cover will show the Bill is being supported by the supporters And the back cover will show the introduction date | Pass Fail |
|
6 | Click on Body placeholder 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)
| CCA is displayed Creates a realistic looking Bill Structure view (left-hand side of the Editor window) is updated in line with new elements created in the Editor
| Pass Fail |
|
7 | Press Ctrl+S or click on the Save button | 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 Fail |
|
8 | Add one or more J-Refs to Sections or Schedules | J-Refs are displayed in the Editor in Red | Pass Fail |
|
9 | Create cross reference(s) to sections that contain J-refs. Click Tag X-refs Use the Tools menu to display the J-refs in the cross-references (Tools > Show/hide J-refs in cross references) | J-ref should show in square brackets next to the X-ref
| Pass Fail |
|
10 | Turn on Track Changes Delete one or more elements / Insert element(s) and move element(s) | Inserted and deleted text and elements are displayed in the editor and blue (insert) or red (deleted) | Pass Fail |
|
11 | Insert a Table of Contents | Table is inserted at the start of the document | Pass Fail |
|
12 | Generate PDF Ensure:
| PDF is generated in separate tab Table of Contents is included Tracked changes are displayed in red for deleted text; blue for inserted text Line numbering is present and continues throughout the whole document 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.
| Pass Fail |
|
13 | Deleting a table of contents Place your curser in the ToC Click on ToC on the Breadcrumb Press delete or backspace | Table is removed | Pass Fail |
|
14 | Close the Editor | Prompted to Save changes (If the option to save is selected) Changes are saved (If the option to discard changes is selects) Changes are not saved | Pass Fail |
|
15 | Duplicate a document Click the Actions menu next to a particular version Select ‘Duplicate’ In the modal, add a new folder and give the version a new name | New folder created with a duplicated version inside it | Pass Fail |
|
16 | Open a document version in the Editor Use the fold button in the toolbar, then use the Structure View to expand a particular provision Import a reasonably large Bill: Social Housing (Regulation) Act 2023 Import legislation from www.legislation.gov.uk In the editor, click the Fold button to collapse all provisions Now select a section from the structure view
| The Editor will jump to the selected provision, and unfold it | Pass Fail |
|
17 | Create a new working version On the Project tab, click Document Actions Select Create New working version In the modal, create a new folder or select an existing folder Input a new name for the new version Click Create | A new working version is created which will appear on the 'Project' tab under the appropriate folder heading. Clicking on it to open it in the Editor will reveal an empty new document, allowing you to start drafting | Pass Fail |
|
18 | Renumber whole bill https://lawmaker.atlassian.net/wiki/spaces/USERMANUAL/pages/9339202 | All the provisions are renumbered in the Editor The numbering in the structure view is sequential | Pass Fail |
|
19 | Delete all J-refs | No J-refs visible in the Editor | Pass Fail |
|
20 | Edit Portion of a document https://lawmaker.atlassian.net/wiki/spaces/USERMANUAL/pages/688223 | The selected subset of provisions is opened in the Editor AND the section or schedule nums are locked or grouping level nums (for body only - not in schedules) | Pass Fail |
|
21 | Share with Scottish Parliament Using the menu next to a version of the Bill on the Project Tab, select Share version and choose the Scottish Parliament https://lawmaker.atlassian.net/wiki/spaces/USERMANUAL/pages/688436 | Significant version of the Bill will appear on the project tab with the same name as the working version | Pass Fail |
|
22 | Login as an SP user and view shared significant version Duplicate the significant version to create a new working version | The project should be accessible from the dashboard A significant version of the Bill will appear on the Project Tab with the same name as the original working version After duplicating, a working version of the Bill will appear on the project tab with the specified name under the specified folder heading | Pass Fail |
|
23 | Update document info for Bill (Stage 2): Open the ‘As Introduced’ version in the Editor Update the ‘Version rubric’ in the Document Information panel to make the Bill the ‘As Amended at Stage 2’ version | Rubric text in the Editor is updated accordingly | Pass Fail |
|
24 | Share with PCO https://lawmaker.atlassian.net/wiki/spaces/USERMANUAL/pages/688436 | A significant version of the Bill will appear on the project tab with the same name as the working version Significant version will be visible to PCO users as well The significant version will not be visible to other users (e.g. HoC/HoL) | Pass Fail |
|
25 | Login as an SP user and create Act version of Scottish Bill: Duplicate the working version and specify a version name and stage, https://lawmaker.atlassian.net/wiki/spaces/USERMANUAL/pages/688792 | New working version created containing an act version of the Bill | Pass Fail |
|
26 | Update document info for SP Act: Update ‘Passed Date’ and ‘Assent Date’ in the Document Information pane in the Editor | Preface of the Bill is updated accordingly | Pass Fail |
|
27 | Generate PDF official print | PDF snapshot created and visible on the Project Tab | Pass Fail |
|
28 | Publish Official print | A significant version of the Act will be created on the project tab | Pass Fail |
|
29 | Download zip file https://lawmaker.atlassian.net/wiki/spaces/USERMANUAL/pages/688696 | A zip file is created containing XML, PDF and TIFF files | Pass Fail |
|
30 |
|
|
|
|
31 |
|
|
|
|
32 |
|
|
|
|