@@ -39,7 +39,6 @@ const FAKE_HISTORY: HistorySummary = {
3939} ;
4040
4141const selectors = {
42- historyName : "#history-name" ,
4342 latestExportRecord : "#latest-export-record" ,
4443 showPreviousExportRecordsButton : "#show-old-records-button" ,
4544 fatalErrorAlert : "#fatal-error-alert" ,
@@ -72,12 +71,6 @@ describe("HistoryExport.vue", () => {
7271 ) ;
7372 } ) ;
7473
75- it ( "should render the history name" , async ( ) => {
76- const wrapper = await mountHistoryExport ( ) ;
77-
78- expect ( wrapper . find ( selectors . historyName ) . text ( ) ) . toBe ( FAKE_HISTORY . name ) ;
79- } ) ;
80-
8174 it ( "should not display the latest export record if there is no export record" , async ( ) => {
8275 const wrapper = await mountHistoryExport ( ) ;
8376
@@ -108,7 +101,6 @@ describe("HistoryExport.vue", () => {
108101 const wrapper = await mountHistoryExport ( ) ;
109102
110103 expect ( wrapper . find ( selectors . fatalErrorAlert ) . exists ( ) ) . toBe ( false ) ;
111- expect ( wrapper . find ( selectors . historyName ) . exists ( ) ) . toBe ( true ) ;
112104 } ) ;
113105
114106 it ( "should not render the UI and display a fatal error message if the history cannot be found or loaded" , async ( ) => {
@@ -127,6 +119,5 @@ describe("HistoryExport.vue", () => {
127119 const wrapper = await mountHistoryExport ( ) ;
128120
129121 expect ( wrapper . find ( selectors . fatalErrorAlert ) . exists ( ) ) . toBe ( true ) ;
130- expect ( wrapper . find ( selectors . historyName ) . exists ( ) ) . toBe ( false ) ;
131122 } ) ;
132123} ) ;
0 commit comments