arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.12158cs.SE
收藏

ReproBreak:可重复的网页定位断裂数据集

ReproBreak: A Dataset of Reproducible Web Locator Breaks

Ruhr University Bochum(鲁尔大学波鸿分校)

Thiago Santos de Moura, Leon Adamietz, Samra Mehboob, Yannic Noller

AI总结:

本文提出ReproBreak数据集,用于评估Cypress和Playwright中定位碎片化问题,通过分析359个开源仓库发现449个可重复的定位断裂案例,并提供自动化复现脚本。

摘要:

自动化GUI测试框架如Cypress和Playwright依赖定位器来查找和交互网页元素。当被测应用的结构发生变化导致定位器无法找到目标元素时,就会发生定位断裂,即使底层功能未改变,测试也会失效。尽管这对测试维护有重大影响,但目前尚无大规模评估Cypress和Playwright定位脆弱性的数据集。本文提出了ReproBreak,一个包含可重复定位断裂的网页应用GUI测试数据集。我们分析了359个开源仓库以识别包含定位更改的提交。为了确认这些更改是否确实导致定位断裂,我们在定位更改最多的前4个项目中复现了这些更改,并发现了449个定位断裂案例,这些案例包含在数据集中,并附有自动化复现脚本。我们相信ReproBreak是一个有价值的资源,用于支持定位脆弱性、修复技术和测试鲁棒性方面的研究。视频可在https://youtu.be/mZByS_TnCvE获取。数据集在https://github.com/rub-sq/ReproBreak。

英文摘要:

Automated GUI testing frameworks such as Cypress and Playwright rely on locators to find and interact with web elements. A locator break occurs when a structural change in the application under test causes a locator to no longer find its target element, resulting in test breakages even when the underlying functionality remains unchanged. Despite its impact on test maintenance, no dataset exists to evaluate locator fragility in Cypress and Playwright at scale. In this paper, we present ReproBreak, a dataset of reproducible locator breaks in web application GUI tests. We analyzed 359 open-source repositories to identify commits that contain locator changes. To confirm whether these changes are indeed locator breaks, we reproduced them in the top 4 projects with the largest number of locator changes and found 449 locator breaks, which are provided in the dataset along with scripts for automated reproduction. We believe ReproBreak serves as a valuable artifact to support research on locator fragility, repair techniques, and test robustness. The video is available at: https://youtu.be/mZByS_TnCvE. The dataset is at https://github.com/rub-sq/ReproBreak.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