2a75062514
add logout tests for all authed pages
2026-05-03 17:11:12 +03:00
a71cd641dc
add tests for forbidden and not found text
2026-05-03 16:36:57 +03:00
3a1e91cc4f
scope user text child-add cypress selectors
...
the seeded text already has nested nodes, so 'li.first()'
matched multiple buttons. scope the selectors to top-level
li children to match the working pattern in adminText.cy.js.
2026-05-02 21:58:34 +03:00
71e5fb8fda
add cypress coverage for user text pages
...
loginAsSecondUser helper backs new specs that cover the
/texts list (own-only scoping, create form, link to
/texts/{id}) and /texts/{id} detail (own access, 403 on
another user's text, owner can add a child node).
2026-05-02 21:47:20 +03:00
d61d68571d
test only one add form open at a time
...
assert that opening any add-child or bulk-add form closes any
other open add form across the tree. currently fails: each toggle
function only checks for an open form on its own li.
2026-05-01 11:56:44 +03:00
ff8ec9a2ab
test enter submits bulk add form
...
assert that pressing enter from either the bulk-title or
bulk-count input submits the bulk add form. currently fails:
only the save-bulk button click triggers the post.
2026-05-01 11:54:53 +03:00
74705379cb
test enter submits add child form
...
assert that pressing enter while typing in the add-child input
submits the form. currently fails: only the save-child button
click triggers the post.
2026-05-01 11:53:06 +03:00
dce4e4a4f6
test child add keeps parent expanded
...
assert that a non-root parent that the user expanded stays expanded
after adding a child. currently fails: fetchAndRenderNodes wipes
and rebuilds the tree with depth-based default visibility, so any
manually expanded non-root collapses on every save.
2026-05-01 11:44:24 +03:00
46d01aa813
test today page lists scheduled nodes
2026-04-26 21:24:56 +03:00
0b4d7238af
add today page cypress spec
2026-04-26 20:50:52 +03:00
4975da19be
test auth flows in cypress
2026-04-24 16:08:32 +03:00
4c393e813a
login as admin in admin text bulk add cypress spec
2026-04-24 16:08:14 +03:00
e8fcac654b
login as admin in admin text toggle cypress spec
2026-04-24 16:08:03 +03:00
3ee6057978
login as admin in admin text cypress spec
2026-04-24 16:07:53 +03:00
5f2bba070c
login as admin in admin cypress spec
2026-04-24 16:07:44 +03:00
6e93bd3872
update create plan body assertion
2026-04-24 16:07:36 +03:00
8bfc110ed3
login as user in home create plan cypress spec
2026-04-24 16:07:25 +03:00
cddc72e6cf
login as user in home cypress spec
2026-04-24 16:07:16 +03:00
49c5ed49b0
add cypress login commands
2026-04-24 16:07:07 +03:00
e1b02f0ba9
test submit creates plan and closes modal
2026-04-24 10:24:24 +03:00
41f385f50b
test cancel button hides modal
2026-04-24 10:23:11 +03:00
52ed08b8a9
test modal contains required fields
2026-04-24 10:22:22 +03:00
e005eb9a9b
test modal opens on create plan click
2026-04-24 10:21:21 +03:00
9ced96fc88
test create plan button visibility
2026-04-24 10:20:27 +03:00
09b906a00f
test home page displays texts
2026-04-23 10:01:29 +03:00
c8c901a306
fix initial test data expectations to match seed data
2026-04-23 09:45:25 +03:00
d26734facf
test toggle children button visibility
2026-04-20 09:32:28 +03:00
5c2b6c9edd
cypress tests for bulk add children
2026-04-18 23:04:39 +03:00
b12d0fc7d3
fix cypress tests to properly select in children
2026-04-18 21:50:54 +03:00
2121a0ba9d
add tests for admin text page, move some tests over from original admin test file
2026-04-18 21:27:02 +03:00
f5a8b8447f
rename route for nodes and adjust calls to route
2026-04-18 21:01:02 +03:00
c99e1eeeb5
test child node of root node exists
2026-04-17 10:58:32 +03:00
1fb5307062
e2e test that created text has root node
2026-04-17 10:50:14 +03:00
5b2d85fb92
test that clicking on the a tag will bring us to a texts page
2026-04-15 21:48:54 +03:00
7e674af40a
add seed and wipe commands for e2e tests
2026-04-15 21:08:54 +03:00
688373f46d
add cypress tests for admin text summary page
2026-04-12 21:50:54 +03:00
5fba2138e2
assert input and button for adding texts exists
2026-04-11 22:37:14 +03:00
d66277b824
rename home file to admin
2026-03-22 10:52:33 +02:00
c0f9551c0a
test visit admin page
2026-03-22 10:28:09 +02:00
935c73c402
rename spec file
2026-03-22 10:02:46 +02:00
00d66b5347
install cypress
2026-03-21 21:11:38 +02:00