Altinn / altinn-access-management-frontend

Frontend for access management
MIT License
3 stars 1 forks source link

Develop end-to-end tests for single right delegation in Playwright #725

Open acn-Sneha opened 4 months ago

acn-Sneha commented 4 months ago

Description

This is a test issue created to develope cypress test for the whole functionality of single right delegations which is implemented in A3

Test cases to be covered

Test cases which are covered in cypress listed here. Test cases should cover end-to-end testing. Both positive and negative tests should be listed

1. DAGL/HADM delegable (without having the actual resource access themselves)

On behalf of Org :

2. ADMAI + Role access to the delegation resource

On behalf of Org :

On behalf of person :

3. ADMAI + Single right access to the delegation resource

On behalf of person :

On behalf of person :

4. HADM/ADMAI + Non-delegable resource/app/service (Negative tests)

5. User (without HADM/ADMAI) + Delegable resource (Negative tests)

acn-Sneha commented 2 months ago

@rtafj @jonkjetiloye Da ser jeg Det som vi krever er på plass og kan fortsatte med utvikling testene som var på pause, men spørsmål at siden vi skal bruke playwright i fremtid som vi har bestemt da tenker jeg at jeg skal først sette opp playwright for å kjøre testene mot AT og da skal jeg utvikle de enkeltrettigheter testcasene i playwright istedet skal fortsatt å utvikle i cypress hvis det gir mening? Bare si fra hva tenker dere om det?

Albertlarsen commented 2 months ago

Jeg synes det bare er å teste ut Playwright om du har lyst til det 😁

acn-Sneha commented 2 months ago

@Albertlarsen Da skal jeg begynne å utvikle testene i playwright etter at jeg har settet opp config file for å kjøre testene mot AT miljø :)