File tree Expand file tree Collapse file tree
tests/e2e-integration/e2e/sections/dataset Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -845,7 +845,7 @@ describe('Dataset', () => {
845845 } )
846846 } )
847847
848- it ( 'opens the guestbook modal for guests when downloading a dataset with an assigned guestbook' , ( ) => {
848+ it . only ( 'opens the guestbook modal for guests when downloading a dataset with an assigned guestbook' , ( ) => {
849849 const guestbookName = `Guestbook ${ faker . datatype . uuid ( ) } `
850850
851851 cy . wrap ( DatasetHelper . createWithFiles ( FileHelper . createMany ( 2 ) ) ) . then ( ( dataset ) => {
@@ -868,7 +868,7 @@ describe('Dataset', () => {
868868 . click ( { force : true } )
869869
870870 cy . findByRole ( 'dialog' ) . should ( 'be.visible' )
871- cy . findByText ( / D a t a s e t T e r m s / i ) . should ( 'exist ' )
871+ cy . findByRole ( 'dialog' ) . find ( '.modal-title' ) . should ( 'contain.text' , 'Dataset Terms ')
872872 cy . findByLabelText ( / n a m e / i) . should ( 'be.enabled' )
873873 cy . findByLabelText ( / e m a i l / i) . should ( 'be.enabled' )
874874 } )
You can’t perform that action at this time.
0 commit comments