Commit graph

50 commits

Author SHA1 Message Date
kolaente
d272eb2a7a
Merge branch 'main' into fix/upcoming
# Conflicts:
#	src/views/tasks/ShowTasks.vue
2022-02-05 20:02:30 +01:00
kolaente
a5b0a834bc
fix(tests): make sure the namespace exists before trying to run the history tests
If there's no namespace, there is no lists in state to show in the view. The CI runs all tests from a blank state which isn't the case when running the tests locally. Therefore, if the test doesn't create a new namespace, there won't be any to test for.
2022-01-30 22:51:29 +01:00
kolaente
b7c8138ad5
fix(tests): make sure to create all lists before doing anything 2022-01-30 22:47:59 +01:00
kolaente
9995abf64c
fix: mark broken test as skipped 2022-01-30 22:11:26 +01: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
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
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: https://kolaente.dev/vikunja/frontend/pulls/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
58207db6c3
fix: kanban tests 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: https://kolaente.dev/vikunja/frontend/pulls/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
7dddfea79e
fix: test 2021-12-30 16:14:51 +01:00
konrad
31f0c384ac feat: add button to clear active filters (#924)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/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
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
30d699df2d fix: non unique ids (#672)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/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
konrad
3c7f8d7aa2 Reorder tasks, lists and kanban buckets (#620)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/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: https://kolaente.dev/vikunja/frontend/pulls/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
kolaente
f3d4295049
Add frontend tests for list history 2021-07-07 10:26:31 +02:00
konrad
f0498fd767 Add translations (#562)
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/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
konrad
8c3dd387a3 Add more global state tests (#521)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/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: https://kolaente.dev/vikunja/frontend/pulls/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
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
konrad
e0be77d88f Move list edit/namespace to separate pages and in a menu (#397)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/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: https://kolaente.dev/vikunja/frontend/pulls/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: https://kolaente.dev/vikunja/frontend/pulls/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: https://kolaente.dev/vikunja/frontend/pulls/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
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: https://kolaente.dev/vikunja/frontend/pulls/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
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
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
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: https://kolaente.dev/vikunja/frontend/pulls/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