browser-monkey icon indicating copy to clipboard operation
browser-monkey copied to clipboard

browser-monkey 3

Open refractalize opened this issue 7 years ago • 2 comments

  • add map, mapAll, and ensure
  • remove dependency on jQuery
  • remove dependency on chai
  • tests are much much faster, since we stub out retry mechanism
  • retry can be overridden
  • better error messages, showing how many elements were found after each query
  • using "assemblies" to run tests against DOM and VDOM (no VDOM yet tho)
  • handleEvent is now async so we can slow down actions for demos
  • can call .then() or await on a query (finder?) to get the current elements
  • [ ] fix async stacktraces
  • [ ] update readme
  • [ ] vdom support
  • [ ] improve error messages. e.g. expected some elements (found: scope [1], iframeContent [1], find('.message') [0], elements [0]) -> expected at least one html element at iframeContent [1] -> find('.message') [0]

refractalize avatar Mar 12 '18 13:03 refractalize

Ideally should be able to do this

browser.set({
  Email: '[email protected]',
})

browser.assert({
  Email: '[email protected]',
})

refractalize avatar Jan 08 '19 11:01 refractalize

This index.js - module.exports = require('./create')() - creates bm instance at require time. Probably not what I want most of the time. Should it better be module.exports = require('./create') ?

artemave avatar Jan 09 '19 17:01 artemave