Update right panel base card styling to match Compound (#12768)
* Update base card styling to match Compound Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update screenshot Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
5f10ccb5e4
commit
f7a078d250
24 changed files with 118 additions and 130 deletions
|
@ -433,7 +433,7 @@ test.describe("Threads", () => {
|
|||
await textbox.press("Enter");
|
||||
await expect(locator.locator(".mx_EventTile_last").getByText("Hello Mr. User")).toBeAttached();
|
||||
// Close thread
|
||||
await locator.getByRole("button", { name: "Close" }).click();
|
||||
await locator.getByTestId("base-card-close-button").click();
|
||||
|
||||
// Open existing thread
|
||||
locator = page
|
||||
|
@ -486,7 +486,7 @@ test.describe("Threads", () => {
|
|||
await textbox.press("Enter");
|
||||
await expect(threadPanel.locator(".mx_EventTile_last").getByText(threadMessage)).toBeVisible();
|
||||
// Close thread
|
||||
await threadPanel.getByRole("button", { name: "Close" }).click();
|
||||
await threadPanel.getByTestId("base-card-close-button").click();
|
||||
};
|
||||
|
||||
await sendMessage("Hello Mr. Bot");
|
||||
|
@ -502,7 +502,7 @@ test.describe("Threads", () => {
|
|||
).toBeVisible();
|
||||
|
||||
// Open threads list
|
||||
await page.locator(".mx_BaseCard_back").click();
|
||||
await page.getByTestId("base-card-back-button").click();
|
||||
const rightPanel = page.locator(".mx_RightPanel");
|
||||
// Check that the threads are listed
|
||||
await expect(rightPanel.locator(".mx_EventTile").getByText("Hello Mr. User in a thread")).toBeVisible();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue