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/tests
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
..
Core Add commands to manage tags via OCC 3 years ago
Test/Repair/Owncloud Fix language codes test result order 3 years ago
acceptance Settings: new user row replaced by a modal 3 years ago
apps Validate the info.xml against the appstore schema file 6 years ago
data Correctly replace all PHP placeholders with the parameters 3 years ago
docker Use strict 3 years ago
lib Escape filename in Content-Disposition 3 years ago
objectstore make object prefix configurable 8 years ago
travis Changed name of default logfile from owncloud.log to nextcloud.log. 8 years ago
apps.php Format control structures, classes, methods and function 4 years ago
bootstrap.php Use a blank line after the opening tag 4 years ago
drone-run-integration-tests.sh Also run for .sh and .json (when not package or package-lock) 4 years ago
drone-run-php-tests.sh Also run for .sh and .json (when not package or package-lock) 4 years ago
drone-wait-objectstore.sh Kill objectstore CI if we can't create a file 6 years ago
enable_all.php Add tests 6 years ago
jestBabelTransformer.js Rewrite requesttoken.spec.js with Jest 3 years ago
jestSetup.js Port dav calendar settings page to Vue.js 3 years ago
karma.config.js jsunit: Remove warnings during test runs 3 years ago
phpunit-autotest-external.xml Adjust the phpunit config 8 years ago
phpunit-autotest.xml Bring back forgotten tests 3 years ago
preseed-config.php Format code to a single space around binary operators 4 years ago
redis-cluster.config.php Fix drone 7 years ago
redis.config.php Fix drone 7 years ago
startsessionlistener.php Format control structures, classes, methods and function 4 years ago