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

Look up lowercased URLs in lowercased items dict #3658

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

ayoy
Copy link
Collaborator

@ayoy ayoy commented Dec 10, 2024

Task/Issue URL: https://app.asana.com/0/1201037661562251/1208943052282180/f

Description:
This change fixes looking up bookmarks in the lowercased items dictionary by also lowercasing
the URL in question.

Steps to test this PR:

  1. Verify that UI tests pass.

You can test manually by opening a mixed case URL such as https://pl.wikipedia.org/w/index.php?title=The_Mandalorian_%28sezon_1%29&oldid=75295490&veaction=edit and trying to bookmark it via context menu -> Bookmark Page. The bookmark icon in the address bar should be filled, indicating that the URL is now bookmarked.

Definition of Done:


Internal references:

Pull Request Review Checklist
Software Engineering Expectations
Technical Design Template
Pull Request Documentation

Copy link
Collaborator

@jotaemepereira jotaemepereira left a comment

Choose a reason for hiding this comment

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

I tested it and it looks good 👍🏼 .

@ayoy This findBookmark should be easy to test, can you add some unit tests related to this, so we are sure we will not have this issue ni the future?

@ayoy
Copy link
Collaborator Author

ayoy commented Dec 11, 2024

@jotaemepereira let me work on unit tests separately and let's have this merged first to unblock UI tests. Thanks for the review!

@ayoy ayoy merged commit b393d48 into release/1.118.0 Dec 11, 2024
36 checks passed
@ayoy ayoy deleted the dominik/fix-bookmarks-ui-tests branch December 11, 2024 20:18
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