Skip to content

Add Integration test for gutenberg frontend#457

Open
VikramAditya33 wants to merge 1 commit intomainfrom
fix-446
Open

Add Integration test for gutenberg frontend#457
VikramAditya33 wants to merge 1 commit intomainfrom
fix-446

Conversation

@VikramAditya33
Copy link
Copy Markdown
Collaborator

Add Integration test for gutenberg frontend

Tests Added:

  • src/views/HomeView.integration.spec.ts (9 tests)
  • src/views/AuthorListView.integration.spec.ts (9 tests)
  • src/views/LCCShelfListView.integration.spec.ts (9 tests)
  • src/stores/main.integration.spec.ts (15 tests)
  • src/views/BookDetailView.integration.spec.ts (8 tests)

Fixes #446

@VikramAditya33 VikramAditya33 requested a review from benoit74 April 3, 2026 12:50
@VikramAditya33
Copy link
Copy Markdown
Collaborator Author

@benoit74 also in the tests.yaml the build-and-test-zimui job only runs unit tests, should we change it to npm run test:all or add another command to run integration test

@benoit74
Copy link
Copy Markdown
Collaborator

benoit74 commented Apr 7, 2026

@benoit74 also in the tests.yaml the build-and-test-zimui job only runs unit tests, should we change it to npm run test:all or add another command to run integration test

Yes we need to change this. On a personal basis I kinda prefer to have two distinct steps, but this is definitely very personal bias, so I let you decide.

@VikramAditya33
Copy link
Copy Markdown
Collaborator Author

I have added npm run test:integration next to unit one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add frontend integration tests for views

2 participants