mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-17 18:05:42 +02:00
Simplified editor plugin configuration management (#9485)
Signed-off-by: Victor Ilyushchenko <alt13ri@gmail.com>
This commit is contained in:
@@ -261,7 +261,7 @@ export class DocumentContentPage extends CommonPage {
|
||||
}
|
||||
|
||||
async changeCodeBlockLanguage (text: string, oldLang: string, lang: string): Promise<void> {
|
||||
await this.codeBlock(text).locator('button.antiButton', { hasText: oldLang }).nth(1).click()
|
||||
await this.codeBlock(text).locator('button.antiButton', { hasText: oldLang }).click()
|
||||
await this.selectMenuItem(this.page, lang, true)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user