Scottish Bill Test Script (EG v16)
Test Case | Expected outcome | Pass / Fail | Tester’s Comments | |
---|---|---|---|---|
1 | Login to Lawmaker as a PCO user | Dashboard displayed or last tab associated to the project you last viewed. Top-right of the screen shows that I am logged in with my username Able to see projects that have been created by PCO users Able to see projects that have a published Bill or Act in them from other organisations Unable to see projects created by other organisations that do not have a published Bill in them | Pass | all tests passed |
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) | 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 | all tests passed |
3 | In the Editor, click on Body placeholder Inserting provisions and other elements 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 Selecting and adding provisions 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 | all tests passed |
4 | Press Ctrl+S or click on the Save button From v16.0 onwards, it is possible to cancel the Save action by clicking the ‘cancel' bar at the bottom of the window, provided the save process has not progressed too far | 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 | all tests passed |
5 | Add one or more J-Refs to Sections or Schedules | J-Refs are displayed in the Editor in Red | Pass with caveat | I am able to add J-refs but if you use the keyboard to select the ‘Save’ button in the add J-ref modal you’ll see a warning banner - logged as SPT-1619:
|
6 | Create cross reference(s) to sections that contain J-refs. Cross-references (x-refs)archived 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 | all tests passed |
7 | Turn on Tracked Changes Delete one or more elements / Insert element(s) and move element(s) Turn off Tracked Changes | Inserted and deleted text and elements are displayed in the editor and blue (inserted) or red (deleted) | Pass | passed - but note SPT-1611 about Oxygen exceptions occurring when clicking ‘Accept all’ on tracked changes |
8 | Insert a Table of Contents | Table is inserted at the start of the document | Pass | all tests passed |
9 | Generate PDF Ensure:
| PDF is generated; success toastie displays in the bottom-right 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
| Pass | all tests passed |
10 | Make some more small changes and close the Editor using the button in the top-left | Prompted to Save changes Save modal includes the option to save, discard, or cancel (If the option to save is selected) Changes are saved (If the option to discard changes is selects) Changes are not saved | Pass | passed |
11 | Duplicate a document version Duplicating a document version 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 Folder name and version label correspond to what was typed into the modal | Pass | passed |
12 | Use the fold button to collapse all sections in a document, and use the Structure View to expand a particular provision Import a reasonably large Bill: Good Food Nation (Scotland) Act 2022 Import legislation from www.legislation.gov.uk Open the newly created version 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 | pass, but note the known issue where the selected and following schedule para are unfolded on selection |
13 | Renumber whole bill | All the provisions are renumbered in the Editor The numbering in the structure view is sequential | Pass | passed |
14 | Delete all J-refs | No J-refs visible in the Editor | Pass | passed |
15 | Edit Portion of a document https://lawmaker.atlassian.net/wiki/spaces/USERMANUAL/pages/688223
| The selected subset of provisions is opened in the Editor The section or schedule nums are locked | Pass | passed |
16 | Share with Scottish Parliament https://lawmaker.atlassian.net/wiki/spaces/USERMANUAL/pages/688436 Using the menu next to a version of the Bill on the Project Tab, select Share version and choose the Scottish Parliament
| Significant version of the Bill appears on the project tab with the same name as the working version | Pass | passed |
17 | Login as a Scottish Parliament 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 | passed |
18 | Check and edit document information for the bill using the Document Information panel in the Editor Add an Introduction Date https://lawmaker.atlassian.net/wiki/spaces/USERMANUAL/pages/688308 | 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 | passed |
19 | 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) https://lawmaker.atlassian.net/wiki/spaces/USERMANUAL/pages/688308 | 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 | passed |
20 | Add Back cover to the Bill https://lawmaker.atlassian.net/wiki/spaces/USERMANUAL/pages/688349 | Back cover will be inserted at the end of the Bill in the Editor Back cover shows the Bill is being introduced by the proposer Back cover shows the Bill is being supported by the supporters Back cover shows the introduction date | Pass | passed |
21 | Generate PDF of the bill and publish it https://lawmaker.atlassian.net/wiki/spaces/USERMANUAL/pages/688381 | Able to generate a PDF Able to publish a PDF | Pass | passed |
22 | Duplicate the published significant version of the Bill | Able to create a duplicate working version from the significant version | Pass | pased |
23 | Update document info for the Bill (As amended at Stage 2) https://lawmaker.atlassian.net/wiki/spaces/USERMANUAL/pages/688308 Open the duplicated ‘As Introduced’ version in the Editor Update the ‘Version rubric’ in the Document Information panel on the right; pick the ‘As Amended at Stage 2’ version rubric | Rubric text in the Editor is updated accordingly | Pass | passed |
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 | passed |
25 | Login as an SP user and create Act version of Scottish Bill: https://lawmaker.atlassian.net/wiki/spaces/USERMANUAL/pages/688792 | New working version created containing an act version of the Bill | Pass | passed |
26 | Open the Act version in the Editor and 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 | passed |
27 | Generate PDF of this version (official print)
| PDF snapshot created and visible on the Project Tab | Pass | passed |
28 | Submit Act version to TNA https://lawmaker.atlassian.net/wiki/spaces/USERMANUAL/pages/103448625 | A significant version of the Act will be created on the project tab The significant version will be visible to users in other organisations A copy of the Act is available through the PDR API | Pass | passed |
29 | Download zip file https://lawmaker.atlassian.net/wiki/spaces/USERMANUAL/pages/688696 | A zip file is created containing XML, PDF and (where the bill contains images) TIFF files | Pass | passed |
30 |
|
|
|
|
31 |
|
|
|
|
32 |
|
|
|
|