{url: '/shared-with-me', label: 'Shared with me'},
{url: '/public-favorites', label: 'Public Favorites'},
{url: '/favorites', label: 'My Favorites'},
- {url: '/workflows', label: 'Workflows'},
{url: '/all_processes', label: 'All Processes'},
{url: '/trash', label: 'Trash'},
].map(function(section) {
group_class: 'filter',
properties: {filters: []},
}).as('myFavoriteFilterGroup').then(function (myFavoriteFilterGroup) {
- cy.contains('Refresh').click();
cy.goToPath(`/projects/${myFavoriteFilterGroup.uuid}`);
cy.get('[data-cy=breadcrumb-last]').should('contain', 'my-favorite-filter-group');
cy.getAll('@mySharedWritableProject')
.then(function ([mySharedWritableProject]) {
cy.loginAs(activeUser);
-
+
cy.get('[data-cy=side-panel-tree]').contains('Projects').click();
const newProjectName = `New project name ${mySharedWritableProject.name}`;
addToFavorites: false
});
- cy.getAll('@writableProject')
- .then(function ([writableProject]) {
- cy.loginAs(activeUser);
-
- cy.get('[data-cy=side-panel-tree]').contains('Projects').click();
-
- cy.get('[data-cy=side-panel-tree]').contains(writableProject.name).should('exist');
-
- cy.trashGroup(activeUser.token, writableProject.uuid);
-
+ cy.getAll('@writableProject').then(function ([writableProject]) {
+ cy.loginAs(activeUser);
+ cy.get('[data-cy=side-panel-tree]')
+ .contains('Projects').click();
+ cy.get('[data-cy=side-panel-tree]')
+ .contains(writableProject.name).should('exist');
+ cy.trashGroup(activeUser.token, writableProject.uuid).then(() => {
cy.contains('Refresh').click();
-
cy.contains(writableProject.name).should('not.exist');
});
+ });
});
})