🐛(frontend) fix flaky e2e test

Small hack to fix clicking on member action button.
Action button of the third member in the list could not
be clickable every time.
The member list table needs and will be improved soon.
This commit is contained in:
Sabrina Demagny
2025-01-11 23:52:10 +01:00
parent 9b9aa2aa37
commit 2428229dbb
2 changed files with 2 additions and 2 deletions

View File

@@ -14,6 +14,7 @@ and this project adheres to
### Fixed
- 🐛(frontend) fix flaky e2e test #636
- 🐛(frontend) fix disable mailbox button display #631
- 🐛(backend) fix dimail call despite mailbox creation failure on our side
- 🧑‍💻(user) fix the User.language infinite migration #611

View File

@@ -139,8 +139,6 @@ test.describe('Members Delete', () => {
// To not be the only owner
await addNewMember(page, 0, 'Owner', 'E2E');
const username = await addNewMember(page, 0, 'Administration', 'Monique');
const table = page.getByLabel('List members card').getByRole('table');
// find row where regexp match the name
@@ -156,6 +154,7 @@ test.describe('Members Delete', () => {
await radioGroup.getByRole('radio', { name: 'Administration' }).click();
await page.getByRole('button', { name: 'Validate' }).click();
const username = await addNewMember(page, 0, 'Administration', 'Monique');
const cells = table
.getByRole('row')
.filter({ hasText: username })