Skip to content

Frontend test dont run when repo cloned #2625

@jooooosef

Description

@jooooosef

Since initially the typescript is not compiled, these files are missing and the frontend test do not work.

To reproduce

  • delete static folder
  • git submodule update --init (no we have state after having cloned the repo)
  • nix develop .#evap-frontend-dev
  • ./manage.py test --tag selenium

No it does not run.
If we do ./manage.py ts compile most test run again.
If we do ./mange.py scss all tests run again.

We should prob do the same as in the github job:

- name: Compile assets
        run: |
          python manage.py ts compile
          python manage.py scss

Metadata

Metadata

Assignees

Labels

[C] Tests and CINew or better testing and CI[T] BugThis is a bug. We don't like it. Please get rid of it.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions