New Data Loader + Improvement to accounts filtering in admin
1. Update data loaders (#223) 2. Use new data loader functionality to allow filtering by both name and email in Super Admin 3. Update test to use email filtering
This commit is contained in:
committed by
GitHub
parent
e7f17dd34f
commit
dd5219e445
@@ -88,7 +88,8 @@ test.describe('Admin', () => {
|
||||
// based on your URL structure
|
||||
await page.goto(`/admin/accounts`);
|
||||
|
||||
const filterText = testUserEmail.split('@')[0]!;
|
||||
// use the email as the filter text
|
||||
const filterText = testUserEmail;
|
||||
|
||||
await filterAccounts(page, filterText);
|
||||
await selectAccount(page, filterText);
|
||||
|
||||
Reference in New Issue
Block a user