Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
875
Issues
875
List
Boards
Labels
Service Desk
Milestones
Merge Requests
53
Merge Requests
53
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
List
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Commits
3065c379
Commit
3065c379
authored
3 hours ago
by
Brian Hatchet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CR changes
parent
1c983fd9
feat/closed-channels-602
1 merge request
!499
Feat/closed channels 602
Pipeline
#78028340
passed with stages
in 42 minutes and 15 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
+8
-5
blogs.spec.js
cypress/integration/blogs.spec.js
+0
-2
comment-threads.spec.js
cypress/integration/comment-threads.spec.js
+1
-1
groups.spec.js
cypress/integration/groups.spec.js
+7
-2
No files found.
cypress/integration/blogs.spec.js
View file @
3065c379
...
...
@@ -96,13 +96,11 @@ context('Blogs', () => {
cy
.
get
(
'
.m-button--submit
'
).
click
({
force
:
true
});
// TODO: Investigate why disabled flag is being detected
cy
.
wait
(
'
@postBlog
'
).
then
((
xhr
)
=>
{
cy
.
log
(
xhr
);
expect
(
xhr
.
status
).
to
.
equal
(
200
);
expect
(
xhr
.
response
.
body
.
status
).
to
.
equal
(
"
success
"
);
});
cy
.
wait
(
'
@getBlog
'
).
then
((
xhr
)
=>
{
cy
.
log
(
xhr
);
expect
(
xhr
.
status
).
to
.
equal
(
200
);
expect
(
xhr
.
response
.
body
.
status
).
to
.
equal
(
"
success
"
);
expect
(
xhr
.
response
.
body
).
to
.
have
.
property
(
"
blog
"
);
...
...
This diff is collapsed.
Click to expand it.
cypress/integration/comment-threads.spec.js
View file @
3065c379
...
...
@@ -70,7 +70,7 @@ context('Comment Threads', () => {
cy
.
get
(
postCommentButton
)
.
first
()
.
click
();
cy
.
get
(
commentContent
).
contains
(
testMessage
[
2
])
cy
.
get
(
commentContent
).
contains
(
testMessage
[
2
])
;
//Add the third level of comments
...
...
This diff is collapsed.
Click to expand it.
cypress/integration/groups.spec.js
View file @
3065c379
...
...
@@ -14,6 +14,9 @@ context('Groups', () => {
it
(
'
should create and edit a group
'
,
()
=>
{
cy
.
server
();
cy
.
route
(
"
POST
"
,
"
**/api/v1/groups/group*
"
).
as
(
"
postGroup
"
);
cy
.
get
(
'
m-group--sidebar-markers li:first-child
'
).
contains
(
'
New group
'
).
click
();
cy
.
location
(
'
pathname
'
).
should
(
'
eq
'
,
'
/groups/create
'
);
...
...
@@ -37,6 +40,10 @@ context('Groups', () => {
cy
.
get
(
'
.m-groups-save > button
'
).
contains
(
'
Create
'
).
click
();
cy
.
wait
(
'
@postCreate
'
).
then
((
xhr
)
=>
{
expect
(
xhr
.
status
).
to
.
equal
(
200
);
expect
(
xhr
.
response
.
body
).
to
.
equal
({
status
:
'
success
'
});
});
cy
.
get
(
'
.m-groupInfo__name
'
).
contains
(
'
test
'
);
cy
.
get
(
'
.m-groupInfo__description
'
).
contains
(
'
This is a test
'
);
...
...
@@ -78,8 +85,6 @@ context('Groups', () => {
cy
.
get
(
'
minds-groups-profile-conversation m-comments__tree minds-textarea .m-editor
'
).
type
(
'
lvl 1 comment
'
);
cy
.
get
(
'
minds-groups-profile-conversation m-comments__tree a.m-post-button
'
).
click
();
cy
.
wait
(
500
);
// comment should appear on the list
cy
.
get
(
'
minds-groups-profile-conversation m-comments__tree > m-comments__thread .m-commentBubble__message
'
).
contains
(
'
lvl 1 comment
'
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment