Skip to search boxSkip to navigationSkip to main content

Intent-preserving regeneration of end-to-end tests from DOM changes using Large Language Models

  • Imran Al Munyeem(corresponding author)
    ,
  • Mohammad Ahmad
    ,
*Corresponding author for this work
Research Output:
Chapter in Book/Report/Conference proceeding
Conference contribution
Research
Peer-review

Abstract

<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-review

Original language

English

Pages 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 States

Publication series

  • Publication series name: 2026 the 12th International Conference on Computer Technology Applications, ICCTA 2026

ISBN (Electronic)

9798319529886

Publication IDs

  • Scopus: 105054882876

Host publication title

2026 the 12th International Conference on Computer Technology Applications, ICCTA 2026

Related Event

Title

12th International Conference on Computer Technology Applications, ICCTA 2026

Event type

Conference

Date

17/06/2026 - 19/06/2026

Location

ViennaAustria