0.34.0 • Published 7 years ago

nrtv-minions v0.34.0

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

Do stuff in other peoples' browsers.

Start a server:

cd ~
npm install nrtv-minions
node nrtv-minions/start

Start working by visiting http://localhost:9777/minions

Add a task with the API:

var minions = require("nrtv-minions")

minions.api("http://localhost:9777").addTask(
  function(minion) {
    minion.visit("/")

    minion.pressButton(
      ".go",
      reportBack
    )

    function() {
      minion.report("ok")
    }
  },
  function(message) {
    if (message == "ok") {
      console.log("Yay, everything is OK")
    } else {
      console.log("Something went wrong.")
    }
  }
)

Notes

review every command, at least the first few for each user

flag things with adjectives

User 2354: auto-declined message with prurient content

Why

  • you always get to a point when you want to pause the test and look in the browser anyway

  • it works on any browser you want, so you can use it for testing too

  • I will need it for screencasting tests, customer support, etc anyway

  • iframe stuff doesn't work in zombiejs. In general there are holes in the zombie/jsdom coverage

  • jsdom uses ES6. Also it is a nightmare.

  • zombie uses ws which uses bufferutils which compiles stuff and slows down npm installs dramatically

0.34.0

7 years ago

0.33.0

8 years ago

0.32.0

8 years ago

0.31.0

8 years ago

0.30.0

8 years ago

0.29.0

8 years ago

0.28.0

8 years ago

0.27.0

8 years ago

0.26.0

8 years ago

0.25.0

8 years ago

0.24.0

8 years ago

0.23.0

9 years ago

0.22.0

9 years ago

0.21.0

9 years ago

0.20.0

9 years ago

0.19.0

9 years ago

0.18.0

9 years ago

0.17.0

9 years ago

0.16.0

9 years ago

0.15.0

9 years ago

0.14.0

9 years ago

0.13.0

9 years ago

0.12.0

9 years ago

0.11.0

9 years ago

0.10.0

9 years ago

0.9.0

9 years ago

0.8.0

9 years ago

0.7.0

9 years ago

0.6.0

9 years ago

0.5.0

9 years ago

0.4.0

9 years ago

0.3.0

9 years ago

0.2.0

9 years ago

0.1.0

9 years ago