Skip to content
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

support saving debug info for cucumber outlines #3630

Merged
merged 2 commits into from
Nov 20, 2023

Conversation

akostadinov
Copy link
Contributor

@akostadinov akostadinov commented Nov 20, 2023

We didn't get any debug information for cucumber outlines.
After last cucumber upgrade I'm not sure we've got for normal scenarios
either.

Now on failure of any oulines (as well scenarios) we should see
something like:

Saved console log to /home/avalon/ws/repos/porta/tmp/capybara/features/api/services/api_docs.feature/115.log
Saved exception with backtrace to /home/avalon/ws/repos/porta/tmp/capybara/features/api/services/api_docs.feature/115.txt
Saved page body to /home/avalon/ws/repos/porta/tmp/capybara/features/api/services/api_docs.feature/115.html
Saved screenshot to /home/avalon/ws/repos/porta/tmp/capybara/features/api/services/api_docs.feature/115.png

This is very useful in CI when we can't reproduce locally.

@akostadinov akostadinov self-assigned this Nov 20, 2023
@akostadinov akostadinov changed the title <!-- Thanks for sending a pull request! Here are some tips for you: 1. Please remember to ALWAYS open an issue before starting to work on your pull request. Please take the time to validate your intentions for the pull request with the project maintainers before spending the time to work on it, so your time does not go to waste. 2. If this is your first time, please make sure you've gone through the Contribution guide. 3. If the PR is unfinished, add a [WIP] at the start of the PR title. You can remove it when it's ready to be reviewed. --> support saving debug info for cucumber outlines Nov 20, 2023
@akostadinov akostadinov requested a review from a team November 20, 2023 13:03
We didn't get any debug information for cucumber outlines.
After last cucumber upgrade I'm not sure we've got for normal scenarios
either.

Now on failure of any oulines (as well scenarios) we should see
something like:
```
Saved console log to /home/avalon/ws/repos/porta/tmp/capybara/features/api/services/api_docs.feature/115.log
Saved exception with backtrace to /home/avalon/ws/repos/porta/tmp/capybara/features/api/services/api_docs.feature/115.txt
Saved page body to /home/avalon/ws/repos/porta/tmp/capybara/features/api/services/api_docs.feature/115.html
Saved screenshot to /home/avalon/ws/repos/porta/tmp/capybara/features/api/services/api_docs.feature/115.png
```

This is very useful in CI when we can't reproduce locally.
@akostadinov akostadinov merged commit 85ec167 into 3scale:master Nov 20, 2023
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.

3 participants