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: entity sub-grid count when 0 #139

Merged
merged 5 commits into from
Sep 16, 2022

Conversation

AhmedD43
Copy link
Contributor

@AhmedD43 AhmedD43 commented Sep 13, 2022

Purpose

Fixes #138.

Approach

Bypasses the EasyRepro calls and instead retrieved the count of rows from the x or y text in the sub-grid footer.

TODOs

  • Automated test coverage for new code
  • Documentation updated (if required)
  • Build and tests successful

@AhmedD43
Copy link
Contributor Author

@tdashworth, here is the pull request relating to the fixes we have made on the specflow bindings project.

@AhmedD43 AhmedD43 closed this Sep 13, 2022
@AhmedD43 AhmedD43 reopened this Sep 13, 2022
@osagiestar
Copy link
Collaborator

Looks good to me

@tdashworth tdashworth linked an issue Sep 13, 2022 that may be closed by this pull request
Copy link
Contributor

@tdashworth tdashworth left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution 😄 a couple of comments if you could look at, please.

Also, wasn't the same fix required for #137?

@tdashworth tdashworth changed the title Fixed lookup steps.cs and entity sub grid steps.cs fix: entity sub-grid count when 0 Sep 13, 2022
@tdashworth
Copy link
Contributor

After reviewing #137 again, it doesn't look to be the same solution.

Commented out some code from EasyRepro and included the relevant link on GitHub relating to the issue.

Co-authored-by: Tom Ashworth <tom.ashworth@capgemini.com>
@sonarcloud
Copy link

sonarcloud bot commented Sep 13, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@tdashworth
Copy link
Contributor

Thanks for the contribution @AhmedD43 @osagiestar and team.

When merging you can specify the commit message. Please follow to convention commit pattern e.g. ‘fix: asserting sub-grid count when there are 0 actual rows’.

Copy link
Collaborator

@osagiestar osagiestar left a comment

Choose a reason for hiding this comment

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

Looks good to me

@tdashworth tdashworth merged commit c88f2a2 into master Sep 16, 2022
@tdashworth tdashworth deleted the FixedLookupSteps.csANDEntitySubGridSteps.cs branch September 16, 2022 09:24
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.

test: EntitySubGridStepsFeature.SearchInSubgrid failing
3 participants