Files
Oliver Günther e363d2f2fd Remove accessible-by-keyboard a11y component (#9331)
* Replace accessible-by-keyboard

* Replace messed up inplace styles with work-package-comment bem block

The styles are not used anymore except for work package comments anyway

* Replace split view icons with buttons

* Make back-button its own bem block

* Replace button in hide-section component

* Replace activity buttons

* Replace notification icon

* Replace collapsible-section

* Replace config-menu

* Make attribute help text trigger a button

* Ensure all buttons are role=button

* Replace inplace save controls

* Replace relations buttons

* Replace relation toggle button

* Replace relation row buttons

* Replace breadcrumb parent

* Replace activities toggler

* Remove accessible-by-keyboard component

* Fix button role to button type

* Fix indent

* Bemmify media query

* Fix specs
2021-05-31 14:18:14 +00:00

616 B

Running tests

OpenProject is a hybrid application with most parts being Rails, along with some directives being used within Rails templates (the legacy application), and an Angular frontend for isolated SPA-like Modules such as the Work Packages module.

Frontend specs

The Angular frontend services and components can be tested with frontend specs.

If you want to test services that have no dependencies, a simple instantiation of that class is sufficient to test the service in isolation. A good example is frontend/src/app/components/projects/current-project.service.spec.ts