mirror of
https://github.com/inventree/InvenTree.git
synced 2026-06-06 08:54:24 +00:00
Fix for RenderInstance (#12058)
* Fix for RenderInstance - Do not call useNavigate within RenderInstance - This breaks any plugins which try to use RenderInstance - Pass navigate func through to <RenderInstance /> * Add playwright test for hover in forms * Add translated plugin test * Improve playwright tests * Further unit test fixes * Update docstring
This commit is contained in:
@@ -726,6 +726,11 @@ jobs:
|
||||
- name: Install Playwright OS dependencies
|
||||
if: steps.playwright-cache.outputs.cache-hit == 'true'
|
||||
run: cd src/frontend && npx playwright install-deps
|
||||
- name: Install Sample Plugin
|
||||
run: |
|
||||
pip install -U inventree-plugin-creator
|
||||
create-inventree-plugin --default
|
||||
cd MyCustomPlugin && pip install -e . && cd frontend && npm install && npm run translate && npm run build
|
||||
- name: Run Playwright tests
|
||||
id: tests
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user