mirror of https://github.com/zulip/zulip.git
puppeteer: Fix the selector for opening the message action menu.
In this 90041ff453
,
we remove the `info` class from the message action
menu, that's why it was failing.
This commit replaces it with the correct selector.
This commit is contained in:
parent
c18ef0b93f
commit
405073d590
|
@ -5,7 +5,7 @@ import common from "../puppeteer_lib/common";
|
|||
async function trigger_edit_last_message(page: Page): Promise<void> {
|
||||
await page.evaluate(() => {
|
||||
const msg = $("#zhome .message_row").last();
|
||||
msg.find(".info").trigger("click");
|
||||
msg.find(".message_control_button.actions_hover").trigger("click");
|
||||
$(".popover_edit_message").trigger("click");
|
||||
});
|
||||
await page.waitForSelector(".message_edit_content", {visible: true});
|
||||
|
|
Loading…
Reference in New Issue