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
865
Issues
865
List
Boards
Labels
Service Desk
Milestones
Merge Requests
51
Merge Requests
51
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
fbfe9770
Commit
fbfe9770
authored
10 minutes ago
by
Brian Hatchet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added our project id to cypress. Removed timeouts
parent
6e0ea629
feat/closed-channels-602
1 merge request
!499
Feat/closed channels 602
Pipeline
#77663039
running with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
23 deletions
+1
-23
cypress.json
cypress.json
+1
-3
blogs.spec.js
cypress/integration/blogs.spec.js
+0
-20
No files found.
cypress.json
View file @
fbfe9770
{
"requestTimeout"
:
3600000
,
"responseTimeout"
:
3600000
,
"pageLoadTimeout"
:
3600000
"projectId"
:
"qrjqcv"
}
This diff is collapsed.
Click to expand it.
cypress/integration/blogs.spec.js
View file @
fbfe9770
...
...
@@ -31,26 +31,6 @@ context('Blogs', () => {
cy
.
get
(
'
.m-blog--edit--error
'
).
contains
(
'
Error: You must upload a banner
'
);
})
// TODO: remove the x when we run tests in new users each time
xit
(
"
should not be able to create a new blog if the channel doesn't have an avatar
"
,
()
=>
{
cy
.
visit
(
'
/blog/edit/new
'
);
cy
.
uploadFile
(
'
minds-banner #file
'
,
'
../fixtures/international-space-station-1776401_1920.jpg
'
,
'
image/jpg
'
);
cy
.
get
(
'
minds-textarea .m-editor
'
).
type
(
'
Title
'
);
cy
.
get
(
'
m-inline-editor .medium-editor-element
'
).
type
(
'
Content
\n
'
);
cy
.
wait
(
1000
);
cy
.
server
();
cy
.
route
(
"
POST
"
,
"
**!/api/v1/blog/new
"
).
as
(
"
newBlog
"
);
cy
.
get
(
'
.m-button--submit
'
).
click
({
force
:
true
});
// TODO: Investigate why disabled flag is being detected
cy
.
get
(
'
h1.m-blog--edit--error
'
).
contains
(
'
Error: Please ensure your channel has an avatar before creating a blog
'
);
});
it
(
'
should be able to create a new blog
'
,
()
=>
{
// upload avatar first
...
...
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