search the copy job

This commit is contained in:
Bikram Choudhury
2026-01-22 02:24:26 +05:30
parent 31385950dd
commit e511c63b21
4 changed files with 300 additions and 11 deletions

View File

@@ -248,6 +248,12 @@ test.describe("Container Copy - Offline Migration", () => {
// Verify panel closes and job appears in the list
await expect(panel).not.toBeVisible({ timeout: 5000 });
// Use the filter functionality to search for the created job
const filterTextField = wrapper.getByTestId("CopyJobsList/FilterTextField");
await filterTextField.waitFor({ state: "visible", timeout: 5000 });
await filterTextField.fill(validJobName);
// Wait for the job to be visible in the filtered list
const jobsListContainer = wrapper.locator(".CopyJobListContainer .ms-DetailsList-contentWrapper .ms-List-page");
await jobsListContainer.waitFor({ state: "visible", timeout: 5000 });

View File

@@ -122,6 +122,10 @@ test.describe("Container Copy - Online Migration", () => {
// Verify panel closes and job appears in the list
await expect(panel).not.toBeVisible({ timeout: 5000 });
const filterTextField = wrapper.getByTestId("CopyJobsList/FilterTextField");
await filterTextField.waitFor({ state: "visible", timeout: 5000 });
await filterTextField.fill(onlineMigrationJobName);
const jobsListContainer = wrapper.locator(".CopyJobListContainer .ms-DetailsList-contentWrapper .ms-List-page");
await jobsListContainer.waitFor({ state: "visible", timeout: 5000 });