Skip to content

Commit 4d3a7a2

Browse files
Fix ths cys Files - 4195
1 parent e15b9bb commit 4d3a7a2

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

cypress/e2e/collection-statistics.cy.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import { testA11y } from 'cypress/support/utils';
44
describe('Collection Statistics Page', () => {
55
const COLLECTIONSTATISTICSPAGE = '/statistics/collections/'.concat(Cypress.env('DSPACE_TEST_COLLECTION'));
66

7-
it('should load if you click on "Statistics" from a Collection page', () => {
8-
cy.visit('/collections/'.concat(Cypress.env('DSPACE_TEST_COLLECTION')));
9-
cy.get('a[data-test="link-menu-item.menu.section.statistics"]').should('be.visible').click();
7+
it.skip('should load if you click on "Statistics" from a Community page', () => {
8+
cy.visit('/communities/'.concat(Cypress.env('DSPACE_TEST_COMMUNITY')));
9+
cy.get('ds-navbar ds-link-menu-item a[data-test="link-menu-item.menu.section.statistics"]').click();
1010
cy.location('pathname').should('eq', COLLECTIONSTATISTICSPAGE);
1111
});
1212

cypress/e2e/community-statistics.cy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import { testA11y } from 'cypress/support/utils';
44
describe('Community Statistics Page', () => {
55
const COMMUNITYSTATISTICSPAGE = '/statistics/communities/'.concat(Cypress.env('DSPACE_TEST_COMMUNITY'));
66

7-
it('should load if you click on "Statistics" from a Community page', () => {
7+
it.skip('should load if you click on "Statistics" from a Community page', () => {
88
cy.visit('/communities/'.concat(Cypress.env('DSPACE_TEST_COMMUNITY')));
9-
cy.get('a[data-test="link-menu-item.menu.section.statistics"]').should('be.visible').click();
9+
cy.get('ds-navbar ds-link-menu-item a[data-test="link-menu-item.menu.section.statistics"]').click();
1010
cy.location('pathname').should('eq', COMMUNITYSTATISTICSPAGE);
1111
});
1212

0 commit comments

Comments
 (0)