Repository navigation
Fix release for two defects in 1.8.0. Upgrade if you run PrestaShop 9 or pin a version per suite. (#70)
Fixes
importPage('FrontOffice')works again on PrestaShop 9. 1.8.0 dropped the area base pagesPages\v9\FrontOffice\PageandPages\v9\BackOffice\Page. On PS 9 this failed withClass "…\Pages\v9\FrontOffice\Page" not found, which made the newVisualTestsSuiteunusable there, and broke every custom page extending either class. Both are back.- A suite's own PrestaShop version now applies. The
$psVersionproperty andonVersion()announced in 1.8.0 changed nothing: the suite kept the version fromPRESTAFLOW_PS_VERSION. The version is now resolved when the suite loads its globals, and again whenonVersion()is called, so the pages imported next come from the pinned namespace. Resolution order:onVersion()>$psVersion>PRESTAFLOW_PS_VERSION>8.1.0.
Upgrade
composer update prestaflow/php-library:^1.8.1
No API change. Drop-in patch release.