fix(core): improve the UX for edit collection (#4827)
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
This commit is contained in:
1 parent
7305530d97
commit
08e7fa3486
7 files changed
+121
-93
No files matched your search
@@ -23,6 +23,7 @@ export const createFirstFilter = async (page: Page, name: string) => {
|
||||
await page
|
||||
.locator('[data-testid="variable-select-item"]', { hasText: name })
|
||||
.click();
|
||||
await page.keyboard.press('Escape');
|
||||
};
|
||||
|
||||
export const checkFilterName = async (page: Page, name: string) => {
|
||||
@@ -212,4 +213,5 @@ export const changeFilter = async (page: Page, to: string) => {
|
||||
export async function selectTag(page: Page, name: string | RegExp) {
|
||||
await page.getByTestId('filter-arg').click();
|
||||
await page.getByTestId(`multi-select-${name}`).click();
|
||||
await page.keyboard.press('Escape', { delay: 100 });
|
||||
}
|
||||
Reference in new issue
Block a user