Skip to content

Commit

Permalink
Fix bugs and add continuous testing
Browse files Browse the repository at this point in the history
  • Loading branch information
DyHex committed Apr 16, 2024
1 parent e8ff951 commit 0cfc19f
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .changeset/seven-bags-complain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
"pomwright": patch
---

# Continuous testing & bug fixes

## Bug fixes

- getLocatorBase.applyUpdate() now correctly updates the LocatorSchemaWithMethod and maintains a circular ref. for the entry representing itself in schemasMap
- getLocatorBase.applyUpdates() now correctly updates the LocatorSchemaWithMethod and maintains a circular ref. for the entry representing itself in schemasMap while updating other LocatorSchema in SchemasMap directly.
- getLocatorBase.deepMerge() now correctly validates valid nested properties of LocatorSchema

## Continuius testing

- Build workflow now runs unit tests (vitest)
- New shell script enabling testing new packages before release
- New test workflow for POMWright integration tests (Playwright/test)
- 52 new unit tests, more to come..
- 4 new integration tests, more to come..

New release has also been tested with a seperate Playwright/test project leveraging POMWright (~100 E2E tests)

0 comments on commit 0cfc19f

Please sign in to comment.