Adding back some missing errors from flow
This commit is contained in:
parent
bdcf1b753f
commit
d947ad488f
1 changed files with 3 additions and 3 deletions
|
|
@ -76,19 +76,19 @@ export class BaanReserverenService {
|
|||
.waitForSelector('input[name=username]')
|
||||
.then((i) => i?.type(username))
|
||||
.catch((e: Error) => {
|
||||
// throw new RunnerLoginUsernameInputError(e)
|
||||
throw new RunnerLoginUsernameInputError(e)
|
||||
})
|
||||
await this.page
|
||||
.$('input[name=password]')
|
||||
.then((i) => i?.type(password))
|
||||
.catch((e: Error) => {
|
||||
// throw new RunnerLoginPasswordInputError(e)
|
||||
throw new RunnerLoginPasswordInputError(e)
|
||||
})
|
||||
await this.page
|
||||
.$('button')
|
||||
.then((b) => b?.click())
|
||||
.catch((e: Error) => {
|
||||
// throw new RunnerLoginSubmitError(e)
|
||||
throw new RunnerLoginSubmitError(e)
|
||||
})
|
||||
this.startSession(username)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue