Skip to content

Conversation

@refractalize
Copy link
Member

@refractalize refractalize commented Mar 12, 2018

  • 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 refractalize changed the title rewrite browser-monkey internals... browser-monkey 3 Mar 26, 2018
@refractalize
Copy link
Member Author

Ideally should be able to do this

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

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

@artemave
Copy link
Member

artemave commented Jan 9, 2019

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 added 3 commits March 2, 2021 09:54
Otherwise, using browser-monkey with webpack requires hyperdom and react
to be installed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants