Skip to content

Commit

Permalink
Delete even more stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
estellecomment committed Nov 3, 2023
1 parent 0300230 commit c0a0ca1
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 490 deletions.
6 changes: 0 additions & 6 deletions cypress/e2e/create-room/create-room.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,13 @@ describe("Create Room", () => {
const nameLabel = "Nom";
cy.get(`[label="${nameLabel}"]`).type(name);
// Submit
cy.startMeasuring("from-submit-to-room");
cy.get(".mx_Dialog_primary").click();
});

// Url of room looks like :
// http://localhost:8080/#/room/!kshfkshfkKSHJ:agent1.tchap.incubateur.net
const roomUrlRegex = new RegExp("/#/room/![A-z0-9]+:" + homeserverShortname);
cy.url().should("match", roomUrlRegex);
cy.stopMeasuring("from-submit-to-room");
cy.get(".mx_LegacyRoomHeader_nametext").contains(name);
cy.get(".tc_RoomHeader_external").should("not.exist");
});
Expand All @@ -86,15 +84,13 @@ describe("Create Room", () => {
// Change room to external
cy.get(".tc_TchapRoomTypeSelector_external").click();
// Submit
cy.startMeasuring("from-submit-to-room");
cy.get(".mx_Dialog_primary").click();
});

// Url of room looks like :
// http://localhost:8080/#/room/!kshfkshfkKSHJ:agent1.tchap.incubateur.net
const roomUrlRegex = new RegExp("/#/room/![A-z0-9]+:" + homeserverShortname);
cy.url().should("match", roomUrlRegex);
cy.stopMeasuring("from-submit-to-room");
cy.get(".mx_LegacyRoomHeader_nametext").contains(name);
cy.get(".tc_RoomHeader_external").should("exist");
});
Expand All @@ -109,15 +105,13 @@ describe("Create Room", () => {
// Change room to public
cy.get(".tc_TchapRoomTypeSelector_forum").click();
// Submit
cy.startMeasuring("from-submit-to-room");
cy.get(".mx_Dialog_primary").click();
});

// Url of room looks like :
// http://localhost:8080/#/room/!kshfkshfkKSHJ:agent1.tchap.incubateur.net
const roomUrlRegex = new RegExp("/#/room/![A-z0-9]+:" + homeserverShortname);
cy.url().should("match", roomUrlRegex);
cy.stopMeasuring("from-submit-to-room");
cy.get(".mx_LegacyRoomHeader_nametext").contains(name);
});

Expand Down
1 change: 0 additions & 1 deletion cypress/e2e/login/login.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ describe("Login", () => {
// For now, the login is run against the default_server_config.m.homeserver.base_url present in config.json.
it("logs in with an existing account and lands on the home screen", () => {
cy.get("#mx_LoginForm_email", { timeout: 15000 }).should("be.visible");
cy.percySnapshot("Login");

cy.get("#mx_LoginForm_email").type(username);
cy.get("#mx_LoginForm_password").type(password);
Expand Down
78 changes: 0 additions & 78 deletions cypress/e2e/register/register.spec.ts

This file was deleted.

57 changes: 0 additions & 57 deletions cypress/support/clipboard.ts

This file was deleted.

48 changes: 0 additions & 48 deletions cypress/support/composer.ts

This file was deleted.

8 changes: 0 additions & 8 deletions cypress/support/e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,12 @@ limitations under the License.

/// <reference types="cypress" />

import "@percy/cypress";
import "cypress-real-events";

import "./performance";
import "./loginToRemoteHomeserver";
import "./labs";
import "./client";
import "./settings";
import "./clipboard";
import "./util";
import "./app";
import "./percy";
import "./views";
import "./iframes";
import "./timeline";
import "./network";
import "./composer";
49 changes: 0 additions & 49 deletions cypress/support/iframes.ts

This file was deleted.

45 changes: 0 additions & 45 deletions cypress/support/labs.ts

This file was deleted.

Loading

0 comments on commit c0a0ca1

Please sign in to comment.