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

QA 0.9 #314

Merged
merged 5 commits into from Jan 20, 2018

Conversation

Projects
None yet
1 participant
@ueokande
Copy link
Owner

ueokande commented Jan 18, 2018

Checklist for testing Vim Vixen

Keybindings in JSON settings

Test operations with default key maps.

Scrolling

  • k, j: 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
  • Smooth scroll by :set smoothscroll
  • Non-smooth scroll by :set nosmoothscroll
  • Configure custom hint character by settings "smoothscroll": true, "smoothscroll": false

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, unable to remove pinnned tab
  • !d: delete current tab and pinned tab
  • u: reopen close tab
  • K, J: select prev and next tab
  • g0, g$: select first and last tab
  • r: reload current tab
  • R: reload current tab without cache
  • zd: duplicate current tab
  • zp: toggle pin/unpin state on current tab
  • Ctrl+6: select previous selected tab

Navigation

  • H, L: go back and forward in history
  • [[, ]]: Open next/prev link in <link> tags.
  • [[, ]]: 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
  • p: open clipbord's URL in current tab
  • P: open clipbord's URL in new tab
  • Toggle enabled/disabled of plugin bu Shift+Esc

Following links

  • f: start following links
  • F: start following links and open in new tab
  • open link with target='_blank' in new tab by f
  • open link with target='_blank' in new tab by F
  • 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
  • Configure custom hint character by :set hintchars=012345678
  • Configure custom hint character by settings "hintchars": "012345678"

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 <a number more than count of tabs>: 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
  • Show competions for :open/:tabopen/:buffer on opning just after closed

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

Misc

  • Select next item by Tab and previous item by Shift+Tab

Settings

JSON Settings

Validations
  • show error on invalid json
  • show error when top-level keys has keys other than keymaps, search, blacklist, and properties
"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 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
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 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
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
  • Tha 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

Misc

  • Work after plugin reload
  • Work on about:blank
  • Able to map <A-Z> key.
  • Open file menu by Alt+F (Other than Mac OS)

@ueokande ueokande force-pushed the qa-0.9 branch from d24a35d to 526009b Jan 20, 2018

ueokande added some commits Jan 20, 2018

@ueokande ueokande merged commit 857d7be into master Jan 20, 2018

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details

@ueokande ueokande deleted the qa-0.9 branch Jan 20, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment