What goes in the user story and the feature file?

Feature file: behavior of the feature described in ‘simple language’ (called gherkin)

This is what I use to help distinguish:

User stories define the ‘what’ of the feature to implement

And the feature file explains ‘how’ the implementation will behave

Both have thier own place and importance, therefore should not be tried to combine into one another

Plus I feel this is where BDD has the greatest value, elaborating the user story in terms of the precise desired behavior of the implementation and used across the team

More here:
https://lnkd.in/fRrAM7Z