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

Testing for 0.3 #96

Merged
merged 3 commits into from
Oct 26, 2017
Merged

Testing for 0.3 #96

merged 3 commits into from
Oct 26, 2017

Conversation

ueokande
Copy link
Owner

@ueokande ueokande commented Oct 26, 2017

Checklist for testing Vim Vixen

Operations

Test operations with default key maps.

Scrolling
  • k or Ctrl+Y, j or Ctrl+E: scroll up and down
  • h, l: scroll left and right
  • Ctrl+U, Ctrl+D: scroll up and down by half of screen
  • Ctrl+B, Ctrl+F: scroll up and down by a screen
  • 0, $: scroll to leftmost and rightmost
  • gg, G: scroll to top and bottom
Console

The behaviors of the console are tested in Console section.

  • :: open empty console
  • o, t, w: open a console with open, tabopen, winopen
  • O, T, W: open a console with open, tabopen, winopen and current URL
  • b: open a consolw with buffer
Tabs
  • d: delete current tab
  • u: reopen close tab
  • K, J: select prev and next tab
  • r: reload current tab
  • R: reload current tab without cache
Navigation
  • f: start following links
  • F: start following links and open in new tab
  • H, L: go back and forward in histories
  • [[, ]]: find prev and next links and open it
  • gu: go to parent directory
  • gU: go to root directory
Misc
  • zi, zo: zoom-in and zoom-out
  • zz: set zoom level as default
  • y: yank current URL and show a message

Consoles

Exec a command
  • <EMPTY>, <SP>: do nothing

  • open an apple: search with keywords "an apple" by default search engine (google)
  • open github.com: open github.com
  • open https://github.com: open github.com
  • open yahoo an apple: search with keywords "an apple" by yahoo.com
  • open yahoo,open yahoo<SP>: search with empty keywords; yahoo redirects to top page
  • open,open<SP>: open default search engine

  • tabopen: do avobe tests replaced open with tabopen, and verify the page is opened in new tab
  • winopen: do avobe tests replaced open with winopen, and verify the page is opened in new window

  • buffer,buffer<SP>: do nothing
  • buffer <title>, buffer <url>: select tab which has an title matched with
  • buffer 1: select leftmost tab
  • buffer 0, buffer 99: shows an error
  • select tabs rotationally when more than two tabs are matched

Completions

History and search engines
  • open: show no completions
  • open<SP>: show all engines and some history items
  • open g: complete search engines starts with g and matched with keywords g
  • open foo bar: complete history items matched with keywords foo and bar
  • also tabopen and winopen
  • shortening commands such as o are not test in this release
Buffer command
  • buffer: show no completions
  • buffer<SP>: show all opened tabs in completion
  • buffer x: show tabs which has title and URL matches with x

Settings

Validations
  • show error on invalid json
  • show error when top-level keys has keys other than keymaps, search, and blacklist
"keymaps" section
  • show error on unknown operation name in "keymaps"
"search" section
  • validations in "search" section are not tested in this release
Updating
  • changes are updated on textarea blure when no errors
  • changes are not updated on textarea blure when errors occurs
  • keymap settings are applied to open tabs without reload
  • search settings are applied to open tabs without reload

Events are fired on Slack and Twitter (#54)

  • Fucus text box on Twitter or Slack, press j, then j is typed in the box
  • Focus the text box on Twitter or Slack on following mode

Multi frame support (#61)

  • Show hints on following on a page containing <frame>/<iframe>
  • Show hints only inside viewport of the frame on following on a page containing <frame>/<iframe>
  • Show hints only inside top window on following on a page containing <frame>/<iframe>
  • Select link and open it in the frame in <iframe>/<frame> on following by f
  • Select link and open it in new tab in <iframe>/<frame> on following by F

Empty suggestion (#65)

  • Show competions for :open/:tabopen/:buffer on console after closed

Disable add-on temporary (#86)

  • Toggle enabled/disabled of plugin bu Shift+Esc

URL blacklist (#90)

  • github.com/a blocks github.com/a, and not blocks github.com/aa
  • github.com/a* blocks both github.com/a and github.com/aa
  • github.com/ blocks github.com/, and not blocks github.com/a
  • github.com blocks both github.com/ and github.com/a
  • *.github.com blocks gist.github.com/, and not github.com

Improve for aberration pages (#93)

  • able to scroll on Gmail and Slack

Link with target='_blank' link (#94)

  • open link with target='_blank' in new tab by f
  • open link with target='_blank' in new tab by F

@ueokande ueokande merged commit 20318b5 into master Oct 26, 2017
@ueokande ueokande deleted the QA branch November 5, 2017 01:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant