Skip to content

Step reference not being resolved for valid lines #100

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 12, 2025

Conversation

tomb50
Copy link

@tomb50 tomb50 commented Jun 27, 2025

This appear to be due to the cache key not being provided and therefore defaulting to the name of the CachedValueProviders class, which in this case is an anonymous class (lambda). Reading the docs on CachedValueProvider and CacheValue I get the impression that they are expected to represent single values, as such this looks to be a bug as all steps would have the same key?

Fixed by specifying the key as the story text

Before:

Screenshot from 2025-06-27 13-53-29

After:

image

This appear to be due to the cache key not being provided and therefore defaulting to the name of the anonymous lambda
@picimako picimako merged commit fbd9e8a into witspirit:master Jul 12, 2025
3 checks passed
@picimako
Copy link
Collaborator

@tomb50 Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants