hubble PWA Docs
PWA
Demo
Website
Github
PWA
Demo
Website
Github
  • What is hubble PWA?
    • Overview
    • Techstack
    • Requirements
    • Installation
    • Roadmap
    • Contact
    • Troubleshooting
  • Architecture

    • Shop Connector
    • File-based inheritance
    • Pages
    • Preinstalled Modules
    • User Session
    • Layouts
    • Components
  • Configuration
  • Theming

    • Default Theme
  • Shopware 6
    • How to set up Shopware 6 to work with hubble PWA
    • Shopware 6 Plugins
    • Shopware 6 Emotionworlds
    • i18n
    • Trade-offs
  • Module Development
    • Contribution Guide PWA
    • Tests
      • Integration Tests
      • End-To-End Tests
    • Hubble Coding Guidelines for Contributors
    • API Clients

Tests

Integration Tests

For hubble PWA is a Nuxt 3 Module, it uses @nuxt/test-utils for testing.
Test-related files are placed in __tests__ Run module integration tests:

npm run test:integration

Warning

Don't forget to place a valid .env file into __tests__/module/fixture

End-To-End Tests

As long as Nuxt doesn't support tests that require a client or real browser, those are tested via Cypress.

Run module e2e tests:

npm run test:e2e
Prev
Contribution Guide PWA
Next
Hubble Coding Guidelines for Contributors