QA/Fennec/iOS/find in page

< QA‎ | Fennec‎ | iOS

Private Browsing Test Plan

Feature Reference

  • Meta Bug: bug 1164067
  • Overal Status:
    • Beta:
  • Owner:(Catalin Suciu, irc: csuciu)

Requirements

  • Ensure finding a user-specified text in the open tab, have a visual indication that the text string is found and works correctly on the page. Re-position to that spot.
  • Have a mechanism to go to another matched instance if the first match is not what the user was looking for

User Stories

  • As a user, I want to find a specific text string on a web page I am on (like a time from a timetable) when scrolling through a page isn't practical.
  • As a user, I want to be able to cycle through matched entries in case the first match is not what I was looking for.
  • As a user, I want the page to position itself to the matched string so I don't need to do extra scrolling to find the match.

Acceptance Criteria

  • I can specify a user specified text string and the page moves to the matched string and cycles through all the matched strings.

Additional Info

  • Chrome and Safari both have 'find in page'. This is a feature parity play.
    • Chrome notes:
      • Found in the 3-dot, drop-down menu
      • No 'match case' option
      • Counts number of instances
      • Back / forward buttons to navigate between matched instances
      • Highlights the matched string in-text
    • Safari notes:
      • Found in the share plane
      • No 'match case' option
      • Does not count number of instances
      • Back/ forward buttons to navigate between matched instances
      • Highlights the matched string in-text

Testing details

Test cases

  • Visit www.mozilla.org , open the Share menu and tap on Find in Page
    • A text entry field is displayed on the top of the VKB along with previous and next arrows, a counter and a close button
  • Enter 'Mozilla' in the visible text field
    • The first referenced case of 'Mozilla' should be shown and the counter should show the correct number of instances
  • Tap the down arrow
    • The second referenced case of 'Mozilla' should be shown and the counter should increment with 1
  • Tap the up arrow
    • The first referenced case of 'Mozilla' should be shown and the counter should decrement with 1
  • Scroll the page down
    • All references of 'Mozilla' should be highlighted
    • All highlighted references of 'Mozilla' should be cleared.
  • Dismiss the VKB by tapping on the content page
    • The 'Find in Page' toolbar is moved to the bottom of the browser
  • Scroll the page to unhide the bottom toolbar
    • The 'Find in Page' toolbar is moved above the bottom toolbar
  • Tap the close button
    • The bottom 'Find in Page' toolbar should close
  • Visit the website: http://en.wikipedia.org/wiki/mozilla
    • The site is correctly displayed
  • Go to the first paragraph and long-press on the 'Mozilla'
    • The text selection menu should open
  • Tap on 'Find in Page'
    • The 'Find in Page' toolbar should open. The text area should be pre-filled with 'Mozilla'
  • Scroll the page
    • All references of 'Mozilla' should be highlighted
  • Long-press on a different word and tap on 'Find in page'
    • The text area in the 'Find in page' toolbar should update with the current selection

Date:2016-01-22

  • Device:
    • iPhone 6S with iOS 9.2
  • Build:
    • 2.0(2)
  • New issues:
    • bug 1242360 - View jumps to the top of the page when clearing text from "Find in Page"

Date:2016-01-28

  • Device:
    • iPhone 6 Plus with iOS 9.2.1
  • Build:
    • 2.0(3)
  • New issues:
    • None
  • Verified bugs:
    • bug 1239796 - Update close asset [X] on Find in Page bar
    • bug 1229593 - Find in Page: Support searching from text selection

Bugzilla

  • Find-in-page [META]
Full Query
ID Priority Summary Status Assigned to
1229593 -- Find in Page: Support searching from text selection VERIFIED Brian Nicholson (:bnicholson)
1229595 -- Find in Page: Animate between results RESOLVED Bryan Munar (:bkmunar)
1233284 -- Pre-land Find in Page strings RESOLVED Brian Nicholson (:bnicholson)
1235446 -- Use inputAccessoryView for find-in-page bar to improve the animation NEW
1235860 -- Hiding the keyboard for find-in-page causes accidental taps on the page NEW
1235882 -- Find in Page tests RESOLVED Brian Nicholson (:bnicholson)
1239796 -- Update close asset [X] on Find in Page bar VERIFIED
1241215 -- Find in Page does not match any simple links RESOLVED
1245360 -- Find in page hangs the browser for awhile RESOLVED Brian Nicholson (:bnicholson)

9 Total; 2 Open (22.22%); 5 Resolved (55.56%); 2 Verified (22.22%);