@@ -137,7 +137,7 @@ describe('My DSpace page', () => {
137137 //To wait filter be ready
138138 cy . intercept ( {
139139 method : 'GET' ,
140- url : '/server/api/discover/facets/namedresourcetype**' ,
140+ url : '** /server/api/discover/facets/namedresourcetype**' ,
141141 } ) . as ( 'facetNamedResourceType' ) ;
142142
143143 //This page is restricted, so we will be shown the login form. Fill it in and submit it
@@ -155,7 +155,7 @@ describe('My DSpace page', () => {
155155 //Intercept the request to filter and the request of filter.
156156 cy . intercept ( {
157157 method : 'GET' ,
158- url : '/server/api/discover/search/objects**' ,
158+ url : '** /server/api/discover/search/objects**' ,
159159 } ) . as ( 'filterByItem' ) ;
160160
161161 //Apply the filter to the “archived” items.
@@ -175,7 +175,8 @@ describe('My DSpace page', () => {
175175 } ) ;
176176
177177 //This test also generate an item to validate workflow task section
178- it ( 'should upload a file via drag & drop, display it in the UI and submit the item' , ( ) => {
178+ // the behavior is different in CRIS.
179+ xit ( 'should upload a file via drag & drop, display it in the UI and submit the item' , ( ) => {
179180 const fileName = 'example.pdf' ;
180181 const currentYear = new Date ( ) . getFullYear ( ) ;
181182
@@ -225,7 +226,8 @@ describe('My DSpace page', () => {
225226
226227 } ) ;
227228
228- it ( 'should let you take task from workflow' , ( ) => {
229+ // the behavior is different in CRIS.
230+ xit ( 'should let you take task from workflow' , ( ) => {
229231 cy . visit ( '/mydspace' ) ;
230232
231233 //This page is restricted, so we will be shown the login form. Fill it in and submit it
@@ -240,7 +242,7 @@ describe('My DSpace page', () => {
240242 //Intercept to await backend response
241243 cy . intercept ( {
242244 method : 'GET' ,
243- url : '/server/api/discover/search/objects**' ,
245+ url : '** /server/api/discover/search/objects**' ,
244246 } ) . as ( 'workflowSearch' ) ;
245247
246248 //Change view to see workflow tasks
0 commit comments