Skip to content

Commit f0f3fef

Browse files
committed
Use snake casing for returned strings
1 parent f735a60 commit f0f3fef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cypress/e2e/trafficlight/actions/auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export function login(data: any): string {
6161
Cypress.$(".mx_AccessibleButton_kind_danger_outline")?.first()?.trigger("click");
6262
});
6363
}
64-
return 'loggedin';
64+
return 'logged_in';
6565
}
6666

6767
export function logout(): string {

cypress/e2e/trafficlight/actions/room.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export function changeRoomHistoryVisibility(data: any): string {
5454

5555
export function openRoom(data: any): string {
5656
cy.get(".mx_RoomSublist_tiles").contains(data["name"]).click();
57-
return "room-opened";
57+
return "room_opened";
5858
}
5959

6060
export function acceptInvite(): string {

0 commit comments

Comments
 (0)