You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nextcloud/apps/dav/tests/unit
François Freitag 70edda0342 Port dav calendar settings page to Vue.js
- Drop reliance on deprecated global jQuery object.
- Allow testing user interactions.
- Use newer technology stack.

---

Test user interactions with the groupware dav settings

Add infrastructure to test Vue components:

- Use recommended libraries:

    - https://vuejs.org/v2/guide/testing.html#Recommendations
    - Use jest-dom for robust assertions on the DOM state
    - Use user-event to be more representative of user actions

- Code is transpiled by Jest, with the help of vue-jest.

Ignore test files for no-unpublished-import. Prevent ESLint from
flagging:

```
/home/runner/work/server/server/apps/dav/src/views/CalDavSettings.spec.js
Error:   1:24  error  "@testing-library/vue" is not published         node/no-unpublished-import
Error:   2:23  error  "@testing-library/user-event" is not published  node/no-unpublished-import
```

Signed-off-by: François Freitag <mail@franek.fr>
3 years ago
..
AppInfo Fix PluginManager annotation 3 years ago
Avatars Update the license headers for Nextcloud 20 4 years ago
BackgroundJob php cs fix 3 years ago
CalDAV Rewrite birthday calendar tests without $this->at() 3 years ago
CardDAV Fix CS check 3 years ago
Command Fix MoveCalendarTest 3 years ago
Comments Update all license headers for Nextcloud 21 3 years ago
Connector Fix test 3 years ago
Controller Rewrite birthday calendar tests without $this->at() 3 years ago
DAV Make dav respect disallowing sharing with groups 3 years ago
Direct add event for when a direct download is triggered 3 years ago
Files Update the license headers for Nextcloud 20 4 years ago
Listener Parse calendar object for attendees and emit interaction events 3 years ago
Migration Rewrite birthday calendar tests without $this->at() 3 years ago
Provisioning/Apple Update the license headers for Nextcloud 20 4 years ago
Search Add tel, note, org and title search 3 years ago
Settings Port dav calendar settings page to Vue.js 3 years ago
SystemTag Update all license headers for Nextcloud 21 3 years ago
Upload Update all license headers for Nextcloud 21 3 years ago
CapabilitiesTest.php Update license headers for 19 4 years ago
ServerTest.php Update all license headers for Nextcloud 21 3 years ago
bootstrap.php Update license headers 5 years ago
phpunit.xml Adding AvatarHomeTest 7 years ago