mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-25 17:03:52 +00:00
18 lines
464 B
TypeScript
18 lines
464 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)
|
|
;
|
|
}
|
|
};
|