Releases: dnotes/quickpickle
@quickpickle/[email protected]
Minor Changes
-
8a32a09: Add a true path sanitizer to the base World object
BREAKING CHANGE:
The base world object no longer has a public
projectRootproperty.
Instead of constructing paths that way, developers should use the
world.fullPath()method to get the full path to a file or subfolder.
This should ensure that only files below the projectRoot are accessed.Playwright and Browser world constructors no longer have the
sanitizeFilepath method. Instead, there is a new "sanitizePath"
method on the base World, which should be relatively safe even
for user input, avoiding path traversal and the like. -
15e0e06: Major refactor with breaking changes, including to the World Constructor APIs.
- Added tests for all step definitions (using Svelte) based on Playwright package tests
- Added basic instructions to README
- Added scrolling step definitions
- Added screenshot step definitions
- Added step definitions to test for integer values
- Added step definitions to check that an element is in the viewport
- Added step definitions to check for clicked items
- Changed the VitestBrowserWorld API to accommodate step definitions
- Changed the React, Vue and Svelte worlds to use the new API
BREAKING CHANGES:
- When extending the VitestBrowserWorld class, subclasses must implement the
render
andcleanupmethods. Therendermethod must not only render the component
but also set thepageproperty using RenderResult.container.
Patch Changes
- Updated dependencies [8a32a09]
@quickpickle/[email protected]
Patch Changes
- Updated dependencies [e617638]
@quickpickle/[email protected]
Minor Changes
-
8a32a09: Add a true path sanitizer to the base World object
BREAKING CHANGE:
The base world object no longer has a public
projectRootproperty.
Instead of constructing paths that way, developers should use the
world.fullPath()method to get the full path to a file or subfolder.
This should ensure that only files below the projectRoot are accessed.Playwright and Browser world constructors no longer have the
sanitizeFilepath method. Instead, there is a new "sanitizePath"
method on the base World, which should be relatively safe even
for user input, avoiding path traversal and the like.
Patch Changes
- Updated dependencies [8a32a09]
[email protected]
Patch Changes
- 9145a9c: fixed types from last update
[email protected]
Minor Changes
Patch Changes
-
2e7530d: updating packages
-
094f7dd: rollup config and hoisting for vitest browser
-
7ad035c: fix: some errors would error when formatting stack
In some environments, errors during step execution are
not formatted correctly, leading to another error that
is very unhelpful. This commit works around that problem. -
ab52cf6: fix: removed dependency on @cucumber/cucumber for DataTable
The DataTable model from @cucumber/cucumber is now mirrored by
QuickPickle because including it from the cucumber-js package
brought all the test runner stuff with it, which was too big
and messed up anything that tried to run in the browser.
@quickpickle/[email protected]
@quickpickle/[email protected]
Patch Changes
@quickpickle/[email protected]
@quickpickle/[email protected]
Minor Changes
- 1cf8cca: update dependencies
Patch Changes
- 2e7530d: updating packages
- 094f7dd: rollup config and hoisting for vitest browser
- 159542b: fix playwright actions for typing keys
- Updated dependencies [2e7530d]
- Updated dependencies [094f7dd]
- Updated dependencies [7ad035c]
- Updated dependencies [1cf8cca]
- Updated dependencies [ab52cf6]
- Updated dependencies [1162c84]