aboutsummaryrefslogtreecommitdiff
path: root/QA.md
blob: 45986eead53cfc33d3e37abf9718b3ff92401a82 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# Checklist for testing Vim Vixen

## Operations

Test operations with default key maps.

### Scrolling

- [ ] `k`,`j`,`<C-E>`,`<C-Y>`,`h`,`l`: scroll vertically and horizonally
- [ ] `<C-U>`,`<C-D>`: scroll up and down by a half of page
- [ ] `<C-B>`,`<C-F>`: scroll up and down by page
- [ ] `0`,`$`: scroll leftmost and rightmost
- [ ] `gg`:`G`: scroll to top and bottom

### Console opening

The behaviors of the console are tested in [Console section](#consoles).

#### Console

- [ ] `:`: 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`

#### Scrolling

- [ ] `k`/`<C-Y>`,`j`/`<C-E>`: scroll up and down
- [ ] `h`,`l`: scroll left and right
- [ ] `<C-U>`,`<C-D>`: scroll up and down by half of screen
- [ ] `<C-B>`,`<C-F>`: scroll up and down by a screen
- [ ] `0`,`$`: scroll to leftmost and rightmost
- [ ] `gg`,`G`: scroll to top and bottom

#### 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 `: do nothing
- [ ] select tab matched with an URL
- [ ] select tab matched with a title
- [ ] select tabs rotationally when more than two tabs are matched

## Settings

### Validations

- show error on invalid json
- show error when top-level keys has keys other than `keymaps`, and `search`

#### `"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