fix(components): fix dropdown component id attribute to include index for uniqueness
fix(components): fix dict component id attribute to include index for uniqueness fix(components): fix code area component id attribute to include id for uniqueness fix(modals): fix edit node modal dict component id attribute to include id for uniqueness fix(modals): fix dict area modal save button data-testid attribute for testing fix(pages): fix node toolbar component class name for more options button fix(types): add id property to dropdown component type fix(types): add id property to dict component type feat(tests): add end-to-end test for dropdown component feat(tests): add end-to-end test for dict component feat(tests): add end-to-end test for node toolbar component feat(tests): add end-to-end test for nested component feat(tests): add input component test feat(tests): add toggle component test
This commit is contained in:
parent
77665da9c7
commit
ea5ddc0ed5
12 changed files with 376 additions and 18 deletions
|
|
@ -23,7 +23,7 @@ test("InputComponent", async ({ page }) => {
|
|||
await page.waitForTimeout(2000);
|
||||
|
||||
await page
|
||||
.locator('//*[@id="sideChroma"]')
|
||||
.getByTestId("vectorstoresChroma")
|
||||
.dragTo(page.locator('//*[@id="react-flow-id"]'));
|
||||
await page.mouse.up();
|
||||
await page.mouse.down();
|
||||
|
|
@ -44,7 +44,8 @@ test("InputComponent", async ({ page }) => {
|
|||
'//*[@id="react-flow-id"]/div[1]/div[1]/div[1]/div/div[2]/div/div/div[1]/div/div[1]/div'
|
||||
)
|
||||
.click();
|
||||
await page.locator('//*[@id="editAdvancedIcon"]').click();
|
||||
await page.getByTestId("more-options-modal").click();
|
||||
await page.getByTestId("edit-button-modal").click();
|
||||
|
||||
await page.locator('//*[@id="showchroma_server_cors_allow_origins"]').click();
|
||||
expect(
|
||||
|
|
@ -154,7 +155,8 @@ test("InputComponent", async ({ page }) => {
|
|||
'//*[@id="react-flow-id"]/div[1]/div[1]/div[1]/div/div[2]/div/div/div[1]/div/div[1]/div'
|
||||
)
|
||||
.click();
|
||||
await page.locator('//*[@id="editAdvancedIcon"]').click();
|
||||
await page.getByTestId("more-options-modal").click();
|
||||
await page.getByTestId("edit-button-modal").click();
|
||||
|
||||
await page.locator('//*[@id="showcollection_name"]').click();
|
||||
expect(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue