[OTHER] <Test.fixme: find the profile after providing concise name>
What would you like to share?
Location: tests/serach.spec.js Testing for: "find the profile after providing concise name" Test steps: // 1. click on search profile // 2. type the whole name // 3. Display the profile if the name is correct
Do you want to work on this issue?
Yes
Additional information
test(
"find the profile after providing concise name",
async ({page}) => {
// 1. Start from the homepage
await page.goto("/");
// 2. look for and click on the search element
const searchLink = page.locator("ul.ml-10.flex.items-baseline.space-x-4 li:first-child a[aria-label='Search'][href='/search']");
await searchLink.click();
// 3. find the input field and type the whole name
const input = page.locator("[name='keyword']");
await input.fill("eddiejaoude");
// 4. select and click on the profile by matching name string
const profileHeader = page.locator("h3:has-text('eddiejaoude')");
const profileHeaderText = await profileHeader.innerText();
await expect(profileHeaderText).toContain("eddiejaoude");
}
);
To reduce notifications, issues are locked until they are https://github.com/EddieHubCommunity/BioDrop/labels/%F0%9F%8F%81%20status%3A%20ready%20for%20dev and to be assigned. You can learn more in our contributing guide https://github.com/EddieHubCommunity/BioDrop/blob/main/CONTRIBUTING.md
The issue has been unlocked and is now ready for dev. If you would like to work on this issue, you can comment to have it assigned to you. You can learn more in our contributing guide https://github.com/EddieHubCommunity/BioDrop/blob/main/CONTRIBUTING.md