File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
special-pages/pages/history/integration-tests Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -287,8 +287,8 @@ export class HistoryTestPage {
287
287
await title . hover ( ) ;
288
288
await title . getByLabel ( 'Show menu for Today' ) . click ( ) ;
289
289
290
- // Verify the call to "menu_title " with expected parameters
291
- const calls = await this . mocks . waitForCallCount ( { method : 'menu_title ' , count : 1 } ) ;
290
+ // Verify the call to "title_menu " with expected parameters
291
+ const calls = await this . mocks . waitForCallCount ( { method : 'title_menu ' , count : 1 } ) ;
292
292
expect ( calls [ 0 ] . payload . params ) . toStrictEqual ( { dateRelativeDay : 'Today' } ) ;
293
293
294
294
// verify the section is gone
@@ -302,7 +302,7 @@ export class HistoryTestPage {
302
302
const { page } = this ;
303
303
const title = page . getByRole ( 'list' ) . getByText ( 'Today' ) ;
304
304
await title . click ( { button : 'right' } ) ;
305
- const calls = await this . mocks . waitForCallCount ( { method : 'menu_title ' , count : 1 } ) ;
305
+ const calls = await this . mocks . waitForCallCount ( { method : 'title_menu ' , count : 1 } ) ;
306
306
expect ( calls [ 0 ] . payload . params ) . toStrictEqual ( { dateRelativeDay : 'Today' } ) ;
307
307
}
308
308
}
You can’t perform that action at this time.
0 commit comments