Add basic performance testing via Cypress (#8586)
This commit is contained in:
parent
83b3dfa341
commit
c122c5cd3b
17 changed files with 169 additions and 18 deletions
|
@ -54,10 +54,12 @@ describe("Create Room", () => {
|
|||
// Fill room address
|
||||
cy.get('[label="Room address"]').type("test-room-1");
|
||||
// Submit
|
||||
cy.startMeasuring("from-submit-to-room");
|
||||
cy.get(".mx_Dialog_primary").click();
|
||||
});
|
||||
|
||||
cy.url().should("contain", "/#/room/#test-room-1:localhost");
|
||||
cy.stopMeasuring("from-submit-to-room");
|
||||
cy.get(".mx_RoomHeader_nametext").contains(name);
|
||||
cy.get(".mx_RoomHeader_topic").contains(topic);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue