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]')
|
.waitForSelector('input[name=username]')
|
||||||
.then((i) => i?.type(username))
|
.then((i) => i?.type(username))
|
||||||
.catch((e: Error) => {
|
.catch((e: Error) => {
|
||||||
// throw new RunnerLoginUsernameInputError(e)
|
throw new RunnerLoginUsernameInputError(e)
|
||||||
})
|
})
|
||||||
await this.page
|
await this.page
|
||||||
.$('input[name=password]')
|
.$('input[name=password]')
|
||||||
.then((i) => i?.type(password))
|
.then((i) => i?.type(password))
|
||||||
.catch((e: Error) => {
|
.catch((e: Error) => {
|
||||||
// throw new RunnerLoginPasswordInputError(e)
|
throw new RunnerLoginPasswordInputError(e)
|
||||||
})
|
})
|
||||||
await this.page
|
await this.page
|
||||||
.$('button')
|
.$('button')
|
||||||
.then((b) => b?.click())
|
.then((b) => b?.click())
|
||||||
.catch((e: Error) => {
|
.catch((e: Error) => {
|
||||||
// throw new RunnerLoginSubmitError(e)
|
throw new RunnerLoginSubmitError(e)
|
||||||
})
|
})
|
||||||
this.startSession(username)
|
this.startSession(username)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue