How to use the zombie.debug function in zombie

To help you get started, we’ve selected a few zombie examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ferblape / instagram-realtime-demo / spec / acceptance / app_spec.js View on Github external
describe("Validate callback URL", function() {
  Browser.debug = true;
  var browser = new Browser();

  it("should contain hub.challenge value in the body of the response", function() {
    browser.visit("http://localhost:3000/callback?hub.mode=subscribe&hub.challenge=15f7d1a91c1f40f8a748fd134752feb3&hub.verify_token=myVerifyToken", function() {
      expect(browser.statusCode).toEqual(200);
      expect(browser.text("body")).toEqual("15f7d1a91c1f40f8a748fd134752feb3");
    });
  });
});

zombie

Insanely fast, full-stack, headless browser testing using Node.js

MIT
Latest version published 6 years ago

Package Health Score

56 / 100
Full package analysis