Remove hover effect from user name on a DM creation UI (#10887)
This commit is contained in:
parent
938aefc51c
commit
50f7317762
2 changed files with 19 additions and 5 deletions
|
@ -164,6 +164,15 @@ describe("Invite dialog", function () {
|
|||
// Assert that the invite dialog disappears
|
||||
cy.get(".mx_InviteDialog_other").should("not.exist");
|
||||
|
||||
// Assert that the hovered user name on invitation UI does not have background color
|
||||
// TODO: implement the test on room-header.spec.ts
|
||||
cy.get(".mx_RoomHeader").within(() => {
|
||||
cy.get(".mx_RoomHeader_name--textonly")
|
||||
.realHover()
|
||||
.get(".mx_RoomHeader_name--textonly:hover")
|
||||
.should("have.css", "background-color", "rgba(0, 0, 0, 0)");
|
||||
});
|
||||
|
||||
// Send a message to invite the bots
|
||||
cy.getComposer().type("Hello{enter}");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue