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: false positive recent votes tests #1166

Open
wants to merge 36 commits into
base: mainsail-develop
Choose a base branch
from

Conversation

alexbarnsley
Copy link
Member

Summary

Noticed when working on #1101 (https://app.clickup.com/t/86dvdmpme)

The tests were looking for an address associated with a transaction (e.g. $voteTransaction->address) which returned null. This was allowing the Livewire assertSeeInOrder checks to think it was passing since it must just skip over null checks.

Requires #1101 to be merged first

Checklist

  • I checked my UI changes against the design and there are no notable differences
  • I checked my UI changes for any responsiveness issues
  • I checked my UI changes in light AND dark mode
  • I checked my (code) changes for obvious issues, debug statements and commented code
  • I opened a corresponding card on Clickup for any remaining TODOs in my code
  • I added a short description on how to test this PR (if necessary)
  • Documentation (if necessary)
  • Tests (if necessary)
  • Ready to be merged

alexbarnsley and others added 30 commits December 18, 2024 18:32
…ArdentHQ/arkscan into feat/reintegrate-username-functionality
@alexbarnsley alexbarnsley changed the base branch from mainsail-develop to feat/reintegrate-username-functionality January 22, 2025 14:54
Base automatically changed from feat/reintegrate-username-functionality to mainsail-develop January 22, 2025 16:23
]);
});

it('should sort name in ascending order', function () {
Copy link
Member Author

Choose a reason for hiding this comment

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

There's a new test so these were no longer needed

@alexbarnsley alexbarnsley marked this pull request as ready for review January 24, 2025 01:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants