mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
[MA-7]: Fixed failing playwright test case
This commit is contained in:
parent
80252f9cc5
commit
2c67544836
@ -50,7 +50,7 @@ export default class MessagePriority {
|
||||
}
|
||||
|
||||
async closePriorityMenu() {
|
||||
await this.priorityIcon.click();
|
||||
await this.priorityMenu.press('Escape');
|
||||
await expect(this.priorityMenu).not.toBeVisible();
|
||||
}
|
||||
|
||||
|
@ -25,7 +25,8 @@ test('MM-T5139: Message Priority - Standard message priority and system setting'
|
||||
await messagePriority.verifyStandardOptionSelected();
|
||||
|
||||
// # Close menu and post message
|
||||
await messagePriority.standardPriorityOption.click();
|
||||
await messagePriority.closePriorityMenu();
|
||||
|
||||
const testMessage = 'This is just a test message';
|
||||
await channelsPage.postMessage(testMessage);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user