projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '17289-dir-download-action-removal'
[arvados.git]
/
cypress
/
integration
/
side-panel.spec.js
diff --git
a/cypress/integration/side-panel.spec.js
b/cypress/integration/side-panel.spec.js
index e75a366e587d2a27eb3caf1529bfbe1c541d0c8c..8882494bf81c69e501d3a50092b558c502d2c5ac 100644
(file)
--- a/
cypress/integration/side-panel.spec.js
+++ b/
cypress/integration/side-panel.spec.js
@@
-30,7
+30,6
@@
describe('Side panel tests', function() {
it('enables the +NEW side panel button on users home project', function() {
cy.loginAs(activeUser);
it('enables the +NEW side panel button on users home project', function() {
cy.loginAs(activeUser);
- cy.doSearch(`${activeUser.user.uuid}`);
cy.get('[data-cy=side-panel-button]')
.should('exist')
.and('not.be.disabled');
cy.get('[data-cy=side-panel-button]')
.should('exist')
.and('not.be.disabled');
@@
-49,7
+48,7
@@
describe('Side panel tests', function() {
head_uuid: this.sharedGroup.uuid,
tail_uuid: activeUser.user.uuid
})
head_uuid: this.sharedGroup.uuid,
tail_uuid: activeUser.user.uuid
})
- cy.
doSearch(`
${this.sharedGroup.uuid}`);
+ cy.
goToPath(`/projects/
${this.sharedGroup.uuid}`);
cy.get('[data-cy=side-panel-button]')
.should('exist')
.and(`${isWritable ? 'not.' : ''}be.disabled`);
cy.get('[data-cy=side-panel-button]')
.should('exist')
.and(`${isWritable ? 'not.' : ''}be.disabled`);
@@
-67,7
+66,7
@@
describe('Side panel tests', function() {
{url: '/all_processes', label: 'All Processes'},
{url: '/trash', label: 'Trash'},
].map(function(section) {
{url: '/all_processes', label: 'All Processes'},
{url: '/trash', label: 'Trash'},
].map(function(section) {
- cy.
visit
(section.url);
+ cy.
goToPath
(section.url);
cy.get('[data-cy=breadcrumb-first]')
.should('contain', section.label);
cy.get('[data-cy=side-panel-button]')
cy.get('[data-cy=breadcrumb-first]')
.should('contain', section.label);
cy.get('[data-cy=side-panel-button]')
@@
-81,9
+80,10
@@
describe('Side panel tests', function() {
cy.createGroup(adminUser.token, {
name: `my-favorite-filter-group`,
group_class: 'filter',
cy.createGroup(adminUser.token, {
name: `my-favorite-filter-group`,
group_class: 'filter',
+ properties: {filters: []},
}).as('myFavoriteFilterGroup').then(function (myFavoriteFilterGroup) {
cy.contains('Refresh').click();
}).as('myFavoriteFilterGroup').then(function (myFavoriteFilterGroup) {
cy.contains('Refresh').click();
- cy.
doSearch(`
${myFavoriteFilterGroup.uuid}`);
+ cy.
goToPath(`/projects/
${myFavoriteFilterGroup.uuid}`);
cy.get('[data-cy=breadcrumb-last]').should('contain', 'my-favorite-filter-group');
cy.get('[data-cy=side-panel-button]')
cy.get('[data-cy=breadcrumb-last]').should('contain', 'my-favorite-filter-group');
cy.get('[data-cy=side-panel-button]')