dh-auth-library 2.2.1 → 2.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +3 -2
- package/dist/index.es.js +3 -2
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -345,11 +345,12 @@ var DigidLoginPage = class extends BaseLoginPage {
|
|
|
345
345
|
await this.openPage(startUrl);
|
|
346
346
|
await this.handleAnySpecialADLoginScreen();
|
|
347
347
|
try {
|
|
348
|
-
await loginButton.click();
|
|
348
|
+
await loginButton.click({ timeout: 3e4 });
|
|
349
349
|
} catch (_error) {
|
|
350
|
+
console.error(`Loginbutton click failed with error: ${_error}`);
|
|
350
351
|
await this.openPage(startUrl);
|
|
351
352
|
await this.handleAnySpecialADLoginScreen();
|
|
352
|
-
await loginButton.click();
|
|
353
|
+
await loginButton.click({ timeout: 3e4 });
|
|
353
354
|
}
|
|
354
355
|
if (!this.page.url().match(/authn/)) {
|
|
355
356
|
await this.loginWithDigid(account);
|
package/dist/index.es.js
CHANGED
|
@@ -321,11 +321,12 @@ var DigidLoginPage = class extends BaseLoginPage {
|
|
|
321
321
|
await this.openPage(startUrl);
|
|
322
322
|
await this.handleAnySpecialADLoginScreen();
|
|
323
323
|
try {
|
|
324
|
-
await loginButton.click();
|
|
324
|
+
await loginButton.click({ timeout: 3e4 });
|
|
325
325
|
} catch (_error) {
|
|
326
|
+
console.error(`Loginbutton click failed with error: ${_error}`);
|
|
326
327
|
await this.openPage(startUrl);
|
|
327
328
|
await this.handleAnySpecialADLoginScreen();
|
|
328
|
-
await loginButton.click();
|
|
329
|
+
await loginButton.click({ timeout: 3e4 });
|
|
329
330
|
}
|
|
330
331
|
if (!this.page.url().match(/authn/)) {
|
|
331
332
|
await this.loginWithDigid(account);
|