Frontend Testing With Cypress #313

Merged
konrad merged 96 commits from feature/cypress into master 2020-12-10 13:52:36 +00:00
Owner

Description

This PR adds frontend tests with cypress.

To-dos

  • Docs
  • CI
  • Tests for login and register
  • Tests for all list views
    • List
    • Gantt
    • Table
    • Kanban
    • Navigating from each view to the task detail
  • Tests for team sharing
  • Tests for avatar upload (cropping)
  • Tests for logout
  • Tests for task detail view
    • Done Label
    • Asserting done at for done tasks
    • Marking a task as done
    • Task identifier
    • Editing the description
    • Adding a comment
    • Moving the task to a different list and asserting the subtitle changed
    • Deleting a task
  • Tests for hiding ui elements when the user does not have the right to edit them (tasks, lists)
  • Tests for viewing link shares
  • Tests for the editor and all of the special features I added
  • Use factories everywhere
# Description This PR adds frontend tests with cypress. # To-dos * [x] Docs * [x] CI * [x] Tests for login and register * [x] Tests for all list views * [x] List * [x] Gantt * [x] Table * [x] Kanban * [x] Navigating from each view to the task detail * [x] Tests for team sharing * [x] Tests for avatar upload (cropping) * [x] Tests for logout * [x] Tests for task detail view * [x] Done Label * [x] Asserting done at for done tasks * [x] Marking a task as done * [x] Task identifier * [x] Editing the description * [x] Adding a comment * [x] Moving the task to a different list and asserting the subtitle changed * [x] Deleting a task * [x] Tests for hiding ui elements when the user does not have the right to edit them (tasks, lists) * [x] Tests for viewing link shares * [x] Tests for the editor and all of the special features I added * [x] Use factories everywhere
konrad added 15 commits 2020-11-28 23:09:01 +00:00
konrad added 1 commit 2020-11-29 10:09:07 +00:00
Add test for redirects
Some checks failed
continuous-integration/drone/pr Build is failing
79bbf3d243
konrad added 1 commit 2020-11-29 10:22:31 +00:00
Add test for table view
Some checks failed
continuous-integration/drone/pr Build is failing
f030742158
konrad added 1 commit 2020-11-29 10:27:49 +00:00
Refactor seeder
Some checks failed
continuous-integration/drone/pr Build is failing
f1432501eb
konrad added 1 commit 2020-11-29 10:31:06 +00:00
Refactor seeding empty tasks
Some checks failed
continuous-integration/drone/pr Build is failing
b8fa05556a
konrad added 1 commit 2020-11-29 10:49:23 +00:00
More seeder refactoring
Some checks failed
continuous-integration/drone/pr Build is failing
24b9ae90b9
konrad added 1 commit 2020-11-29 10:49:33 +00:00
Add tests for gantt
Some checks failed
continuous-integration/drone/pr Build is failing
e2fcb97b2b
konrad added 2 commits 2020-11-29 11:03:30 +00:00
konrad added 1 commit 2020-11-29 11:13:45 +00:00
Add test for dragging a task in gantt
Some checks failed
continuous-integration/drone/pr Build is failing
c01c514a59
konrad added 2 commits 2020-11-29 14:07:57 +00:00
Add tests for kanban
Some checks failed
continuous-integration/drone/pr Build is failing
b9597bd6ae
konrad added 1 commit 2020-11-29 14:50:24 +00:00
Add factories
Some checks failed
continuous-integration/drone/pr Build is failing
2311f62f4d
konrad added 1 commit 2020-11-29 14:51:26 +00:00
Use more factories
Some checks failed
continuous-integration/drone/pr Build is failing
631ccfd5e7
konrad added 1 commit 2020-11-29 14:58:40 +00:00
Add test for creating a new bucket
Some checks failed
continuous-integration/drone/pr Build is failing
25b5eeece8
konrad added 1 commit 2020-11-29 15:18:51 +00:00
Add bucket tests
Some checks failed
continuous-integration/drone/pr Build is failing
e13dda940e
konrad added 1 commit 2020-11-29 15:22:19 +00:00
Add test for deleting a bucket
Some checks failed
continuous-integration/drone/pr Build is failing
2c1467a13c
konrad added 1 commit 2020-11-29 15:49:49 +00:00
Add test for dragging kanban tasks
Some checks failed
continuous-integration/drone/pr Build is failing
2ddec0c6d7
konrad added 1 commit 2020-11-29 16:01:57 +00:00
Add tests for navigating to task detail view
Some checks failed
continuous-integration/drone/pr Build is failing
4f4a1e02c3
konrad added 2 commits 2020-11-29 16:39:28 +00:00
Add tests for creating and modifying a tesm
Some checks failed
continuous-integration/drone/pr Build is failing
054f19f62a
konrad added 1 commit 2020-11-29 18:04:29 +00:00
Add test for user settings
Some checks failed
continuous-integration/drone/pr Build is failing
e8800948af
konrad added 1 commit 2020-11-29 18:08:08 +00:00
Add test for log out
Some checks failed
continuous-integration/drone/pr Build is failing
dccc59a06f
konrad added 1 commit 2020-11-29 18:49:25 +00:00
Add tests for task detail view
Some checks failed
continuous-integration/drone/pr Build is failing
0b3779b004
konrad added 1 commit 2020-11-29 19:01:58 +00:00
Add tests for marking a task as done
Some checks failed
continuous-integration/drone/pr Build is failing
e95e25fd65
konrad added 1 commit 2020-11-29 19:08:23 +00:00
Add tests for displaying the task identifier on a list
Some checks failed
continuous-integration/drone/pr Build is failing
9bb32b966f
konrad added 1 commit 2020-11-29 19:18:18 +00:00
Add tests for editing the task description
Some checks failed
continuous-integration/drone/pr Build is failing
3db339c1e6
konrad added 1 commit 2020-11-29 19:26:15 +00:00
Add tests for adding a new task comment
Some checks failed
continuous-integration/drone/pr Build is failing
af546e75c9
konrad added 1 commit 2020-11-29 19:34:15 +00:00
Add tests for moving a task to another list
Some checks failed
continuous-integration/drone/pr Build is failing
26fdfcab12
konrad added 1 commit 2020-11-29 20:10:42 +00:00
Add tests for deleting a task
Some checks failed
continuous-integration/drone/pr Build is failing
149f5fc874
konrad added 1 commit 2020-11-29 20:12:49 +00:00
Cleanup
Some checks failed
continuous-integration/drone/pr Build is failing
9020c695f0
konrad added 1 commit 2020-11-29 20:13:31 +00:00
Cleanup
Some checks failed
continuous-integration/drone/pr Build is failing
f9ec8252a6
konrad added 1 commit 2020-11-29 20:35:22 +00:00
konrad added 1 commit 2020-12-05 16:09:16 +00:00
Fix seed
Some checks failed
continuous-integration/drone/pr Build is failing
9d2bb6698e
konrad added 1 commit 2020-12-05 16:23:46 +00:00
Add tests for viewing link shares
Some checks failed
continuous-integration/drone/pr Build is failing
b24e95e1c4
konrad added 1 commit 2020-12-05 16:32:42 +00:00
Merge branch 'master' into feature/cypress
Some checks failed
continuous-integration/drone/pr Build is failing
98ddb9b9ba
konrad added 2 commits 2020-12-05 16:56:17 +00:00
Cleanup
Some checks failed
continuous-integration/drone/pr Build is failing
537787b06f
konrad added 1 commit 2020-12-05 17:14:25 +00:00
Use factories everywhere
Some checks failed
continuous-integration/drone/pr Build is failing
403889e8bd
konrad added 1 commit 2020-12-05 17:28:51 +00:00
Make all factory methods static
Some checks failed
continuous-integration/drone/pr Build is failing
1cd688b359
konrad added 1 commit 2020-12-05 17:48:59 +00:00
Fix all tests
Some checks failed
continuous-integration/drone/pr Build is failing
94ccc23edd
konrad added 1 commit 2020-12-06 17:47:26 +00:00
Merge branch 'master' into feature/cypress
Some checks failed
continuous-integration/drone/pr Build is failing
26672b9020
# Conflicts:
#	package.json
konrad added 1 commit 2020-12-06 20:49:00 +00:00
Run cypress tests in drone
Some checks failed
continuous-integration/drone/pr Build is failing
36da55de1c
konrad added 1 commit 2020-12-06 20:58:00 +00:00
konrad added 1 commit 2020-12-06 21:02:41 +00:00
Add cache location config
Some checks failed
continuous-integration/drone/pr Build is failing
c938911b63
konrad added 1 commit 2020-12-06 21:41:17 +00:00
Unify test & build step back again to prevent double installation of dependencies
Some checks failed
continuous-integration/drone/pr Build is failing
29e8ae08ee
konrad added 1 commit 2020-12-06 21:49:14 +00:00
Change cypress image
Some checks reported errors
continuous-integration/drone/pr Build was killed
a3f824f093
konrad added 1 commit 2020-12-06 21:49:59 +00:00
Change cypress image in drone
Some checks failed
continuous-integration/drone/pr Build is failing
ffb43462c3
konrad added 1 commit 2020-12-06 21:56:46 +00:00
konrad added 1 commit 2020-12-06 21:58:00 +00:00
Trigger ci
Some checks failed
continuous-integration/drone/pr Build is failing
8c7e5a3f88
konrad added 1 commit 2020-12-06 22:02:06 +00:00
Change cypress image
Some checks failed
continuous-integration/drone/pr Build is failing
29b5c3de59
konrad added 1 commit 2020-12-06 22:07:09 +00:00
konrad added 1 commit 2020-12-06 22:11:04 +00:00
Trigger Drone
Some checks failed
continuous-integration/drone/pr Build is failing
812ca09d78
konrad added 1 commit 2020-12-07 16:13:05 +00:00
Add serve dist command to serve built static files
Some checks failed
continuous-integration/drone/pr Build is failing
87cfcc2ddb
konrad added 2 commits 2020-12-07 16:34:15 +00:00
# Conflicts:
#	package.json
Only run unit tests with yarn test:unit
Some checks failed
continuous-integration/drone/pr Build is failing
d4e8baa19d
konrad added 1 commit 2020-12-08 14:27:05 +00:00
Trigger Drone
Some checks failed
continuous-integration/drone/pr Build is failing
92fcdfcc52
konrad added 2 commits 2020-12-08 14:47:18 +00:00
konrad added 1 commit 2020-12-08 15:34:38 +00:00
Set cache folders
Some checks reported errors
continuous-integration/drone/pr Build was killed
3e0e72f3aa
konrad added 1 commit 2020-12-08 15:35:59 +00:00
Ignore cypress screenshots and videos
Some checks failed
continuous-integration/drone/pr Build is failing
d4c0c2ccec
konrad added 1 commit 2020-12-08 17:19:28 +00:00
Use a working node version
Some checks reported errors
continuous-integration/drone/pr Build was killed
e5d86fd513
konrad added 1 commit 2020-12-08 18:00:57 +00:00
Fix setting api url for running tests
Some checks reported errors
continuous-integration/drone/pr Build was killed
6409010f7d
konrad added 1 commit 2020-12-08 18:16:13 +00:00
Add docs
Some checks reported errors
continuous-integration/drone/pr Build was killed
f312ada530
konrad added 1 commit 2020-12-08 18:21:52 +00:00
Merge branch 'master' into feature/cypress
Some checks failed
continuous-integration/drone/pr Build is failing
90e2584918
konrad added 1 commit 2020-12-08 20:42:39 +00:00
Make sure to use node 12 everywhere in ci
Some checks reported errors
continuous-integration/drone/pr Build was killed
a11ebdc875
konrad added 1 commit 2020-12-08 20:43:46 +00:00
Merge branch 'master' into feature/cypress
Some checks failed
continuous-integration/drone/pr Build is failing
caaff3a778
konrad added 2 commits 2020-12-09 18:25:16 +00:00
konrad changed title from WIP: Frontend Testing With Cypress to Frontend Testing With Cypress 2020-12-09 18:26:06 +00:00
konrad added 2 commits 2020-12-09 20:20:12 +00:00
konrad added 2 commits 2020-12-09 22:08:54 +00:00
konrad added 1 commit 2020-12-09 22:37:49 +00:00
Add uploading test result screenshots from ci
All checks were successful
continuous-integration/drone/pr Build is passing
948c4fba8f
konrad added 1 commit 2020-12-09 22:47:47 +00:00
Disable capturing videos of test runs in CI
Some checks failed
continuous-integration/drone/pr Build is failing
7fcef52acd
konrad added 1 commit 2020-12-09 23:10:48 +00:00
Make sure to always upload test results
Some checks failed
continuous-integration/drone/pr Build is failing
f0acea55b3
konrad added 2 commits 2020-12-10 09:59:07 +00:00
konrad added 1 commit 2020-12-10 11:11:50 +00:00
Wait until the login request is done
All checks were successful
continuous-integration/drone/pr Build is passing
92070cabea
konrad added 1 commit 2020-12-10 12:19:55 +00:00
Merge branch 'master' into feature/cypress
Some checks failed
continuous-integration/drone/pr Build is failing
56ab1f9bd9
konrad added 1 commit 2020-12-10 12:35:21 +00:00
Wait for the newly created task exists in the dom
Some checks failed
continuous-integration/drone/pr Build is failing
0134c83357
konrad added 1 commit 2020-12-10 12:44:58 +00:00
Wait until the request is finished
All checks were successful
continuous-integration/drone/pr Build is passing
a298918987
konrad merged commit b822b3616b into master 2020-12-10 13:52:36 +00:00
konrad deleted branch feature/cypress 2020-12-10 13:52:47 +00:00
This repo is archived. You cannot comment on pull requests.
No description provided.