Commit Graph

49 Commits

Author SHA1 Message Date
Yura Bondarenko
d69a02e6cc 90978: Fix e2e tests failing due to interactions before page fully loaded
Now that we use initialNavigation: 'enabledBlocking', pages can appear to be loaded before some functionality is fully active.
In some cases this trips up Cypress, and it tries to interact with the app too soon.

We address this by introducing a new dsBrowserOnly pipe in order to defer the data-test attributes Cypress relies on to CSR.
2022-05-04 15:25:46 +02:00
Tim Donohue
15acb47afa Rename data-e2e to data-test 2022-03-17 11:51:18 -05:00
Tim Donohue
794aa33c8f Refactor to use "data-e2e" attributes in code to make selecting fields/buttons easier in e2e tests 2022-03-02 14:42:33 -06:00
Kristof De Langhe
dd7f34e541 Merge branch 'main' into w2p-71764_Features-support-part-2
Conflicts:
	src/app/+collection-page/collection-page-routing.module.ts
	src/app/+community-page/community-page-routing.module.ts
	src/app/+item-page/edit-item-page/edit-item-page.routing.module.ts
	src/app/+item-page/edit-item-page/item-status/item-status.component.ts
	src/app/+item-page/item-page-routing.module.ts
	src/app/app-routing.module.ts
	src/app/core/core.module.ts
	src/app/shared/log-in/log-in.component.html
	src/app/shared/log-in/log-in.component.spec.ts
	src/app/shared/log-in/log-in.component.ts
2020-09-22 08:36:16 +02:00
Kristof De Langhe
3d08eb0ae1 Merge branch 'main' into w2p-72699_Hard-redirect-after-log-in
Conflicts:
	src/app/app-routing.module.ts
	src/app/shared/log-in/log-in.component.ts
2020-09-03 13:19:36 +02:00
Kristof De Langhe
17249e9541 72699: Additional fixes for maintaining and clearing the redirect url on login components 2020-09-01 16:22:16 +02:00
Art Lowel
21e8879f77 remove circular dependencies 2020-08-28 11:34:17 +02:00
Kristof De Langhe
7787a2d0e9 71764: SiteRegisterGuard + hide register link when unauthorized 2020-07-10 13:14:55 +02:00
Yana De Pauw
6f9f4ec968 71304: Implement Forgot password components 2020-06-15 11:59:25 +02:00
Yana De Pauw
bca1e8bdd4 70504: Implement feedback 2020-05-28 09:43:47 +02:00
Giuseppe Digilio
b2234e45e9 Set a max width to login div container 2020-03-13 18:28:57 +01:00
Giuseppe Digilio
fdd05d2fec Refactored components' name and added missing tests 2020-01-02 18:21:47 +01:00
Giuseppe Digilio
61eccb2973 Move out new-user and forgot-password items menu from LogInPasswordComponent 2019-10-24 22:44:36 +02:00
Julius Gruber
a59aafb1f4 Commit for server test 2019-10-16 13:14:24 +02:00
Julius Gruber
c9f92ee7a8 Moved isAuthenticated and isLoading to container 2019-10-14 16:21:35 +02:00
Julius Gruber
71fbf28984 Boolean isStandalonePage injected 2019-10-08 16:00:24 +02:00
Julius Gruber
52ef2acb08 Requested changes implemented - basic functionality working 2019-09-19 13:43:36 +02:00
Julius Gruber
beb0f2d410 Dynamic rendering of auth methods via decorator 2019-08-29 17:58:07 +02:00
Julius Gruber
3ee20ad17a Changed folder structure in shared/login folder 2019-08-29 09:59:49 +02:00
Julius Gruber
68968ca70a First functional prototype 2019-08-07 17:57:31 +02:00
Julius Gruber
12941640a4 Removed old shibboleth code 2019-08-05 15:32:41 +02:00
Julius Gruber
71f281516a Added logs for server debug 2019-08-02 10:40:46 +02:00
Julius Gruber
39fd025252 Added spinner to shibboleth landing page 2019-08-02 10:40:46 +02:00
Julius Gruber
318c736083 Added translation for Shibboleth button 2019-08-02 10:40:46 +02:00
Julius Gruber
26f01d6f8f Added backend lookup if shibboleth is enabled 2019-08-02 10:40:46 +02:00
Julius Gruber
14419ca567 Removed dispatchShibAction button 2019-08-02 10:40:46 +02:00
Julius Gruber
3d5b3ea9a1 Shbboleth workflow new 2019-08-02 10:40:46 +02:00
Julius Gruber
4bcc54befd Added log to interceptor 2019-08-02 10:39:58 +02:00
Julius Gruber
70c9050fad Test dispatch of action delivering bearer token 2019-08-02 10:39:58 +02:00
Julius Gruber
0355ff3e47 Get tokoen from backend 2019-08-02 10:39:58 +02:00
Julius Gruber
4504fa1818 Test CORS policy' 2019-08-02 10:39:58 +02:00
Julius Gruber
a36aa50d16 Added button for empty post login call 2019-08-02 10:39:58 +02:00
Julius Gruber
9a2b22943e Hardcoded button without target 2019-08-02 10:39:58 +02:00
Julius Gruber
2e9eb1d387 Changed shibb target to ..../submit 2019-08-02 10:39:58 +02:00
Julius Gruber
99ffd43d95 Changed target url to fis.tiss.tuwien.ac.at 2019-08-02 10:39:58 +02:00
Julius Gruber
e8f7aa6201 Changed log-in.component 2019-08-02 10:39:58 +02:00
Julius Gruber
1cbbcaa800 Changed href in hardcoded login button 2019-08-02 10:39:58 +02:00
Julius Gruber
1186f24cea Added success response log to auth interceptor 2019-08-02 10:39:58 +02:00
Julius Gruber
3f13031ea3 Added hardcoded ssoLogin button 2019-08-02 10:39:58 +02:00
Julius Gruber
20794381f1 Refactoring of auth.interceptor 2019-08-02 10:39:58 +02:00
Julius Gruber
086579b7f7 Added effect: checkTokenError 2019-08-02 10:39:57 +02:00
Julius Gruber
b4f3bf71ad Added shibboleth button to log-in.component 2019-08-02 10:39:57 +02:00
Giuseppe Digilio
c8a1fe0860 Removed use of platform service and created different service for SSR and CSR 2018-05-03 19:08:07 +02:00
Giuseppe Digilio
3b9a334258 Reduced use of own css 2018-05-03 14:40:34 +02:00
Giuseppe Digilio
26a743322e Added i18n label and fixes 2018-04-04 17:01:49 +02:00
Giuseppe Digilio
696b8b73f5 Added refresh token functionality 2018-02-26 15:41:07 +01:00
Giuseppe Digilio
2637f1c28e Finalized auth module 2018-02-22 15:47:15 +01:00
Giuseppe Digilio
8df514f39c Auth module improvement 2018-02-12 19:13:42 +01:00
Giuseppe Digilio
19c9482009 Added first release of the authentication module 2018-02-06 15:48:05 +01:00