import { delay } from "../helper" ; import { AbstractPageObject } from "./abstract-po" ; export class ApplyTemplatePageObject extends AbstractPageObject { async setTemplateFile ( templateFile ) { await this . beginWebView ( ) ; await this . setValue ( "btn-File" , templateFile ) ; await delay ( 2000 ) ; await this . endWebView ( ) ; } async fireSubmitClose ( ) { await this . beginWebView ( ) ; await this . click ( "submitApplyID" ) ; await this . endWebView ( ) ; } }