Commit Graph

17 Commits

Author SHA1 Message Date
kolaente 1005182a50
feat(reminders): add e2e tests for task reminders
continuous-integration/drone/push Build is passing Details
2023-06-20 15:56:39 +02:00
Dominik Pschenitschni d850d5b98f
fix(cypress): use ts for updateUserSettings
continuous-integration/drone/pr Build is passing Details
2023-01-03 16:30:46 +01:00
Dominik Pschenitschni 4908469d49
feat(cypress): use cy.session
Also align repo closer to `create-vue` template and improve cypress integration
2023-01-03 16:30:46 +01:00
Dominik Pschenitschni 6ddfba4f1f
feat(cypress): remove getSettled 2022-12-30 16:39:51 +01:00
Dominik Pschenitschni c6d214b9eb fix: cypress plugins
continuous-integration/drone/push Build is passing Details
2022-07-04 21:50:48 +00:00
Dominik Pschenitschni 321850ec20 chore: rename js files to ts 2022-07-04 21:50:48 +00:00
renovate 0f4e6fa3f2 chore(deps): update dependency cypress to v10 (#2015)
continuous-integration/drone/push Build is passing Details
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #2015
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-06-08 18:18:34 +00:00
konrad efed128f03 fix: rely on api to properly sort tasks on home page (#1997)
continuous-integration/drone/push Build was killed Details
This PR changes the behaviour of how tasks are sorted. Before, the frontend would sort tasks but this resulted in some cases where tasks were not sorted properly. Most of this is test code to reliably reproduce the problem and make fixing it easier.
The actual bug was in Vikunja's api, therefore I've removed all sorting of tasks in the frontend and ensured the api properly sorts tasks.

Fixes https://github.com/go-vikunja/frontend/issues/54

Depends on vikunja/api#1177

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #1997
Reviewed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-06-01 16:59:59 +00:00
konrad 81cf8f2f29 feat(tests): replace cypress-file-upload with .selectFile() (#1460)
continuous-integration/drone/push Build is passing Details
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #1460
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2022-01-30 16:17:03 +00:00
dpschen e6a935f49d fix: disable service workers in cypress (#830)
continuous-integration/drone/push Build is passing Details
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: #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
dpschen faa2daa876 feat: remove lodash dependency (#743)
continuous-integration/drone/push Build is passing Details
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: #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
konrad 3c7f8d7aa2 Reorder tasks, lists and kanban buckets (#620)
continuous-integration/drone/push Build is passing Details
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #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
kolaente 4a3b4982ab
Fix saving showing archived setting
continuous-integration/drone/push Build is passing Details
2021-06-03 15:31:39 +02:00
kolaente 80471f95e2
Improve tests
continuous-integration/drone/push Build is passing Details
2021-05-31 21:37:21 +02:00
kolaente 2bf5ffa1a1
Fix task pagination
continuous-integration/drone/push Build was killed Details
2021-02-20 17:10:56 +01:00
konrad d1a2eefca6 Improve consistency of the layout (#386)
continuous-integration/drone/push Build is passing Details
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #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
konrad b822b3616b Frontend Testing With Cypress (#313)
continuous-integration/drone/push Build is failing Details
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: #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