ref: Portfolio Website Code Generator template (#8823)
* Update Portfolio Website Code Generator.json * Update Portfolio Website Code Generator.json * Update Portfolio Website Code Generator.json * ✨ (dropdownComponent/index.tsx): add data-testid attribute to dropdown option container for improved testing 🔧 (refresh-dropdown-list.spec.ts): update test to click on the correct dropdown option container for refreshing the dropdown list --------- Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
This commit is contained in:
parent
ae764d6465
commit
d2bee3069b
3 changed files with 749 additions and 821 deletions
|
|
@ -37,7 +37,7 @@ test(
|
|||
await page.waitForTimeout(3000);
|
||||
|
||||
await page.getByTestId("dropdown_str_model_name").first().click();
|
||||
await page.getByTestId("refresh-dropdown-list-model_name").first().click();
|
||||
await page.getByTestId("dropdown-option-0-container").first().click();
|
||||
await page.getByText("Loading Options").isVisible({ timeout: 5000 });
|
||||
},
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue