Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

Summary

Version 17 includes several new features and a number of bug fixes: What's new in version 17? Our testing targeted those new features and improvements to ensure they worked correctly, and to check if they impacted existing Lawmaker functionality in any way.

Tests were performed using a combination of newly created documents, documents imported from legislation.gov.uk, and existing real-world documents copied from the Production environment.

To test UK Bills functionality, we used the Leasehold and Freehold Reform Bill, Renters' Reform Bill, and Digital Markets, Competition and Consumers Bill, along with the corresponding tabled amendments to those bills. Version 17 introduces a new feature which makes it possible to download and upload large lists of amendments to a bill version for testing; we made use of this feature to perform tests on those bills using large numbers of amendments.

We also imported UK Act content from legislation.gov.uk to test performance on large documents, including the Energy Act 2023 and Online Safety Act 2023.

See below for more information on the specific testing outcomes related to new features in version 17.

Automatic tagging of references

Ticket reference

Testing result

Description

Notes

LDAPP-4272

Pass

Extend XML markup generation to add <mref> around reference groups

LDAPP-4372

Pass

Allow users to create manual cross-references from provisions in the Editor

LDAPP-4459

Pass

Update tag x-ref behaviour to account for existing unmodified refs

LDAPP-4460

Pass

Update tag x-ref behaviour to handle manual refs

Identified and fixed issues relating to:

  • re-tagging of references in provisions containing Quoted Text elements

  • duplication of <mref> tags when re-tagging a document

LDAPP-4455

Pass

Change presentation in Editor of valid internal and external x-refs

LDAPP-4427

Pass

Tag document alias references

LDAPP-4417

Pass

Extend //mref markup to internal references when manually generating x-refs (from the Structure View or Context Menu)

LDAPP-4380

Pass

Handle ephemeral block context outside of amending provisions

LDAPP-4378

Pass

Ignore X-refs in quoted text and in parenthetical descriptions

LDAPP-4375

Pass

Improve behaviour of contextual references

LDAPP-4366

Pass

Tag references inside quoted structures and quoted text

LDAPP-4365

Pass

X-refs not tagged in text preceding quoted structures with following text

LDAPP-4364

Pass

Stop //ref elements being editable directly in the Editor

LDAPP-4356

Pass

Update all the "x-ref"/"x-refs" titles to "reference"/"references"

LDAPP-4354

Pass

Investigate a method of stopping certain elements being editable

LDAPP-4343

Pass

Prevent inline elements (and PIs) from breaking X-refs

Identified and fixed a related issue where re-tagging or removing the reference tags from a reference in a document containing line numbering sometimes resulted in the reference text disappearing.

LDAPP-4276

Pass

Handle isolated external provision references

LDAPP-4273

Pass

Identify and mark up document alias definitions

LDAPP-4258

Pass

Convert hybrid ID of external provision references to http://legislation.gov.uk URLs

LDAPP-4419

Pass

Line number missing when ref with @ukl:alternativeReference attribute spans multiple lines

Version 17 includes a number of significant improvements to the automatic Tag x-refs function. This function will now identify both internal cross-references and external references to existing legislation, and tag them.

Our testing focused on the new behaviour of the automatic tagging function in a variety of document types, using real-world test data.

Documents containing the newly tagged references were then used in end-to-end tests, to ensure that existing Lawmaker functionality is unaffected by the refinements to the automatic tagging function and the tags generated by that function. We did not identify any issues relating to the interaction of core Lawmaker functions and references as part of our end-to-end tests.

Referencing toolbar and the Edit ref modal

Ticket reference

Testing result

Description

Notes

LDAPP-4353

Pass

Edit existing cross-references via modal (simplified)

LDAPP-4333

Pass

Jump to x-ref target from Editor

LDAPP-4478

Pass

Handle manual references - UI

We tested the newly expanded referencing toolbar (which appears when double-clicking on a reference in the Editor) in all document types. We checked for potential user interface problems connected to the expanded toolbar, and we checked that initiating actions from the toolbar produced the same result as initiating those actions from the right-click menu.

We checked that the new reference toolbar had no effect on the performance of the Editor when opening larger documents.

User feedback helped us to identify an issue with the appearance and layout of the ‘Edit ref’ modal on smaller screens. We intend to fix this in the next minor Lawmaker release.

Generation of citation footnotes in SIs

Version 17 gives users the ability to automatically generate citation footnotes in SIs. We checked the content and format of these auto-generated footnotes using a large number of real SI documents imported from legislation.gov.uk.

Improved sorting of amendments on the Amendment Manager tab

Version 17 replaces the ‘OoC Sort’ button on the Amendment Manager tab with a ‘Sort by Marshalled Order’ button that correctly sorts amendments in the table according to the order in which they will appear in official lists. We tested the new sorting using Commons, Lords, and Scottish Parliamentary amendments, and ensured that the ordering logic was correct.

We identified and fixed an issue affecting sorting of large numbers of amendments (over 200). The fix has been included in the final version 17 build.

Quoted text

We tested Quoted Text elements in UK Bills, Scottish Bills, and SIs. We checked that existing Editor functions continued to work in documents containing these elements.

We identified an issue where a Quoted Text element at the start of a line caused line numbering to miss out that line. This has been fixed in the final version 17 build.

Church Measures

Version 17 now supports Church Measures documents. We tested the core Lawmaker functions in the Editor and on the Project tab in Church Measures projects to ensure that users can draft and manage Measures in Lawmaker.

User feedback enabled us to identify some features which were not enabled for Church Measures (including the push/pull function and the ‘Submit to TNA’ action for enacted Measures). We worked with the development team to enable and test those features for Measures, and have included the necessary changes in the final version 17 release.

Significant issues found during testing

  1. We identified a bug which prevented images displaying in the Editor. This has been fixed in the final version 17 build.

  2. We identified a problem with the tag x-refs function and the ‘remove reference tag’ action which affected some references in documents containing line numbering. Where a reference extended over the end of a line, using the automatic tagging function or the ‘remove reference tag’ action (from the right-click menu or the floating toolbar) would sometimes remove both the XML tags and the textual content of the reference. Only the reference tags should be removed. This has been fixed in the final version 17 build.

  3. The automatic reference tagging function sometimes added additional reference tags around existing references; that has been fixed in the final build.

Specific functions tested

Auto-apply

In addition to the automated testing of auto-apply functionality which is part of the development process, we tested auto-application of real amendments to the Renters Reform Bill and Digital Markets, Competition and Consumers Bill.

We compared the results of auto-applying the same amendments on Production and Staging and did not identify any differences.

We re-tested using versions of those bills which had been automatically tagged on Staging (to see if any newly tagged references affected auto-application outcomes), and did not find any regressions.

Inline amending

Editor performance

  • No labels