7.6 KiB
Checklist for testing Vim Vixen
Keybindings in JSON settings
Test operations with default key maps.
Console
The behaviors of the console are tested in Console section.
Misc
- y: yank current URL and show a message
- p: open clipboard's URL in current tab
- P: open clipboard's URL in new tab
- p: search clipboard's keywords in current tab
- P: search clipboard's keywords in new tab
- Toggle enabled/disabled of plugin bu Shift+Esc
- Hide error and info console by Esc
- Vim-Vixen icons changes on Shift+Esc
- Add-on is enabled and disabled by clicking the indicator on the tool bar.
- The indicator changed on selected tab changed (changes add-on enabled)
- Notify to users on add-on updated at first time.
Following links
- 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 - Select link and open it in
<area>
tags, for f and F - Open new tab in background by
"background": true
Consoles
Exec a command
-
<EMPTY>
: 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
: search with empty keywords; yahoo redirects to top page -
open
: open default search engine -
tabopen
: do above tests replacedopen
withtabopen
, and verify the page is opened in new tab -
winopen
: do above tests replacedopen
withwinopen
, and verify the page is opened in new window -
buffer
: do nothing -
buffer <title>
,buffer <url>
: select tab which has an title matched with -
buffer 1
: select leftmost tab -
buffer 0
,buffer <a number more than count of tabs>
: shows an error -
select tabs rotationally when more than two tabs are matched
-
buffer %
: select current tab (nothing to do) -
buffer #
: select last selected tab -
addbookmark
creates a bookmark -
q
,quit
: close current tab -
qa
,quitall
: close all tabs -
bdelete
: delete a not-pinned tab matches with keywords -
bdelete
: show errors no-tabs or more than 1 tabs matched -
bdelete
: can not delete pinned tab -
bdelete!
: delete a tab matches with keywords -
bdelete!
: delete a pinned tab matches with keywords -
bdeletes
: delete tabs with matched with keywords excluding pinned -
bdeletes!
: delete tabs with matched with keywords including pinned
Completions
History and search engines
open<SP>
: show all engines and some history itemsopen g
: complete search engines starts withg
and matched with keywordsg
open foo bar
: complete history items matched with keywordsfoo
andbar
set
: show prperties starts with keywords- The completions shows histories, search engines, and bookmarks.
- also
tabopen
andwinopen
- shortening commands such as
o
are not test in this release - Complete commands matched with input keywords in the prefix.
Buffer command
buffer<SP>
: show all opened tabs in completionbuffer x
: show tabs which has title and URL matches withx
- shows tab index and marks
Buffer command
bdelete
,bdeletes
: show tabs excluding pinned tabsbdelete!
,bdeletes!
: show tabs including pinned tabs
Misc
- Select next item by Tab and previous item by Shift+Tab
- Reopen tab on only current window by u
Properties
-
Configure custom hint character by
:set hintchars=012345678
-
Configure custom hint character by settings
"hintchars": "012345678"
in add-on preferences -
Opened tabs is in child on Tree Style Tab
-
Smooth scroll by
:set smoothscroll
-
Non-smooth scroll by
:set nosmoothscroll
-
Configure smooth scroll by settings
"smoothscroll": true
,"smoothscroll": false
-
Show search engine, bookmark and history items in order by
:set complete=sbh
-
Show bookmark, search engine, and search engine items in order by
:set complete=bss
-
Configure completion items by setting
"complete": "sbh"
,"complete": "bss"
Settings
JSON Settings
Validations
- show error on invalid json
- show error when top-level keys has keys other than
keymaps
,search
,blacklist
, andproperties
"keymaps"
section
- show error on unknown operation name in
"keymaps"
"search"
section
- validations in
"search"
section are not tested in this release
"blacklist"
section
github.com/a
blocksgithub.com/a
, and not blocksgithub.com/aa
github.com/a*
blocks bothgithub.com/a
andgithub.com/aa
github.com/
blocksgithub.com/
, and not blocksgithub.com/a
github.com
blocks bothgithub.com/
andgithub.com/a
*.github.com
blocksgist.github.com/
, and notgithub.com
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
Properties
- show errors when invalid property name
- show errors when invalid property type
Form Settings
Search Engines
- able to change default
- able to remove item
- able to add item
"blacklist"
section
- able to add item
- able to remove item
github.com/a
blocksgithub.com/a
, and not blocksgithub.com/aa
github.com/a*
blocks bothgithub.com/a
andgithub.com/aa
github.com/
blocksgithub.com/
, and not blocksgithub.com/a
github.com
blocks bothgithub.com/
andgithub.com/a
*.github.com
blocksgist.github.com/
, and notgithub.com
Updating
- keymap settings are applied to open tabs without reload
- search settings are applied to open tabs without reload
Settings source
- show confirmation dialog on switched from json to form
- state is saved on source changed
- on switching form -> json -> form, first and last form setting is equivalent to first one
For certain sites
- scroll on Hacker News
- able to scroll on Gmail and Slack
- Focus 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
- The pages is shown in https://pitchify.com/
- Open console in http://www.espncricinfo.com/
Find mode
- open console with /
- highlight a word on Enter pressed in find console
- Search next/prev by n/N
- Wrap search by n/N
- Find with last keyword if keyword is empty
- Find keyword last used on new tab opened
Misc
- Work on
about:blank
- Able to map
<A-Z>
key. - Open file menu by Alt+F (Other than Mac OS)