Intent-preserving regeneration of end-to-end tests from DOM changes using Large Language Models
- Imran Al Munyeem(corresponding author),
- Mohammad Ahmad,
- Easyask24 Ltd,
- University of Bedfordshire,
- ,
Research Output:
Chapter in Book/Report/Conference proceeding
Conference contribution
Research
Peer-reviewAbstract
<p>Web end-to-end (E2E) tests often fail after front-end changes because modifications to the Document Object Model (DOM) invalidate selectors, even when the user workflow remains unchanged. This paper presents a method for automated repair of broken UI tests by modelling repair as intent preserving regeneration instead of selector substitution. We introduce a pipeline, which, by combining the use of DOM differencing, summarising the changes, test regeneration with a constrained LLM and multi-level validation in terms of syntax and workflow structure as well as execution and selector robustness, is presented. A pilot evaluation in a set of DOM evolution scenarios shows the ability of this approach to regenerate executable tests automatically in most of the cases and to preserve major aspects of the initial workflow. Failure analysis reveals that UI changes and dynamic visibility conditions are still difficult to deal with. These results provide exploratory evidence that intent-preserving regeneration can automatically restore executability for a substantial portion of UI test failures caused by DOM evolution.</p>
Publication Information
Output type
Research Output:
Chapter in Book/Report/Conference proceeding
Conference contribution
Research
Peer-reviewOriginal language
EnglishPages from-to (Number of pages)
Pages 182-189 (8 pages)Publication milestones
- Published - 29/09/2026
Publication status
Published - 29/09/2026
Publisher
Institute of Electrical and Electronics Engineers Inc., United StatesPublication series
- Publication series name: 2026 the 12th International Conference on Computer Technology Applications, ICCTA 2026
ISBN (Electronic)
9798319529886Publication IDs
- Scopus: 105054882876
Host publication title
2026 the 12th International Conference on Computer Technology Applications, ICCTA 2026Access to documents
Related Event
Title
12th International Conference on Computer Technology Applications, ICCTA 2026
Event type
ConferenceDate
17/06/2026 - 19/06/2026Location
ViennaAustria
