mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
16 lines
453 B
TypeScript
16 lines
453 B
TypeScript
import { NBrowser } from '../n-browser-interface';
|
|
|
|
const SIDE_INNER = '.additional-info-panel';
|
|
|
|
// NOTE: needs to be executed from work view
|
|
module.exports = {
|
|
async command(this: NBrowser, taskSel: string) {
|
|
return this.waitForElementPresent(taskSel)
|
|
.pause(50)
|
|
.moveToElement(taskSel, 100, 15)
|
|
.click(taskSel)
|
|
.sendKeys(taskSel, this.Keys.ARROW_RIGHT)
|
|
.waitForElementVisible(SIDE_INNER)
|
|
.pause(50);
|
|
},
|
|
};
|