Skip to content

Commit 908055c

Browse files
author
GiCharkviani
committed
PW-DSM-Tissue-request-flow fixing async
1 parent 4e929a8 commit 908055c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

playwright-e2e/dss/component/input.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export default class Input extends WidgetBase {
8585
await this.toLocator().blur();
8686
}
8787

88-
public get currentValue(): Promise<string> {
88+
public async currentValue(): Promise<string> {
8989
return this.toLocator().inputValue();
9090
}
9191

@@ -97,7 +97,7 @@ export default class Input extends WidgetBase {
9797
await this.toLocator().focus();
9898
}
9999

100-
public get maxLength(): Promise<string | null> {
100+
public async maxLength(): Promise<string | null> {
101101
return this.toLocator().getAttribute('maxlength');
102102
}
103103
}

playwright-e2e/dss/component/textarea.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default class TextArea extends WidgetBase {
2626
pressTab && await this.toLocator().press('Tab');
2727
}
2828

29-
get currentValue(): Promise<string> {
29+
async currentValue(): Promise<string> {
3030
return this.toLocator().inputValue();
3131
}
3232

0 commit comments

Comments
 (0)