Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Stop about pages from being shown on topSites #5728

Merged
merged 1 commit into from
Nov 21, 2016
Merged

Stop about pages from being shown on topSites #5728

merged 1 commit into from
Nov 21, 2016

Conversation

cezaraugusto
Copy link
Contributor

  • Submitted a ticket for my issue if one did not already exist.
  • Used Github auto-closing keywords in the commit message.
  • Added/updated tests for this change (for new code or code which already has tests).
  • Ran git rebase -i to squash commits (if needed).

Auditors: @bsclifton, @luixxiul

Fix #5638

Test Plan:

  • Go to any about page
  • Refresh it ~3x to make sure
  • About page shouldn't be on topSites grid
  • Bookmark the about page
  • Open a new tab
  • About page shouldn't be on topSites grid

@bsclifton
Copy link
Member

bsclifton commented Nov 19, 2016

LGTM! 😄 I checked out, ran tests. @bbondy are we clear for merging for 0.12.11?

@bsclifton
Copy link
Member

bsclifton commented Nov 19, 2016

UPDATE: sorry; I had reported this didn't work a few minutes ago, but I forgot... the top sites are only recalculated when you visit a new site. After navigating to a site, it removed the about page as expected! 😄

It seems before this change, about pages were showing it you bookmarked them (and this fixed that)

👍

.windowParentByUrl(aboutNewTabUrl)
.waitForVisible(navigator)
.moveToObject(navigator)
.moveToObject(navigator)
Copy link
Member

Choose a reason for hiding this comment

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

Is this duplicate move to navigator intended?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nope, removed. Thanks @darkdh!

Auditors: @bsclifton, @luixxiul

Fix #5638

Test Plan:

* Go to any about page
* Refresh it ~3x to make sure
* About page shouldn't be on topSites grid
* Bookmark the about page
* Open a new tab
* About page shouldn't be on topSites grid
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants