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

Fix failure screenshots on Rails 7.1 #2704

Merged
merged 1 commit into from Nov 14, 2023
Merged

Conversation

JonRowe
Copy link
Member

@JonRowe JonRowe commented Oct 21, 2023

On Rails 7.1 they access metadata directly to store the failure screenshot path, we don't allow metadata access like this and it throws an error, this patch makes a dummy metadata available for this purpose, whilst still maintaining our friendly error.

Fixes #2690

@gap777
Copy link

gap777 commented Oct 26, 2023

@JonRowe Our upgrade to Rails 7.1 is blocked pending this or another fix to #2690 ... when can this move forward?

@pirj
Copy link
Member

pirj commented Oct 26, 2023

@gap777 The best you can do is to attempt to fix this in a separate PR.

@JonRowe JonRowe merged commit c71ed25 into main Nov 14, 2023
19 checks passed
@JonRowe JonRowe deleted the fix-screenshot-meta-access branch November 14, 2023 17:01
JonRowe added a commit that referenced this pull request Nov 14, 2023
JonRowe added a commit that referenced this pull request Nov 14, 2023
JonRowe added a commit that referenced this pull request Nov 14, 2023
@JonRowe
Copy link
Member Author

JonRowe commented Nov 21, 2023

Technically released in 6.0.4 but please use 6.1.0 for Rails 7.1 support.

@davidalejandroaguilar
Copy link

This was VERY annoying, thank you for your work!

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.

Rails 7.1.beta.1: second test failure on system specs
4 participants