Skip to content

Releases: angrykoala/wendigo

Wendigo 2.1.1

25 May 20:09
4d98fdc
Compare
Choose a tag to compare

Changelog

  • Improvements on XPath recognition in wendigoQuery
  • XPath queries will now filter any not-element result

Wendigo 2.1.0

23 May 20:42
8392b78
Compare
Choose a tag to compare

Changelog

  • Support for urls without protocol
  • Get cookies from different domain
  • AddClass, removeClass and setAttribute methods
  • Delete cookie support for Puppeteer's interface
  • Added incognito attribute to browser
  • assert.textContains and not.textContains support for an array as expected texts
  • Browser.selector support for DOMElement and XPath
  • WaitForText support for simple quotes
  • Minor delay added to waitUntilCalled method in request mocks
  • Minor improvements in assertion error handling

Wendigo 2.0.2

20 May 22:33
247c9af
Compare
Choose a tag to compare

Changelog

  • FindByText and FindByTextContaining now support simple quotes (')
  • Proper support for XPath on waitFor and watAndClick
  • Some dependencies updated

Wendigo 2.0.1

08 May 10:37
e7c5926
Compare
Choose a tag to compare

Patched a problem with mocks responding with status code 422 (issue #354)

Changelog

  • Puppeteer reverted to 1.14.0 (bug in mock with status 422)
  • Minor fix in readme

Wendigo 2.0.0

03 May 16:08
94272f4
Compare
Choose a tag to compare

This release contain breaking changes with previous releases. Most of the API is compatible, but some behavior is changed. Keep in mind the following if updating from an older version:

  • Browser.queryXPath removed
  • Removed clearRequestMocks option. Some behavior related to request mocks may change
  • Get Cookie now return an object instead of a value
  • Changes in plugin system. Dropped support for not assertions
  • Removed deprecated methods assert.cookie, assert.webworker and assert.not.cookie
  • Browser.request.all changed into a function
  • WaitForRequest/Response and waitForNextRequest/Response moved to requests module
  • Browser.assert.request renamed to browser.assert.requests
  • Assertions now always return promises

Changelog

  • Wendigo refactored into TypeScript
  • Browser.query and browser.queryAll now support XPath selectors
  • Browser.queryXPath removed
  • Removed clearRequestMocks option, mocks are only removed on browser close
  • Cookies now support extra cookie parameters
  • XPath improvements with axis support and minor fixes
  • Added new methods to DomElement class
  • More support for XPath and DOMElement selectors
  • Complex subqueries with multiple parent elements supported
  • Changes in plugin system. Dropped support for not assertions
  • Removed deprecated methods assert.cookie, assert.webworker and assert.not.cookie
  • Browser.request.all changed into a function to make it consistent with other modules
  • WaitForRequest/Response and waitForNextRequest/Response moved to requests module
  • Browser.assert.request renamed browser.assert.requests to keep consistency
  • Assertions now always return promises for consistency
  • Fixed bug where settings on dialog module where not being updated properly
  • Fixed bug where mocks with querystring where not being updated properly
  • Removed dependency mixwith
  • Dependencies updated
  • Puppeteer updated to 1.15
  • Readme updated and several minor fixes in it

Wendigo 1.13.1

20 Apr 11:42
17289e1
Compare
Choose a tag to compare

Changelog

  • Some dependencies updated
  • Deprecation notice in favor of 2.0

Wendigo 1.13.0

29 Mar 20:22
9d5866e
Compare
Choose a tag to compare

This release is compatible with previous releases, but there are a few minor changes in behaviour that may affect your code:

  • A call to browser.evaluate now may return a DOMElement
  • ElementFromPoint now return null instead of undefined, making it more similar to native document.elementFromPoint
  • Puppeteer updated to 1.14.0, this may affect performance or introduce undetected bugs

Changelog

  • Support for an object with assert and not functions for a plugin
  • RegExp support for waitForUrl
  • Mock.trigger accepts an optional response
  • Browser.evaluate now supports returning DOMElements
  • Puppeteer updated to 1.14.0
  • Cookies is now fully implemented as a plugin
  • ElementFromPoint not returns null if no element is found

Wendigo 1.12.1

29 Mar 20:15
54c1b5d
Compare
Choose a tag to compare

Changelog

  • Minor improvements to dockerfile
  • Fix of console.warn logs when set the option log: true

Wendigo 1.12.0

24 Mar 23:58
a357a65
Compare
Choose a tag to compare

Changelog

  • Browser.assert.tag and browser.assert.not.tag
  • Browser.tag
  • Browser.findByAttribute
  • Added proxyServer option in create browser
  • Minor fixes in some error messages

Wendigo 1.11.0

24 Mar 17:49
a08eba7
Compare
Choose a tag to compare

Changelog

  • Browser.triggerEvent
  • Browser.tap
  • Browser.blur
  • Browser.click with multiple elements will perform clicks sequentially
  • Mock waitUntilCalled will now trigger after the response was sent