Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
128 commits
Select commit Hold shift + click to select a range
39c52a8
wip: first stab at map/assert
refractalize Mar 1, 2018
94a357c
wip: midway through complete rewrite
refractalize Mar 8, 2018
fbb5866
more rewriting...
refractalize Mar 12, 2018
4cbbef2
remove chai dependency
refractalize Mar 14, 2018
ead934e
better error stack trickery, buttons
refractalize Mar 15, 2018
a337e72
fields, removed events
refractalize Mar 28, 2018
0729d14
more work on fields
refractalize Apr 5, 2018
735cf6e
wait for iframe to be ready
refractalize Apr 18, 2018
af94f6a
better checkbox handling
refractalize Jan 8, 2019
5540916
Merge remote-tracking branch 'origin/master' into map-assert
refractalize Jan 8, 2019
4071929
All tests are passing locally
artemave Jan 9, 2019
8d58d10
Fix not returning promise
artemave Jan 10, 2019
7e22780
Use IE compatible version of debug module
artemave Jan 10, 2019
31084f6
Tests are passing on IE
artemave Jan 14, 2019
68f3e73
changed Selector to Query
refractalize Jan 15, 2019
320f996
work on set and assert
refractalize May 31, 2019
3c578ef
more crap
refractalize May 31, 2019
8b412ea
continuing to rewrite internals, better assert() errors
refractalize Jun 14, 2019
6e6b3b1
removed resolved mode for queries
refractalize Jun 16, 2019
ae3c549
set/assert support for checkboxes, selects
refractalize Jun 16, 2019
dc46003
click, containing specs
refractalize Jun 17, 2019
c4cdb58
remove unused code
artemave Jun 17, 2019
e9696f9
all tests passing
refractalize Jun 17, 2019
ef951c2
fixed react onChange event for inputs
refractalize Jun 17, 2019
fe03cfe
typescript compilation on git install
refractalize Jun 17, 2019
790702d
define objects
refractalize Nov 30, 2019
66a0de7
non-incremental text input
refractalize Nov 30, 2019
e2cd23d
refactored DOM manipulation into Dom class
refractalize Dec 1, 2019
c76aa6c
add Query.detect()
refractalize Dec 2, 2019
2ce1a48
move new interface into Query.ts, deprecate v2 interface
refractalize Dec 2, 2019
a9f9fa3
select/option can assert value or text
refractalize Dec 2, 2019
1b56392
stricter object assertions
refractalize Dec 2, 2019
c6c3d63
labels, improved selector syntax
refractalize Dec 16, 2019
b3dd6be
renamed element and elements to elementResult and elementsResult
refractalize Dec 17, 2019
ab9b347
can assert HTML attributes
refractalize Dec 24, 2019
e0c01f0
options and scope are immutable
refractalize Jan 15, 2020
5631511
submit changes, less mutating methods
refractalize Jan 16, 2020
759d81b
make sure we prevent the page from being reloaded mid-test
refractalize Jan 17, 2020
c90b5a0
all tests are typescript now
refractalize Jan 17, 2020
1a24835
upgrade packages
refractalize Jan 17, 2020
9c17599
added missing file
refractalize Jan 23, 2020
9c9039a
remove unused (v2) features and files
refractalize Jan 23, 2020
5eb8c10
remoced assembly stuff
refractalize Jan 30, 2020
63e0874
feedback from testing
refractalize Feb 10, 2020
35fee80
find by placeholders
refractalize Feb 10, 2020
ffbb15a
do more with regex
refractalize Feb 10, 2020
948da75
some improvements to mounts
refractalize Mar 23, 2020
9f3c6bb
enterText can enter {Enter} and other keys
refractalize Mar 23, 2020
3ba9408
massive 2x performance improvement for retry
refractalize Mar 23, 2020
efb0f72
missing file
refractalize Mar 23, 2020
f42808b
disable karma tests for the moment
refractalize Mar 23, 2020
b32e653
publish only dist
refractalize Mar 23, 2020
b2b78ed
v3.0.0-beta.1
refractalize Mar 23, 2020
ea6f07d
added source files for source map
refractalize Mar 26, 2020
7e28b3c
v3.0.0-beta.2
refractalize Mar 26, 2020
7e26114
add tests dir
refractalize Mar 31, 2020
8bf2e07
v3.0.0-beta.3
refractalize Mar 31, 2020
e27216c
expectOneElement expectSomeElements become shouldHaveElements(n)
refractalize Apr 13, 2020
80419b1
Label -> Field
refractalize Jul 6, 2020
af97f82
shouldContain and containing less strict about number of matching values
refractalize Jul 6, 2020
0fba7ef
some small improvements
refractalize Jul 6, 2020
12bd4fd
better error messages for containing
refractalize Jul 9, 2020
5d06821
upgrade babel to avoid No "exports" main resolved error in webpack
refractalize Jul 9, 2020
6496f3e
Fix `unmount()` breaking when called more than once
artemave Aug 12, 2020
414a77a
Fix no compiled dist when bm is installed as git dependency
artemave Aug 13, 2020
a2b4889
Working codesandbox example
artemave Sep 7, 2020
5e87935
Upgrade quickstart.md
artemave Sep 11, 2020
c9e9e68
Fixing build
artemave Sep 11, 2020
014a8f8
eslint ignore docs
artemave Sep 11, 2020
da9acf1
Try different circleci image
artemave Sep 11, 2020
8b04542
Rm duplication
artemave Sep 12, 2020
285c929
Fix `enterText('{Enter}')` not submitting form
artemave Oct 9, 2020
faa9353
Fix polyfill event constructors overwriting native event constructors
artemave Oct 9, 2020
d60163d
Rm postinstall script and add docs scripts
artemave Oct 9, 2020
9e9c82f
Simplify test
artemave Oct 9, 2020
bce582f
Update package.json version to match npm
artemave Oct 9, 2020
8f8ad73
Update npm version
artemave Oct 9, 2020
313f3c4
v3.0.0-beta.6
refractalize Oct 9, 2020
f35b101
update electron/electron-mocha, fix tests and remove jquery
artemave Nov 6, 2020
83c607d
Update running example
artemave Nov 6, 2020
2045cdb
Upgrade all the things and fix all the builds
artemave Nov 7, 2020
fca0916
Fox {Enter} causing full page submit in Firefox
artemave Dec 4, 2020
878a165
v3.0.0-beta.7
artemave Dec 4, 2020
3b5395a
Docs
artemave Dec 4, 2020
036c0ad
More docs
artemave Dec 28, 2020
fb93374
More docs
artemave Dec 31, 2020
659f875
Stronger types
artemave Jan 3, 2021
23a9a14
Proper type signature for `containing()`
artemave Jan 16, 2021
d5223ec
`any` -> `Array<HTMLElement>`
artemave Jan 16, 2021
3a31421
More typed arguments in publick API
artemave Jan 17, 2021
5827303
Fix a couple of type definitions
artemave Jan 17, 2021
0a858e4
more docs
artemave Jan 30, 2021
f532e41
Better types
artemave Jan 30, 2021
a85cf07
Make `map` private
artemave Feb 5, 2021
1b58322
Use `shouldExist()` as default assertion
artemave Feb 6, 2021
5771cfa
Complete "defalut expectation" change
artemave Feb 7, 2021
f4f564b
allow select elements to be found using Field syntax
refractalize Feb 11, 2021
0fab0cc
labelSpec -> fieldSpec to suit name of selector
refractalize Feb 11, 2021
8c42624
v3.0.0-beta.8
artemave Feb 25, 2021
5da54ea
Add missing export
artemave Mar 2, 2021
155f899
Upgrade electron
artemave Mar 2, 2021
ba86884
Export *Mount separately
artemave Mar 8, 2021
a2b3185
Bump version
artemave Mar 8, 2021
455292c
v3.0.0-beta.10
artemave Mar 8, 2021
7aff89f
add support for radio buttons
refractalize Mar 19, 2021
bd267b7
Fix events firing in wrong order
artemave Mar 19, 2021
082795b
v3.0.0-beta.11
artemave Mar 19, 2021
76a8dbc
Move some methods to private + docs
artemave Mar 19, 2021
69732e6
Docs
artemave Mar 20, 2021
d37a0a1
better name for test
refractalize Apr 2, 2021
c9c0c44
test watch command using entr
refractalize Apr 2, 2021
3909088
add docsify dep
refractalize Apr 2, 2021
2d1a302
Add `yarn watch-docs`
artemave Apr 2, 2021
7bfdfcc
Docs
artemave Apr 2, 2021
7cf3dde
Change `define*/options` to modify current instance rather than
artemave Apr 2, 2021
df21504
Docs
artemave Apr 2, 2021
bec57d6
jsdom and jest support
refractalize Apr 2, 2021
f79089f
Better method names
artemave May 3, 2021
9921ef0
Docs
artemave May 3, 2021
0c9f502
big change to definitions/matchers
refractalize May 7, 2021
38f335d
rename matcher -> finder
refractalize May 10, 2021
b0a2b35
Upgrade node modules
artemave May 31, 2021
66ae3bd
v3.0.0-beta.12
artemave May 31, 2021
81b751d
Input with no type is a text input
artemave May 31, 2021
4602603
v3.0.0-beta.13
artemave May 31, 2021
41c02a1
Fixing browserstack karma
artemave May 31, 2021
9133570
Fix codesandbox example
artemave May 31, 2021
96df076
Docs
artemave Jun 1, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .babelrc

