2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-25 16:20:53 +00:00

[PUI] Add more tests ()

* add coverage to PUI

* fix testing command

* always do all steps

* fix test assumptions

* add test for serving and logging into pui from django / cui tech stack

* fix up coverage

* fix intentation

* remove paralell flags

* remove coverage finish step

* remove flag

* change names

* add full clickdown test

* more tests

* more tests

* sprinkle in some timeouts

* try using admin

* disable page 1 tests for now

* remove additional tests for now

* only build sourcemaps if coverage is enabled

* fix sourcemap assumption

* add more tests

* fix test

* Update package.json

* move tests to seperate file

* rename test files

* move defaults to seperate file

* centralise user creds

* lower migration level

* re-add page 1

* rename and split tests

* split out problematic test

* Add thumbnail building step

* remove unneded steps

* fix filename

* add more logging

* add sourounding table

* add missing tabs

* wait instead of click

* fix test

* split tests out more

* disable test for stock

* tes part sub-pages

* split tests more

* add company tests

* more sales testing

* split parts testing

* Add test for settings + admin center
This commit is contained in:
Matthias Mair
2024-04-14 12:24:22 +02:00
committed by GitHub
parent bdabdd38cc
commit f15a3009bb
11 changed files with 401 additions and 17 deletions

@ -907,6 +907,7 @@ def setup_test(c, ignore_update=False, dev=False, path='inventree-demo-dataset')
src = Path(path).joinpath('media').resolve()
dst = get_media_dir()
print(f'Copying media files - "{src}" to "{dst}"')
shutil.copytree(src, dst, dirs_exist_ok=True)
print('Done setting up test environment...')