diff --git a/e2e/__screenshots__/angular-example/development/example.spec.ts/logged-in-current-mode.png b/e2e/__screenshots__/angular-example/development/example.spec.ts/logged-in-current-mode.png index cd6d6e00..80590396 100644 Binary files a/e2e/__screenshots__/angular-example/development/example.spec.ts/logged-in-current-mode.png and b/e2e/__screenshots__/angular-example/development/example.spec.ts/logged-in-current-mode.png differ diff --git a/e2e/__screenshots__/angular-example/development/example.spec.ts/login-current-mode.png b/e2e/__screenshots__/angular-example/development/example.spec.ts/login-current-mode.png index 0682269c..01a86f35 100644 Binary files a/e2e/__screenshots__/angular-example/development/example.spec.ts/login-current-mode.png and b/e2e/__screenshots__/angular-example/development/example.spec.ts/login-current-mode.png differ diff --git a/e2e/__screenshots__/angular-example/development/example.spec.ts/logout-current-mode.png b/e2e/__screenshots__/angular-example/development/example.spec.ts/logout-current-mode.png index 2869f4fb..ac557177 100644 Binary files a/e2e/__screenshots__/angular-example/development/example.spec.ts/logout-current-mode.png and b/e2e/__screenshots__/angular-example/development/example.spec.ts/logout-current-mode.png differ diff --git a/e2e/__screenshots__/angular-example/development/example.spec.ts/modal-current-mode.png b/e2e/__screenshots__/angular-example/development/example.spec.ts/modal-current-mode.png index 36043d4f..c75f4746 100644 Binary files a/e2e/__screenshots__/angular-example/development/example.spec.ts/modal-current-mode.png and b/e2e/__screenshots__/angular-example/development/example.spec.ts/modal-current-mode.png differ diff --git a/e2e/__screenshots__/angular-example/production/example.spec.ts/logged-in-current-mode.png b/e2e/__screenshots__/angular-example/production/example.spec.ts/logged-in-current-mode.png index 2d4046bd..1ee25699 100644 Binary files a/e2e/__screenshots__/angular-example/production/example.spec.ts/logged-in-current-mode.png and b/e2e/__screenshots__/angular-example/production/example.spec.ts/logged-in-current-mode.png differ diff --git a/e2e/__screenshots__/angular-example/production/example.spec.ts/login-current-mode.png b/e2e/__screenshots__/angular-example/production/example.spec.ts/login-current-mode.png index 373eb52c..451709d9 100644 Binary files a/e2e/__screenshots__/angular-example/production/example.spec.ts/login-current-mode.png and b/e2e/__screenshots__/angular-example/production/example.spec.ts/login-current-mode.png differ diff --git a/e2e/__screenshots__/angular-example/production/example.spec.ts/logout-current-mode.png b/e2e/__screenshots__/angular-example/production/example.spec.ts/logout-current-mode.png index 373eb52c..451709d9 100644 Binary files a/e2e/__screenshots__/angular-example/production/example.spec.ts/logout-current-mode.png and b/e2e/__screenshots__/angular-example/production/example.spec.ts/logout-current-mode.png differ diff --git a/e2e/__screenshots__/angular-example/production/example.spec.ts/modal-current-mode.png b/e2e/__screenshots__/angular-example/production/example.spec.ts/modal-current-mode.png index c8a36263..85d7cc90 100644 Binary files a/e2e/__screenshots__/angular-example/production/example.spec.ts/modal-current-mode.png and b/e2e/__screenshots__/angular-example/production/example.spec.ts/modal-current-mode.png differ diff --git a/e2e/__screenshots__/nextjs-example/development/example.spec.ts/logged-in-current-mode.png b/e2e/__screenshots__/nextjs-example/development/example.spec.ts/logged-in-current-mode.png index 1f620eac..001a0d01 100644 Binary files a/e2e/__screenshots__/nextjs-example/development/example.spec.ts/logged-in-current-mode.png and b/e2e/__screenshots__/nextjs-example/development/example.spec.ts/logged-in-current-mode.png differ diff --git a/e2e/__screenshots__/nextjs-example/development/example.spec.ts/login-current-mode.png b/e2e/__screenshots__/nextjs-example/development/example.spec.ts/login-current-mode.png index 660708db..c183fefe 100644 Binary files a/e2e/__screenshots__/nextjs-example/development/example.spec.ts/login-current-mode.png and b/e2e/__screenshots__/nextjs-example/development/example.spec.ts/login-current-mode.png differ diff --git a/e2e/__screenshots__/nextjs-example/development/example.spec.ts/logout-current-mode.png b/e2e/__screenshots__/nextjs-example/development/example.spec.ts/logout-current-mode.png index 94e079fe..c183fefe 100644 Binary files a/e2e/__screenshots__/nextjs-example/development/example.spec.ts/logout-current-mode.png and b/e2e/__screenshots__/nextjs-example/development/example.spec.ts/logout-current-mode.png differ diff --git a/e2e/__screenshots__/nextjs-example/development/example.spec.ts/modal-current-mode.png b/e2e/__screenshots__/nextjs-example/development/example.spec.ts/modal-current-mode.png index ff692969..5a875f59 100644 Binary files a/e2e/__screenshots__/nextjs-example/development/example.spec.ts/modal-current-mode.png and b/e2e/__screenshots__/nextjs-example/development/example.spec.ts/modal-current-mode.png differ diff --git a/e2e/__screenshots__/nextjs-example/production/example.spec.ts/logged-in-current-mode.png b/e2e/__screenshots__/nextjs-example/production/example.spec.ts/logged-in-current-mode.png index d030cd06..5eb06cd6 100644 Binary files a/e2e/__screenshots__/nextjs-example/production/example.spec.ts/logged-in-current-mode.png and b/e2e/__screenshots__/nextjs-example/production/example.spec.ts/logged-in-current-mode.png differ diff --git a/e2e/__screenshots__/nextjs-example/production/example.spec.ts/login-current-mode.png b/e2e/__screenshots__/nextjs-example/production/example.spec.ts/login-current-mode.png index 12db2017..3a82b624 100644 Binary files a/e2e/__screenshots__/nextjs-example/production/example.spec.ts/login-current-mode.png and b/e2e/__screenshots__/nextjs-example/production/example.spec.ts/login-current-mode.png differ diff --git a/e2e/__screenshots__/nextjs-example/production/example.spec.ts/logout-current-mode.png b/e2e/__screenshots__/nextjs-example/production/example.spec.ts/logout-current-mode.png index da8d0f3d..3a82b624 100644 Binary files a/e2e/__screenshots__/nextjs-example/production/example.spec.ts/logout-current-mode.png and b/e2e/__screenshots__/nextjs-example/production/example.spec.ts/logout-current-mode.png differ diff --git a/e2e/__screenshots__/nextjs-example/production/example.spec.ts/modal-current-mode.png b/e2e/__screenshots__/nextjs-example/production/example.spec.ts/modal-current-mode.png index c54bd778..f0490fb7 100644 Binary files a/e2e/__screenshots__/nextjs-example/production/example.spec.ts/modal-current-mode.png and b/e2e/__screenshots__/nextjs-example/production/example.spec.ts/modal-current-mode.png differ diff --git a/e2e/__screenshots__/react-example/development/example.spec.ts/logged-in-current-mode.png b/e2e/__screenshots__/react-example/development/example.spec.ts/logged-in-current-mode.png index 6f225891..b8d69860 100644 Binary files a/e2e/__screenshots__/react-example/development/example.spec.ts/logged-in-current-mode.png and b/e2e/__screenshots__/react-example/development/example.spec.ts/logged-in-current-mode.png differ diff --git a/e2e/__screenshots__/react-example/development/example.spec.ts/login-current-mode.png b/e2e/__screenshots__/react-example/development/example.spec.ts/login-current-mode.png index 88717b3a..008fd86b 100644 Binary files a/e2e/__screenshots__/react-example/development/example.spec.ts/login-current-mode.png and b/e2e/__screenshots__/react-example/development/example.spec.ts/login-current-mode.png differ diff --git a/e2e/__screenshots__/react-example/development/example.spec.ts/logout-current-mode.png b/e2e/__screenshots__/react-example/development/example.spec.ts/logout-current-mode.png index 4441c7d5..c7b6ba6a 100644 Binary files a/e2e/__screenshots__/react-example/development/example.spec.ts/logout-current-mode.png and b/e2e/__screenshots__/react-example/development/example.spec.ts/logout-current-mode.png differ diff --git a/e2e/__screenshots__/react-example/development/example.spec.ts/modal-current-mode.png b/e2e/__screenshots__/react-example/development/example.spec.ts/modal-current-mode.png index fb3fcd31..b6a33327 100644 Binary files a/e2e/__screenshots__/react-example/development/example.spec.ts/modal-current-mode.png and b/e2e/__screenshots__/react-example/development/example.spec.ts/modal-current-mode.png differ diff --git a/e2e/__screenshots__/react-example/production/example.spec.ts/logged-in-current-mode.png b/e2e/__screenshots__/react-example/production/example.spec.ts/logged-in-current-mode.png index 300305d3..83083260 100644 Binary files a/e2e/__screenshots__/react-example/production/example.spec.ts/logged-in-current-mode.png and b/e2e/__screenshots__/react-example/production/example.spec.ts/logged-in-current-mode.png differ diff --git a/e2e/__screenshots__/react-example/production/example.spec.ts/login-current-mode.png b/e2e/__screenshots__/react-example/production/example.spec.ts/login-current-mode.png index 273bba24..6e53d087 100644 Binary files a/e2e/__screenshots__/react-example/production/example.spec.ts/login-current-mode.png and b/e2e/__screenshots__/react-example/production/example.spec.ts/login-current-mode.png differ diff --git a/e2e/__screenshots__/react-example/production/example.spec.ts/logout-current-mode.png b/e2e/__screenshots__/react-example/production/example.spec.ts/logout-current-mode.png index 273bba24..6e53d087 100644 Binary files a/e2e/__screenshots__/react-example/production/example.spec.ts/logout-current-mode.png and b/e2e/__screenshots__/react-example/production/example.spec.ts/logout-current-mode.png differ diff --git a/e2e/__screenshots__/react-example/production/example.spec.ts/modal-current-mode.png b/e2e/__screenshots__/react-example/production/example.spec.ts/modal-current-mode.png index 35e4ac11..34c666f9 100644 Binary files a/e2e/__screenshots__/react-example/production/example.spec.ts/modal-current-mode.png and b/e2e/__screenshots__/react-example/production/example.spec.ts/modal-current-mode.png differ diff --git a/e2e/__screenshots__/react-ts-example/development/example.spec.ts/logged-in-current-mode.png b/e2e/__screenshots__/react-ts-example/development/example.spec.ts/logged-in-current-mode.png index bf4327d9..4926bb3e 100644 Binary files a/e2e/__screenshots__/react-ts-example/development/example.spec.ts/logged-in-current-mode.png and b/e2e/__screenshots__/react-ts-example/development/example.spec.ts/logged-in-current-mode.png differ diff --git a/e2e/__screenshots__/react-ts-example/development/example.spec.ts/login-current-mode.png b/e2e/__screenshots__/react-ts-example/development/example.spec.ts/login-current-mode.png index 88717b3a..c7b6ba6a 100644 Binary files a/e2e/__screenshots__/react-ts-example/development/example.spec.ts/login-current-mode.png and b/e2e/__screenshots__/react-ts-example/development/example.spec.ts/login-current-mode.png differ diff --git a/e2e/__screenshots__/react-ts-example/development/example.spec.ts/logout-current-mode.png b/e2e/__screenshots__/react-ts-example/development/example.spec.ts/logout-current-mode.png index 4441c7d5..165cc39d 100644 Binary files a/e2e/__screenshots__/react-ts-example/development/example.spec.ts/logout-current-mode.png and b/e2e/__screenshots__/react-ts-example/development/example.spec.ts/logout-current-mode.png differ diff --git a/e2e/__screenshots__/react-ts-example/development/example.spec.ts/modal-current-mode.png b/e2e/__screenshots__/react-ts-example/development/example.spec.ts/modal-current-mode.png index 5ecd2e5a..daf8115f 100644 Binary files a/e2e/__screenshots__/react-ts-example/development/example.spec.ts/modal-current-mode.png and b/e2e/__screenshots__/react-ts-example/development/example.spec.ts/modal-current-mode.png differ diff --git a/e2e/__screenshots__/react-ts-example/production/example.spec.ts/logged-in-current-mode.png b/e2e/__screenshots__/react-ts-example/production/example.spec.ts/logged-in-current-mode.png index 62f91897..c8cdcfce 100644 Binary files a/e2e/__screenshots__/react-ts-example/production/example.spec.ts/logged-in-current-mode.png and b/e2e/__screenshots__/react-ts-example/production/example.spec.ts/logged-in-current-mode.png differ diff --git a/e2e/__screenshots__/react-ts-example/production/example.spec.ts/login-current-mode.png b/e2e/__screenshots__/react-ts-example/production/example.spec.ts/login-current-mode.png index 273bba24..6e53d087 100644 Binary files a/e2e/__screenshots__/react-ts-example/production/example.spec.ts/login-current-mode.png and b/e2e/__screenshots__/react-ts-example/production/example.spec.ts/login-current-mode.png differ diff --git a/e2e/__screenshots__/react-ts-example/production/example.spec.ts/logout-current-mode.png b/e2e/__screenshots__/react-ts-example/production/example.spec.ts/logout-current-mode.png index 273bba24..6e53d087 100644 Binary files a/e2e/__screenshots__/react-ts-example/production/example.spec.ts/logout-current-mode.png and b/e2e/__screenshots__/react-ts-example/production/example.spec.ts/logout-current-mode.png differ diff --git a/e2e/__screenshots__/react-ts-example/production/example.spec.ts/modal-current-mode.png b/e2e/__screenshots__/react-ts-example/production/example.spec.ts/modal-current-mode.png index 93edb877..34c666f9 100644 Binary files a/e2e/__screenshots__/react-ts-example/production/example.spec.ts/modal-current-mode.png and b/e2e/__screenshots__/react-ts-example/production/example.spec.ts/modal-current-mode.png differ diff --git a/e2e/__screenshots__/sveltekit-example/development/example.spec.ts/logged-in-current-mode.png b/e2e/__screenshots__/sveltekit-example/development/example.spec.ts/logged-in-current-mode.png index 8fb52e6f..2c80f248 100644 Binary files a/e2e/__screenshots__/sveltekit-example/development/example.spec.ts/logged-in-current-mode.png and b/e2e/__screenshots__/sveltekit-example/development/example.spec.ts/logged-in-current-mode.png differ diff --git a/e2e/__screenshots__/sveltekit-example/development/example.spec.ts/login-current-mode.png b/e2e/__screenshots__/sveltekit-example/development/example.spec.ts/login-current-mode.png index 638c3d07..469955df 100644 Binary files a/e2e/__screenshots__/sveltekit-example/development/example.spec.ts/login-current-mode.png and b/e2e/__screenshots__/sveltekit-example/development/example.spec.ts/login-current-mode.png differ diff --git a/e2e/__screenshots__/sveltekit-example/development/example.spec.ts/logout-current-mode.png b/e2e/__screenshots__/sveltekit-example/development/example.spec.ts/logout-current-mode.png index aced531d..704ddeb0 100644 Binary files a/e2e/__screenshots__/sveltekit-example/development/example.spec.ts/logout-current-mode.png and b/e2e/__screenshots__/sveltekit-example/development/example.spec.ts/logout-current-mode.png differ diff --git a/e2e/__screenshots__/sveltekit-example/development/example.spec.ts/modal-current-mode.png b/e2e/__screenshots__/sveltekit-example/development/example.spec.ts/modal-current-mode.png index 8c0330e1..9dee4028 100644 Binary files a/e2e/__screenshots__/sveltekit-example/development/example.spec.ts/modal-current-mode.png and b/e2e/__screenshots__/sveltekit-example/development/example.spec.ts/modal-current-mode.png differ diff --git a/e2e/__screenshots__/sveltekit-example/production/example.spec.ts/logged-in-current-mode.png b/e2e/__screenshots__/sveltekit-example/production/example.spec.ts/logged-in-current-mode.png index 0e4936b2..72cad3d9 100644 Binary files a/e2e/__screenshots__/sveltekit-example/production/example.spec.ts/logged-in-current-mode.png and b/e2e/__screenshots__/sveltekit-example/production/example.spec.ts/logged-in-current-mode.png differ diff --git a/e2e/__screenshots__/sveltekit-example/production/example.spec.ts/login-current-mode.png b/e2e/__screenshots__/sveltekit-example/production/example.spec.ts/login-current-mode.png index a6d58175..c90b5508 100644 Binary files a/e2e/__screenshots__/sveltekit-example/production/example.spec.ts/login-current-mode.png and b/e2e/__screenshots__/sveltekit-example/production/example.spec.ts/login-current-mode.png differ diff --git a/e2e/__screenshots__/sveltekit-example/production/example.spec.ts/logout-current-mode.png b/e2e/__screenshots__/sveltekit-example/production/example.spec.ts/logout-current-mode.png index a6d58175..c90b5508 100644 Binary files a/e2e/__screenshots__/sveltekit-example/production/example.spec.ts/logout-current-mode.png and b/e2e/__screenshots__/sveltekit-example/production/example.spec.ts/logout-current-mode.png differ diff --git a/e2e/__screenshots__/sveltekit-example/production/example.spec.ts/modal-current-mode.png b/e2e/__screenshots__/sveltekit-example/production/example.spec.ts/modal-current-mode.png index 566bd848..87ce34f1 100644 Binary files a/e2e/__screenshots__/sveltekit-example/production/example.spec.ts/modal-current-mode.png and b/e2e/__screenshots__/sveltekit-example/production/example.spec.ts/modal-current-mode.png differ diff --git a/e2e/__screenshots__/vanilla-js-example/development/example.spec.ts/logged-in-current-mode.png b/e2e/__screenshots__/vanilla-js-example/development/example.spec.ts/logged-in-current-mode.png index 39fc2f04..3cc0b055 100644 Binary files a/e2e/__screenshots__/vanilla-js-example/development/example.spec.ts/logged-in-current-mode.png and b/e2e/__screenshots__/vanilla-js-example/development/example.spec.ts/logged-in-current-mode.png differ diff --git a/e2e/__screenshots__/vanilla-js-example/development/example.spec.ts/login-current-mode.png b/e2e/__screenshots__/vanilla-js-example/development/example.spec.ts/login-current-mode.png index 471b4b38..86161582 100644 Binary files a/e2e/__screenshots__/vanilla-js-example/development/example.spec.ts/login-current-mode.png and b/e2e/__screenshots__/vanilla-js-example/development/example.spec.ts/login-current-mode.png differ diff --git a/e2e/__screenshots__/vanilla-js-example/development/example.spec.ts/logout-current-mode.png b/e2e/__screenshots__/vanilla-js-example/development/example.spec.ts/logout-current-mode.png index 820da695..7b2a2477 100644 Binary files a/e2e/__screenshots__/vanilla-js-example/development/example.spec.ts/logout-current-mode.png and b/e2e/__screenshots__/vanilla-js-example/development/example.spec.ts/logout-current-mode.png differ diff --git a/e2e/__screenshots__/vanilla-js-example/development/example.spec.ts/modal-current-mode.png b/e2e/__screenshots__/vanilla-js-example/development/example.spec.ts/modal-current-mode.png index b15e80ba..fe6b76fd 100644 Binary files a/e2e/__screenshots__/vanilla-js-example/development/example.spec.ts/modal-current-mode.png and b/e2e/__screenshots__/vanilla-js-example/development/example.spec.ts/modal-current-mode.png differ diff --git a/e2e/__screenshots__/vanilla-js-example/production/example.spec.ts/logged-in-current-mode.png b/e2e/__screenshots__/vanilla-js-example/production/example.spec.ts/logged-in-current-mode.png index b142a5e4..0e5d330e 100644 Binary files a/e2e/__screenshots__/vanilla-js-example/production/example.spec.ts/logged-in-current-mode.png and b/e2e/__screenshots__/vanilla-js-example/production/example.spec.ts/logged-in-current-mode.png differ diff --git a/e2e/__screenshots__/vanilla-js-example/production/example.spec.ts/login-current-mode.png b/e2e/__screenshots__/vanilla-js-example/production/example.spec.ts/login-current-mode.png index cae763bb..fb6851f5 100644 Binary files a/e2e/__screenshots__/vanilla-js-example/production/example.spec.ts/login-current-mode.png and b/e2e/__screenshots__/vanilla-js-example/production/example.spec.ts/login-current-mode.png differ diff --git a/e2e/__screenshots__/vanilla-js-example/production/example.spec.ts/logout-current-mode.png b/e2e/__screenshots__/vanilla-js-example/production/example.spec.ts/logout-current-mode.png index cae763bb..fb6851f5 100644 Binary files a/e2e/__screenshots__/vanilla-js-example/production/example.spec.ts/logout-current-mode.png and b/e2e/__screenshots__/vanilla-js-example/production/example.spec.ts/logout-current-mode.png differ diff --git a/e2e/__screenshots__/vanilla-js-example/production/example.spec.ts/modal-current-mode.png b/e2e/__screenshots__/vanilla-js-example/production/example.spec.ts/modal-current-mode.png index a9f1877f..96a0a632 100644 Binary files a/e2e/__screenshots__/vanilla-js-example/production/example.spec.ts/modal-current-mode.png and b/e2e/__screenshots__/vanilla-js-example/production/example.spec.ts/modal-current-mode.png differ diff --git a/e2e/__screenshots__/vue-example/development/example.spec.ts/logged-in-current-mode.png b/e2e/__screenshots__/vue-example/development/example.spec.ts/logged-in-current-mode.png index 73ddb9d0..26fc7062 100644 Binary files a/e2e/__screenshots__/vue-example/development/example.spec.ts/logged-in-current-mode.png and b/e2e/__screenshots__/vue-example/development/example.spec.ts/logged-in-current-mode.png differ diff --git a/e2e/__screenshots__/vue-example/development/example.spec.ts/login-current-mode.png b/e2e/__screenshots__/vue-example/development/example.spec.ts/login-current-mode.png index be11fb97..286eda3c 100644 Binary files a/e2e/__screenshots__/vue-example/development/example.spec.ts/login-current-mode.png and b/e2e/__screenshots__/vue-example/development/example.spec.ts/login-current-mode.png differ diff --git a/e2e/__screenshots__/vue-example/development/example.spec.ts/logout-current-mode.png b/e2e/__screenshots__/vue-example/development/example.spec.ts/logout-current-mode.png index 3584549d..abdba83d 100644 Binary files a/e2e/__screenshots__/vue-example/development/example.spec.ts/logout-current-mode.png and b/e2e/__screenshots__/vue-example/development/example.spec.ts/logout-current-mode.png differ diff --git a/e2e/__screenshots__/vue-example/development/example.spec.ts/modal-current-mode.png b/e2e/__screenshots__/vue-example/development/example.spec.ts/modal-current-mode.png index 1b305bdc..3ed50e3c 100644 Binary files a/e2e/__screenshots__/vue-example/development/example.spec.ts/modal-current-mode.png and b/e2e/__screenshots__/vue-example/development/example.spec.ts/modal-current-mode.png differ diff --git a/e2e/__screenshots__/vue-example/production/example.spec.ts/logged-in-current-mode.png b/e2e/__screenshots__/vue-example/production/example.spec.ts/logged-in-current-mode.png index 8fe0997f..cb8d2f98 100644 Binary files a/e2e/__screenshots__/vue-example/production/example.spec.ts/logged-in-current-mode.png and b/e2e/__screenshots__/vue-example/production/example.spec.ts/logged-in-current-mode.png differ diff --git a/e2e/__screenshots__/vue-example/production/example.spec.ts/login-current-mode.png b/e2e/__screenshots__/vue-example/production/example.spec.ts/login-current-mode.png index f6398bba..20ec7f9b 100644 Binary files a/e2e/__screenshots__/vue-example/production/example.spec.ts/login-current-mode.png and b/e2e/__screenshots__/vue-example/production/example.spec.ts/login-current-mode.png differ diff --git a/e2e/__screenshots__/vue-example/production/example.spec.ts/logout-current-mode.png b/e2e/__screenshots__/vue-example/production/example.spec.ts/logout-current-mode.png index f6398bba..20ec7f9b 100644 Binary files a/e2e/__screenshots__/vue-example/production/example.spec.ts/logout-current-mode.png and b/e2e/__screenshots__/vue-example/production/example.spec.ts/logout-current-mode.png differ diff --git a/e2e/__screenshots__/vue-example/production/example.spec.ts/modal-current-mode.png b/e2e/__screenshots__/vue-example/production/example.spec.ts/modal-current-mode.png index b380f54f..4f1caa88 100644 Binary files a/e2e/__screenshots__/vue-example/production/example.spec.ts/modal-current-mode.png and b/e2e/__screenshots__/vue-example/production/example.spec.ts/modal-current-mode.png differ diff --git a/e2e/example.spec.ts b/e2e/example.spec.ts index 989af91c..b52c7da1 100644 --- a/e2e/example.spec.ts +++ b/e2e/example.spec.ts @@ -4,8 +4,8 @@ import {initTestSuiteWithInternetIdentity, initTestSuiteWithPasskey} from './uti testWithII.describe.configure({mode: 'serial'}); [ - {title: 'With II', initExamplePage: initTestSuiteWithInternetIdentity}, - {title: 'With Passkey', initExamplePage: initTestSuiteWithPasskey} + {title: 'With Passkey', initExamplePage: initTestSuiteWithPasskey}, + {title: 'With II', initExamplePage: initTestSuiteWithInternetIdentity} ].forEach(({title, initExamplePage}) => { testWithII.describe(title, () => { const getExamplePage = initExamplePage(); @@ -45,6 +45,8 @@ testWithII.describe.configure({mode: 'serial'}); const examplePage = getExamplePage(); await examplePage.deleteLastEntry(); + + await examplePage.assertEntries(2); }); testWithII('should sign-out', async () => { diff --git a/e2e/page-objects/example.page.ts b/e2e/page-objects/example.page.ts index e95875fc..0bf68491 100644 --- a/e2e/page-objects/example.page.ts +++ b/e2e/page-objects/example.page.ts @@ -34,6 +34,11 @@ export abstract class ExamplePage extends AppPage { await expect(row).toBeVisible(); } + async assertEntries(count: number): Promise { + const rows = this.page.locator('[role="rowgroup"] [role="row"]'); + await expect(rows).toHaveCount(count, {timeout: 2000}); + } + async addEntryWithFile({text, filePath}: {text: string; filePath: string}): Promise { const addEntryButton = this.page.locator('button', {hasText: this.callToActions.add_an_entry}); await expect(addEntryButton).toBeVisible(); @@ -84,7 +89,7 @@ export abstract class ExamplePage extends AppPage { }): Promise { await expect(this.page).toHaveScreenshot(`${name}-${mode}-mode.png`, { fullPage: true, - maxDiffPixelRatio: 0.1 + maxDiffPixelRatio: 0.03 }); }