🐛(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:
@@ -14,6 +14,7 @@ and this project adheres to
|
|||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
- 🐛(frontend) fix flaky e2e test #636
|
||||||
- 🐛(frontend) fix disable mailbox button display #631
|
- 🐛(frontend) fix disable mailbox button display #631
|
||||||
- 🐛(backend) fix dimail call despite mailbox creation failure on our side
|
- 🐛(backend) fix dimail call despite mailbox creation failure on our side
|
||||||
- 🧑💻(user) fix the User.language infinite migration #611
|
- 🧑💻(user) fix the User.language infinite migration #611
|
||||||
|
|||||||
@@ -139,8 +139,6 @@ test.describe('Members Delete', () => {
|
|||||||
// To not be the only owner
|
// To not be the only owner
|
||||||
await addNewMember(page, 0, 'Owner', 'E2E');
|
await addNewMember(page, 0, 'Owner', 'E2E');
|
||||||
|
|
||||||
const username = await addNewMember(page, 0, 'Administration', 'Monique');
|
|
||||||
|
|
||||||
const table = page.getByLabel('List members card').getByRole('table');
|
const table = page.getByLabel('List members card').getByRole('table');
|
||||||
|
|
||||||
// find row where regexp match the name
|
// find row where regexp match the name
|
||||||
@@ -156,6 +154,7 @@ test.describe('Members Delete', () => {
|
|||||||
await radioGroup.getByRole('radio', { name: 'Administration' }).click();
|
await radioGroup.getByRole('radio', { name: 'Administration' }).click();
|
||||||
await page.getByRole('button', { name: 'Validate' }).click();
|
await page.getByRole('button', { name: 'Validate' }).click();
|
||||||
|
|
||||||
|
const username = await addNewMember(page, 0, 'Administration', 'Monique');
|
||||||
const cells = table
|
const cells = table
|
||||||
.getByRole('row')
|
.getByRole('row')
|
||||||
.filter({ hasText: username })
|
.filter({ hasText: username })
|
||||||
|
|||||||
Reference in New Issue
Block a user