Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
MidhunSureshR committed Dec 15, 2022
1 parent 7f27065 commit 51d7e79
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cypress/e2e/trafficlight/actions/timeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ export function verifyLastMessageIsTrusted(): string {
return "verified";
}

export function getTimeline(): JSONValue {
const rsp = [];
export function getTimeline(): Record<string, any> {
const rsp: any = [];
Cypress.$('.mx_EventTile').each(
function(index, obj) {
tile = {};
const tile = {};
tile['user'] = Cypress.$(obj).find('.mx_BaseAvatar_image').attr('title');
const e2eicon = Cypress.$(obj).find('.mx_EventTile_e2eIcon').attr('class');
tile['e2e_issues'] = e2eicon;
Expand Down

0 comments on commit 51d7e79

Please sign in to comment.