garris / garris/BackstopJS

feature request: selctor-based link crawling

Open
#94 2 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
JavaScript
Stars
7.2k
Forks
621
PR merge metrics
No merged PRs in 30d

Description

A `"crawlSelectors": []` property will be added to each scenario in the `backstop.json` config file. For each matching crawlSelector, a collection of matching elements will be returned. For each matching element, the original URL will be reloaded and the current element index will receive a click event. The resulting page or state will be loaded and tested inheriting all the test properties (except `crawlSelctors`) from the parent scenario.

This would enable rudimentary testing of various page links, pop-up and control states.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.