Commit Graph

134 Commits

Author SHA1 Message Date
konrad 81cf8f2f29 feat(tests): replace cypress-file-upload with .selectFile() (#1460)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#1460
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2022-01-30 16:17:03 +00:00
kolaente 3f893fb16d
fix(tests): don't visit / directly but use navigation instead 2022-01-30 15:25:34 +01:00
kolaente 05350affad
fix(tests): don't assert for h3 anymore 2022-01-30 14:37:41 +01:00
kolaente 6ab7aac5ce
fix(tests): wait until lists are loaded 2022-01-30 14:10:46 +01:00
kolaente 6c1857b133
fix(tests): assert absence of last viewed headline more precisely 2022-01-30 14:03:50 +01:00
kolaente 3212bc8e86
fix(tests): add more waits for namespaces loaded 2022-01-30 14:00:14 +01:00
kolaente e6eb48b5af
fix(tests): wait until namespaces are loaded before checking if the history is present 2022-01-30 13:07:08 +01:00
kolaente 423195155e
Merge branch 'main' into feature/vue3-modals-with-router-4 2022-01-30 12:40:36 +01:00
konrad cd92d224a2 Merge branch 'main' into feature/login-improvements 2022-01-23 17:06:49 +00:00
Dominik Pschenitschni 6db0559b81 fix: replace faker with community fork faker-js/faker (#1408)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#1408
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-01-20 07:54:39 +00:00
kolaente e2d9aa3d7f
Merge branch 'main' into feature/vue3-modals-with-router-4
# Conflicts:
#	src/router/index.ts
#	src/views/tasks/TaskDetailView.vue
2022-01-18 21:47:17 +01:00
kolaente 01323a1b45
Merge branch 'main' into fix/upcoming
# Conflicts:
#	src/views/tasks/ShowTasks.vue
2022-01-09 11:48:37 +01:00
dmorlitz 044f2b927d feat: changed green "Done" button to read "Mark task done" (#1340)
The green button can be confusing because the wording "Done" can be interpreted as "done editing the task" or "the task should be marked as done". Changing the text in the button makes the description more precise.

Co-authored-by: David Morlitz <david@morlitz.com>
Reviewed-on: vikunja/frontend#1340
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dmorlitz <david@morlitz.com>
Co-committed-by: dmorlitz <david@morlitz.com>
2022-01-08 21:18:06 +00:00
kolaente 19a161ff78
fix: password validation field in test 2022-01-08 13:49:07 +01:00
konrad c618b7e0b6 fix: namespace new buttons on mobile (#1262)
Before:

![image](/attachments/7626e28d-8a13-4f92-b162-697676f765c7)

After:

![image](/attachments/5331af47-4887-4ba5-98d7-ee70311e20d7)

Co-authored-by: kolaente <k@knt.li>
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#1262
Reviewed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2022-01-05 12:46:33 +00:00
Dominik Pschenitschni f3358269e5
fix task remove label test 2022-01-04 21:55:32 +01:00
Dominik Pschenitschni 58207db6c3
fix: kanban tests 2022-01-04 21:55:31 +01:00
Dominik Pschenitschni da8cf13619
fix: task done label test 2022-01-04 21:55:31 +01:00
Dominik Pschenitschni e78d47fdcf
fix: list specs 2022-01-04 21:55:30 +01:00
Dominik Pschenitschni 5937f01cc5
fix: list loading 2022-01-04 21:55:30 +01:00
Dominik Pschenitschni cdbd1c2ac4 feat: create BaseButton component (#1123)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#1123
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-01-04 18:58:06 +00:00
kolaente de77393905 feat: move the calculation of the current salutation to a different function 2022-01-04 18:44:07 +00:00
kolaente 7dddfea79e
fix: test 2021-12-30 16:14:51 +01:00
konrad f8d009a6aa feat: add message component (#1082)
This PR adds a simple message component that replaces bulma's default message.

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#1082
Reviewed-by: dpschen <dpschen@noreply.kolaente.de>
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-11-28 14:18:27 +00:00
dpschen 981babd691 fix: remove mentioning of context (#1017)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#1017
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-11-22 21:36:17 +00:00
dpschen d0d4096f8b feature/use-setup-api-for-user-and-about-pages (#929)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#929
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-11-14 20:57:36 +00:00
konrad 31f0c384ac feat: add button to clear active filters (#924)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#924
Reviewed-by: dpschen <dpschen@noreply.kolaente.de>
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-11-13 19:48:06 +00:00
dpschen 30cc89fe25 feat: add vite-svg-loader and add Logo component (#971)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#971
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-11-13 14:16:14 +00:00
konrad 5040a76781 feat: move user settings to multiple components (#889)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#889
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-10-26 20:58:02 +00:00
Dominik Pschenitschni 8e1ab8e09b
Merge branch 'main' into vue3 2021-10-15 20:43:11 +02:00
dpschen e6a935f49d fix: disable service workers in cypress (#830)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#830
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-10-11 18:39:27 +00:00
Dominik Pschenitschni cc8b03778c
fix: use correct method for fakers uuid 2021-10-11 19:18:06 +02:00
Dominik Pschenitschni fd77aaa123
fix: add timeout to wait for move to finish 2021-10-11 18:08:33 +02:00
Dominik Pschenitschni 60ef07da0f
fix: give the dom some time to update for some tests to pass 2021-10-11 18:08:31 +02:00
Dominik Pschenitschni 4ae18ec162
fix: kanban drag task test 2021-10-11 18:08:30 +02:00
dpschen faa2daa876 feat: remove lodash dependency (#743)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#743
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-10-06 20:25:06 +00:00
kolaente d13f3b9b19
chore: change cypress settings to run tests in cypress without needing to modify the config 2021-10-02 20:07:38 +02:00
konrad 442e6b12e0 feat: allow quickly creating multiple tasks at once with multiline input (#796)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#796
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-09-26 18:22:28 +00:00
dpschen 8cd4bbccf6 chore: some small changes in the cypress README.md (#793)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#793
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-09-26 17:49:27 +00:00
dpschen 77352e7a8c fix spelling in cypress README (#763)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#763
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-09-21 16:59:35 +00:00
dpschen 30d699df2d fix: non unique ids (#672)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#672
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
2021-08-23 17:42:42 +00:00
kolaente 65782ca971
Fix test for saving a task description 2021-08-20 19:10:45 +02:00
kolaente 9fda82839b
Fix showing an editor save button in cases where it wasn't required 2021-08-20 18:56:50 +02:00
konrad 3c7f8d7aa2 Reorder tasks, lists and kanban buckets (#620)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#620
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-07-28 19:56:29 +00:00
konrad a08306d612 Add vite (#416)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#416
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-07-25 13:27:15 +00:00
sytone 306a926c66 Add default list setting & creating tasks from home (#520)
Co-authored-by: sytone <github@sytone.com>
Co-authored-by: Sytone <github@sytone.com>
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#520
Reviewed-by: konrad <konrad@kola-entertainments.de>
Co-authored-by: sytone <kolaente@sytone.com>
Co-committed-by: sytone <kolaente@sytone.com>
2021-07-17 21:21:46 +00:00
kolaente 0e5954cf96
Fix user test fixtures 2021-07-17 19:02:03 +02:00
kolaente 01ed17a0f0
Fix setting task favorite status in test fixtures 2021-07-13 12:18:54 +02:00
kolaente f3d4295049
Add frontend tests for list history 2021-07-07 10:26:31 +02:00
kolaente 9b4efc773b
Fix home page tests 2021-07-07 10:19:37 +02:00
konrad f0498fd767 Add translations (#562)
Reviewed-on: vikunja/frontend#562
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-06-23 23:24:57 +00:00
kolaente 4a3b4982ab
Fix saving showing archived setting 2021-06-03 15:31:39 +02:00
kolaente 80471f95e2
Improve tests 2021-05-31 21:37:21 +02:00
kolaente 9c2d076f58
Make tests less flaky 2021-05-30 21:40:56 +02:00
konrad 8c3dd387a3 Add more global state tests (#521)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#521
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-05-27 06:51:42 +00:00
konrad 2a56c84e94 Add settings for user search (#458)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#458
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-04-07 19:31:14 +00:00
kolaente 2e02a82afe
Fix table names in test fixtures 2021-03-30 20:41:05 +02:00
kolaente 51a18f07bc
Fix bucket test fixture when moving tasks between lists test 2021-03-24 22:47:32 +01:00
kolaente 2bf5ffa1a1
Fix task pagination 2021-02-20 17:10:56 +01:00
kolaente 074b7e53f5
Don't show the list color in the list view 2021-02-20 15:54:12 +01:00
kolaente 8e2dfcffd5
Fix tasks not disappearing from the kanban board when moving them between lists 2021-02-20 15:35:30 +01:00
kolaente be92db49a9
Fix setting dates in safari
Fixes #207
2021-02-03 23:06:20 +01:00
konrad e0be77d88f Move list edit/namespace to separate pages and in a menu (#397)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#397
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-01-30 16:17:04 +00:00
konrad 8828426c91 Move all content to cards (#387)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#387
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-01-24 13:00:21 +00:00
konrad d1a2eefca6 Improve consistency of the layout (#386)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#386
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-01-23 17:18:09 +00:00
kolaente eaec8c77d2
Fix flaky test part 2 2021-01-22 00:11:55 +01:00
kolaente d172d99b49
Fix flaky test 2021-01-22 00:00:58 +01:00
konrad ddadd89c64 Move all create views to better looking popups (#383)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#383
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-01-21 22:33:16 +00:00
konrad a8ada57e81 Fix team edit test (#382)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#382
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-01-21 19:14:26 +00:00
kolaente 901f76ae3b
Fix team edit test 2021-01-21 18:29:27 +01:00
kolaente 198633c51d
Fix test 2021-01-18 22:17:17 +01:00
konrad 2aceca54ca Move buttons to separate component (#380)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#380
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-01-17 17:57:57 +00:00
kolaente f3e0b79b26
Fix edit task description test 2021-01-17 14:51:30 +01:00
kolaente 0afd5005a4
Fix tests after changing button classes 2021-01-17 14:25:50 +01:00
kolaente 0102709d92
Fix create new namespace test 2021-01-17 12:15:57 +01:00
kolaente c6086ddf6c
Fix create new list test 2021-01-16 22:50:04 +01:00
kolaente a2ad84fefd
Fix task relation search test 2021-01-14 22:53:12 +01:00
konrad fe6d975134 Replace vue-multiselect with a custom component (#366)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#366
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-01-06 22:36:31 +00:00
profi248 bb2800ec40 Improve editor buttons UX (#361)
Co-authored-by: konrad <konrad@kola-entertainments.de>
Reviewed-on: vikunja/frontend#361
Reviewed-by: konrad <konrad@kola-entertainments.de>
Co-authored-by: profi248 <kostal.david8@gmail.com>
Co-committed-by: profi248 <kostal.david8@gmail.com>
2020-12-30 21:52:43 +00:00
kolaente 33f1a0dc34
Remove leftover '.only' modifier 2020-12-28 23:43:14 +01:00
kolaente ddd24825a3
Fix removing a kanban bucket 2020-12-28 23:42:09 +01:00
kolaente a2ce7e761c
Change test waits (I wish I wouldn't need them) 2020-12-18 23:52:15 +01:00
kolaente 0ca9862ffe
Add wait in cypress test for user settings 2020-12-10 15:30:10 +01:00
konrad b822b3616b Frontend Testing With Cypress (#313)
Wait until the request is finished

Wait for the newly created task exists in the dom

Wait until the login request is done

Wait until the list request is done

Make sure no user token is in local storage when trying to register

Make sure to always upload test results

Disable capturing videos of test runs in CI

Add uploading test result screenshots from ci

Assert a success notification is shown after creating a new list

Change input element locators

Fix testing for favorite lists

Make sure faked usernames are always random

Make sure the tests work

Make sure to use node 12 everywhere in ci

Add docs

Fix setting api url for running tests

Use a working node version

Ignore cypress screenshots and videos

Set cache folders

Explicitly ignore cypress files when running unit tests

Trigger Drone

Only run unit tests with yarn test:unit

Add serve dist command to serve built static files

Trigger Drone

Fix cypress image

Change cypress image

Unify test & build step back again to prevent double installation of dependencies

Add cache location config

Move test steps to separate pipeline

Run cypress tests in drone

Fix all tests

Make all factory methods static

Use factories everywhere

Cleanup

Add tests for the editor

Add tests for viewing link shares

Fix seed

Add test to make sure settings elements are hidden if the user does not have the right to edit the current list

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#313
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-12-10 13:52:35 +00:00