Move from browser-request
to fetch
(#9345)
This commit is contained in:
parent
ae883bb94b
commit
8b54be6f48
50 changed files with 1474 additions and 607 deletions
|
@ -91,11 +91,11 @@ describe("Timeline", () => {
|
|||
|
||||
describe("useOnlyCurrentProfiles", () => {
|
||||
beforeEach(() => {
|
||||
cy.uploadContent(OLD_AVATAR).then((url) => {
|
||||
cy.uploadContent(OLD_AVATAR).then(({ content_uri: url }) => {
|
||||
oldAvatarUrl = url;
|
||||
cy.setAvatarUrl(url);
|
||||
});
|
||||
cy.uploadContent(NEW_AVATAR).then((url) => {
|
||||
cy.uploadContent(NEW_AVATAR).then(({ content_uri: url }) => {
|
||||
newAvatarUrl = url;
|
||||
});
|
||||
});
|
||||
|
@ -271,7 +271,7 @@ describe("Timeline", () => {
|
|||
cy.get(".mx_RoomHeader_searchButton").click();
|
||||
cy.get(".mx_SearchBar_input input").type("Message{enter}");
|
||||
|
||||
cy.get(".mx_EventTile:not(.mx_EventTile_contextual)").find(".mx_EventTile_searchHighlight").should("exist");
|
||||
cy.get(".mx_EventTile:not(.mx_EventTile_contextual) .mx_EventTile_searchHighlight").should("exist");
|
||||
cy.get(".mx_RoomView_searchResultsPanel").percySnapshotElement("Highlighted search results");
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue