File tree Expand file tree Collapse file tree 1 file changed +0
-26
lines changed
tests/component/sections/edit-dataset-terms Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change @@ -302,32 +302,6 @@ describe('EditDatasetTerms', () => {
302302 )
303303 } )
304304
305- it ( 'shows unsaved changes modal when restricted files form is dirty' , ( ) => {
306- const dataset = DatasetMother . create ( {
307- license : mockLicenses [ 0 ] ,
308- termsOfUse : TermsOfUseMother . withoutCustomTerms ( )
309- } )
310-
311- cy . customMount (
312- withProviders (
313- < EditDatasetTerms
314- defaultActiveTabKey = {
315- EditDatasetTermsHelper . EDIT_DATASET_TERMS_TABS_KEYS . restrictedFilesTerms
316- }
317- licenseRepository = { licenseRepository }
318- datasetRepository = { datasetRepository }
319- /> ,
320- dataset
321- )
322- )
323-
324- cy . findByLabelText ( 'Terms of Access for Restricted Files' ) . clear ( ) . type ( 'Updated terms' )
325-
326- cy . findByRole ( 'tab' , { name : 'Dataset Terms' } ) . click ( )
327-
328- cy . findByText ( 'Unsaved Changes' ) . should ( 'exist' )
329- } )
330-
331305 it ( 'switches tabs without unsaved modal when active tab is guest book' , ( ) => {
332306 const dataset = DatasetMother . create ( {
333307 license : mockLicenses [ 0 ] ,
You can’t perform that action at this time.
0 commit comments