File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ import { testA11y } from 'cypress/support/utils';
44describe ( '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
Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ import { testA11y } from 'cypress/support/utils';
44describe ( '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
You can’t perform that action at this time.
0 commit comments