loki

๐Ÿ‘ Visual Regression Testing for Storybook

MIT License

Downloads
2.7M
Stars
1.7K
Committers
65
loki - 0.20.2

Published by oblador over 4 years ago

  • Add compatibility with Storybook 5 in loki init command
  • Pass through third storiesOf param
  • Disable pointer events to combat unintended :hover styles
  • Add loki command alias to entry package for yarn add global support
  • Wait between retries when launching stories tab to combat flakiness in Circle CI
loki - 0.20.1

Published by oblador over 4 years ago

Bug fixes

  • Fix bug where looks-same differ would not properly detect changes.
loki - 0.20.0

Published by oblador over 4 years ago

New features

  • New fileNameFormatter config enabling any custom file format of snapshot files.
  • Support separate configuration file, as .lokirc or loki.config.js.

Bug fixes

  • Fix bad file reference in react-native integration
loki - 0.19.1

Published by oblador over 4 years ago

Bug fixes

  • Fix elements with zero width/height but having padding treated as invisible.
loki - 0.19.0

Published by oblador over 4 years ago

New features

  • New improved concurrency model
  • New interactive console output renderer
  • New AWS Lambda renderer for large test suites
  • New fetchFailIgnoreย config to support not failing for specified failed fetches

Bug fixes

  • Fix race condition when automatically adjusting viewport for tall content
  • Add Storybook for compatibility for react-native
  • Fix looks-same config params reading
loki - 0.18.1

Published by oblador almost 5 years ago

  • Math.ceil the height value passed to setDeviceMetricsOverride to fix "Invalid parameters height" errors
loki - 0.18.0

Published by oblador about 5 years ago

  • BREAKING: Automatically adjust height in Chrome
  • Add Image.propTypes to Image proxy
loki - 0.17.1

Published by oblador about 5 years ago

  • Fix regression in getNetworkHost
loki - 0.17.0

Published by oblador over 5 years ago

  • BREAKING CHANGE: Make docker seccomp usage opt-out
loki - 0.16.0

Published by oblador over 5 years ago

  • Add --dockerWithSudo option to run docker commands with sudo
  • Add retries when fetching chrome storybook
loki - 0.15.1

Published by oblador over 5 years ago

  • Fix "Reduce of empty array with no initial value" error when elements are invisible
loki - 0.15.0

Published by oblador over 5 years ago

  • Allow configuration of diffing libraries directly from JSON.
  • Disable CSS animations/transitions also on pseudo elements.
  • Add loki-test attribute on root node on web.
loki - 0.14.2

Published by oblador almost 6 years ago

  • Fix Image.resolveAssetSource not accessible in react-native
loki - 0.14.1

Published by oblador almost 6 years ago

Dependency updates.

loki - 0.14.0

Published by oblador almost 6 years ago

General

  • Breaking change: Auto update missing references when running locally

Chrome targets

  • Disable will-change CSS property when disabling animations
  • Add support for emulating media to test print styles and more
  • Fix timeouts when selector has zero dimensions
  • Exclude invisible elements from the target selector dimensions calculation
loki - 0.13.0

Published by oblador over 6 years ago

  • Fix Storybook 4.0 support by deprecating skip/async monkey patching and adding lokiSkip/lokiAsync addon instead. (#79 by @nowells)
  • Make docker download a separate step (#83 by @oblador)
  • Fix relative URLs not being resolved for chrome.app (#81 by @oblador)
  • Fix final output of failed url loading errors (#82 by @oblador)
loki - 0.12.0

Published by oblador over 6 years ago

  • Potentially breaking: Add support to getSelectorBoxSize for complex layouts (#78 by @techeverri)
loki - 0.11.0

Published by oblador over 6 years ago

  • Breaking change: chromeTolerance setting now defaults to 0.
  • Breaking change: requireReference and verboseRenderer are now true by default on CI
  • Improve pending request detection for chrome (esp helpful for webfonts).
  • Support skip/async helpers in newer versions of storybook
  • Allow docker to run from sibling container
loki - 0.10.0

Published by oblador over 6 years ago

  • Removed JSDOM and now using Chrome to fetch stories on web. This fixes issues with some APIs not being properly polyfilled.
  • Added new --verboseRenderer option that outputs progress in a way more suitable for CI environments.
  • Added new --chromeRetries option to optionally retry when taking a screenshot fails.
  • Fixed gm errors not being outputted properly
  • Fixed react-native dependency check when there's no dependencies field in package.json
  • Increased docker shared memory to 1gb which fixes some timeouts in Chrome.
loki - 0.9.2

Published by oblador over 6 years ago

  • Fixed could not parse url argument "?" error