Skip to content

Conversation

@Karan710
Copy link
Collaborator

No description provided.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the final PR Bugbot will review for you during this billing cycle

Your free Bugbot reviews will reset on November 13

Details

Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

assert test_data == ["data1", "data2"] # compare directly to the fixture output

print(f"Test executed on browser: {browser} with test data: {test_data}")
print(f"Test executed on email: {email} with test data: {test_data}")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Function Override and Parametrization Issues

The file defines two functions named test_with_ignored_param. The second definition overrides the first, preventing it from running. This also masks a parameter mismatch in the first test where @pytest.mark.parametrize uses 'email' but the function expects 'browser'. Separately, the test_data fixture in the second test is indirectly parametrized but doesn't use request.param, making its parametrization ineffective.

Fix in Cursor Fix in Web

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.

1 participant