Commit a65e1b2 1 parent 0065205 commit a65e1b2 Copy full SHA for a65e1b2
File tree 1 file changed +14
-0
lines changed
cypress/e2e/projects/detail
1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -261,6 +261,20 @@ describe('Comments', () => {
261
261
project . expectCommentCount ( 0 )
262
262
} )
263
263
264
+ it ( 'view all resolved comments' , ( ) => {
265
+ project . openCommentsFor ( 'Options Question 1' )
266
+ project . startNewCommentThread ( 'This is a new thread' )
267
+ cy . getCy ( 'comments_comment_resolve' ) . click ( )
268
+
269
+ cy . get ( '.item' ) . contains ( 'Comments' ) . click ( )
270
+ cy . get ( '.comments-overview .form-check-label' ) . should ( 'contain' , 'View resolved comments (1)' ) . click ( )
271
+ cy . get ( '.comments-overview .fa-ul li' ) . should ( 'contain' , 'Options Question 1' )
272
+ cy . get ( '.comments-overview .fa-ul li .bg-success.rounded-pill' ) . should ( 'contain' , '1' )
273
+ cy . get ( '.comments-overview .fa-ul li a' ) . click ( )
274
+
275
+ cy . get ( '.CommentThread.CommentThread--Resolved' ) . should ( 'exist' )
276
+ } )
277
+
264
278
it ( 'websocket' , ( ) => {
265
279
project . setProjectSharing ( project . AnyoneWithLinkEdit )
266
280
You can’t perform that action at this time.
0 commit comments