Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 0e923b7

Browse files
committed
Fix eventIdWhileRefrshingTimeline typo
1 parent 7b5ee36 commit 0e923b7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

cypress/e2e/x-msc2716-historical-import/historical-import.spec.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ describe("MSC2716: Historical Import", () => {
518518
// Then make a `/sync` happen by sending a message and seeing that it
519519
// shows up (simulate a /sync naturally racing with us).
520520
cy.get<string>("@roomId").then(async (roomId) => {
521-
const { event_id: eventIdWhileRefrshingTimeline } = await asMatrixClient.sendMessage(
521+
const { event_id: eventIdWhileRefreshingTimeline } = await asMatrixClient.sendMessage(
522522
roomId,
523523
null, {
524524
body: `live_event while trying to refresh timeline`,
@@ -531,9 +531,9 @@ describe("MSC2716: Historical Import", () => {
531531
// refreshing the timeline. We want to make sure the sync
532532
// pagination still works as expected after messing the refresh
533533
// timeline logic messes with the pagination tokens.
534-
waitForEventIdsInClient([eventIdWhileRefrshingTimeline]);
534+
waitForEventIdsInClient([eventIdWhileRefreshingTimeline]);
535535

536-
cy.wrap(eventIdWhileRefrshingTimeline).as('eventIdWhileRefrshingTimeline');
536+
cy.wrap(eventIdWhileRefreshingTimeline).as('eventIdWhileRefreshingTimeline');
537537
}).then(() => {
538538
// Now we can resume the `/context` request
539539
resolveReq();
@@ -559,12 +559,12 @@ describe("MSC2716: Historical Import", () => {
559559
cy.all([
560560
cy.get<string[]>("@liveMessageEventIds"),
561561
cy.get<string[]>("@historicalEventIds"),
562-
cy.get<string>("@eventIdWhileRefrshingTimeline"),
562+
cy.get<string>("@eventIdWhileRefreshingTimeline"),
563563
cy.get<string>("@eventIdAfterRefresh"),
564564
]).then(async ([
565565
liveMessageEventIds,
566566
historicalEventIds,
567-
eventIdWhileRefrshingTimeline,
567+
eventIdWhileRefreshingTimeline,
568568
eventIdAfterRefresh,
569569
]) => {
570570
// FIXME: Assert that they appear in the correct order
@@ -573,7 +573,7 @@ describe("MSC2716: Historical Import", () => {
573573
liveMessageEventIds[1],
574574
...historicalEventIds,
575575
liveMessageEventIds[2],
576-
eventIdWhileRefrshingTimeline,
576+
eventIdWhileRefreshingTimeline,
577577
eventIdAfterRefresh,
578578
]);
579579
});

0 commit comments

Comments
 (0)