This file was deleted.

2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ version: 2
jobs:
build:
docker:
- image: circleci/node:11.5-browsers-legacy
- image: circleci/node:12-browsers

working_directory: ~/repo

Expand Down
37 changes: 37 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
module.exports = {
"env": {
"browser": true,
"es6": true,
"node": true,
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"mocha",
],
ignorePatterns: [
"dist/",
"docs/",
"docs-dist/",
],
overrides: [
{
files: ['*.ts', '*.tsx'],
rules: {
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "error",
},
}
]
};
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@
*.orig
/node_modules/
.DS_Store
/dist/
docs-dist/
.exrc
*Mount.js*
19 changes: 0 additions & 19 deletions angular.js

This file was deleted.

14 changes: 14 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module.exports = {
"presets": [
"@babel/preset-react",
[
"@babel/preset-env",
{
"targets": {
// "ie": "10"
"node": true
}
}
]
]
}
13 changes: 0 additions & 13 deletions create.js

This file was deleted.

Empty file added docs/.nojekyll
Empty file.
1 change: 1 addition & 0 deletions docs/CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
browsermonkey.org
7 changes: 7 additions & 0 deletions docs/_sidebar.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
- [Introduction](introduction)
- [Quick start](quickstart)
- [API Reference](api)
- **Links**
- [![Code](https://icongr.am/feather/code.svg?size=16&color=808080)Demo Sandbox](https://codesandbox.io/s/bm3-example-demo-sandbox-gzr7j?module=/test/app.spec.js)
- [![Github](https://icongr.am/devicon/github-original.svg?color=808080&size=16)Github](https://github.com/featurist/browser-monkey)
- [![NPM](https://icongr.am/devicon/npm-original-wordmark.svg?size=16&color=currentColor)NPM](https://www.npmjs.com/package/browser-monkey)
Loading