luckyframework / luckyframework/lucky_flow

Show what page was rendered when spec fails

Open
#9 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Crystal
Stars
55
Forks
9
PR merge metrics
No merged PRs in 30d

Description

This really helps with debugging. Still need to figure out how to do this so other frameworks can use it. Maybe embed a special comment in the HTML

```html

```

Then if an element is not found

```
> Looking on page: Users::IndexPage
```

So if you're expecting to be in the SignIns::NewPage you'd be able to see that the page wasn't even correct

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the existing spec failure path for missing elements and determine how rendered HTML can carry a framework-neutral page marker. Use the proposed flow-page-name comment and the “Looking on page” output as the acceptance criteria, while checking how the behavior can support other frameworks.

Written by the indexing model from the issue text.

Assessment

Tech stack
crystal
Domain
testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.