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
871
Issues
871
List
Boards
Labels
Service Desk
Milestones
Merge Requests
55
Merge Requests
55
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
76dd3659
Commit
76dd3659
authored
14 minutes ago
by
Brian Hatchet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing before
parent
a3357f1a
feat/closed-channels-602
1 merge request
!499
Feat/closed channels 602
Pipeline
#77426646
running with stages
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
7 deletions
+26
-7
groups.spec.js
cypress/integration/groups.spec.js
+9
-3
newsfeed.spec.js
cypress/integration/newsfeed.spec.js
+5
-1
remind.spec.js
cypress/integration/remind.spec.js
+2
-1
topbar.spec.js
cypress/integration/topbar.spec.js
+5
-1
wire.spec.js
cypress/integration/wire.spec.js
+5
-1
No files found.
cypress/integration/groups.spec.js
View file @
76dd3659
...
...
@@ -3,10 +3,14 @@ context('Groups', () => {
cy
.
getCookie
(
'
minds_sess
'
)
.
then
((
sessionCookie
)
=>
{
if
(
sessionCookie
===
null
)
{
cy
.
login
(
true
);
return
cy
.
login
(
true
);
}
});
})
});
beforeEach
(()
=>
{
cy
.
preserveCookies
();
});
it
(
'
should create and edit a group
'
,
()
=>
{
...
...
@@ -60,7 +64,9 @@ context('Groups', () => {
it
(
'
should be able to toggle conversation and comment on it
'
,
()
=>
{
cy
.
get
(
'
m-group--sidebar-markers li:nth-child(3)
'
).
contains
(
'
test group
'
).
click
();
cy
.
get
(
"
m-group--sidebar-markers li:contains('test group')
"
)
.
first
()
.
click
();
// toggle the conversation
...
...
This diff is collapsed.
Click to expand it.
cypress/integration/newsfeed.spec.js
View file @
76dd3659
...
...
@@ -3,11 +3,15 @@ context('Newsfeed', () => {
cy
.
getCookie
(
'
minds_sess
'
)
.
then
((
sessionCookie
)
=>
{
if
(
sessionCookie
===
null
)
{
cy
.
login
(
true
);
return
cy
.
login
(
true
);
}
});
})
beforeEach
(()
=>
{
cy
.
preserveCookies
();
});
it
(
'
should post an activity picking hashtags from the dropdown
'
,
()
=>
{
cy
.
get
(
'
minds-newsfeed-poster
'
).
should
(
'
be.visible
'
);
...
...
This diff is collapsed.
Click to expand it.
cypress/integration/remind.spec.js
View file @
76dd3659
...
...
@@ -6,12 +6,13 @@ context('Remind', () => {
cy
.
getCookie
(
'
minds_sess
'
)
.
then
((
sessionCookie
)
=>
{
if
(
sessionCookie
===
null
)
{
cy
.
login
(
true
);
return
cy
.
login
(
true
);
}
});
});
beforeEach
(()
=>
{
cy
.
preserveCookies
();
//nav to channel
cy
.
get
(
'
.m-v2-topbar__Top minds-avatar div
'
)
.
click
();
...
...
This diff is collapsed.
Click to expand it.
cypress/integration/topbar.spec.js
View file @
76dd3659
...
...
@@ -3,11 +3,15 @@ context('Topbar', () => {
cy
.
getCookie
(
'
minds_sess
'
)
.
then
((
sessionCookie
)
=>
{
if
(
sessionCookie
===
null
)
{
cy
.
login
(
true
);
return
cy
.
login
(
true
);
}
});
});
beforeEach
(()
=>
{
cy
.
preserveCookies
();
});
it
(
"
clicking on the dropdown on the right should allow to go to the user's channel
"
,
()
=>
{
// open the menu
cy
.
get
(
'
m-user-menu .m-user-menu__Anchor
'
).
click
();
...
...
This diff is collapsed.
Click to expand it.
cypress/integration/wire.spec.js
View file @
76dd3659
...
...
@@ -14,11 +14,15 @@ context('Wire', () => {
cy
.
getCookie
(
'
minds_sess
'
)
.
then
((
sessionCookie
)
=>
{
if
(
sessionCookie
===
null
)
{
cy
.
login
(
true
);
return
cy
.
login
(
true
);
}
});
});
beforeEach
(()
=>
{
cy
.
preserveCookies
();
});
it
(
'
should allow a user to send a wire to another user
'
,
()
=>
{
// Visit users page.
cy
.
visit
(
'
/minds
'
);
...
...
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