diff --git a/src/Explorer/Panes/AddCollectionPanel.tsx b/src/Explorer/Panes/AddCollectionPanel.tsx index 24d3f61d4..1b5c75038 100644 --- a/src/Explorer/Panes/AddCollectionPanel.tsx +++ b/src/Explorer/Panes/AddCollectionPanel.tsx @@ -319,7 +319,7 @@ export class AddCollectionPanel extends React.Component) => this.setState({ collectionId: event.target.value }) diff --git a/src/Explorer/Panes/__snapshots__/AddCollectionPanel.test.tsx.snap b/src/Explorer/Panes/__snapshots__/AddCollectionPanel.test.tsx.snap index a89d84a81..0a19a654b 100644 --- a/src/Explorer/Panes/__snapshots__/AddCollectionPanel.test.tsx.snap +++ b/src/Explorer/Panes/__snapshots__/AddCollectionPanel.test.tsx.snap @@ -84,7 +84,7 @@ exports[`AddCollectionPanel should render Default properly 1`] = ` className="panelGroupSpacing" > { // Create new database and graph await explorer.click('[data-test="New Graph"]'); - await explorer.fill('[aria-label="New database id"]', databaseId); - await explorer.fill('[aria-label="Graph id"]', containerId); + await explorer.fill('[aria-label="New database id, Type a new database id"]', databaseId); + await explorer.fill('[aria-label="Graph id, Example Graph1"]', containerId); await explorer.fill('[aria-label="Partition key"]', "/pk"); await explorer.click("#sidePanelOkButton"); await explorer.click(`.nodeItem >> text=${databaseId}`); diff --git a/test/mongo/container.spec.ts b/test/mongo/container.spec.ts index ca977ea93..d6a9271ed 100644 --- a/test/mongo/container.spec.ts +++ b/test/mongo/container.spec.ts @@ -14,8 +14,8 @@ test("Mongo CRUD", async () => { // Create new database and collection await explorer.click('[data-test="New Collection"]'); - await explorer.fill('[aria-label="New database id"]', databaseId); - await explorer.fill('[aria-label="Collection id"]', containerId); + await explorer.fill('[aria-label="New database id, Type a new database id"]', databaseId); + await explorer.fill('[aria-label="Collection id, Example Collection1"]', containerId); await explorer.fill('[aria-label="Shard key"]', "pk"); await explorer.click("#sidePanelOkButton"); await explorer.click(`.nodeItem >> text=${databaseId}`); diff --git a/test/mongo/container32.spec.ts b/test/mongo/container32.spec.ts index 5b3845a14..ac6dbc39c 100644 --- a/test/mongo/container32.spec.ts +++ b/test/mongo/container32.spec.ts @@ -14,8 +14,8 @@ test("Mongo CRUD", async () => { // Create new database and collection await explorer.click('[data-test="New Collection"]'); - await explorer.fill('[aria-label="New database id"]', databaseId); - await explorer.fill('[aria-label="Collection id"]', containerId); + await explorer.fill('[aria-label="New database id, Type a new database id"]', databaseId); + await explorer.fill('[aria-label="Collection id, Example Collection1"]', containerId); await explorer.fill('[aria-label="Shard key"]', "pk"); await explorer.click("#sidePanelOkButton"); explorer.click(`.nodeItem >> text=${databaseId}`); diff --git a/test/sql/container.spec.ts b/test/sql/container.spec.ts index 066344740..975687aaa 100644 --- a/test/sql/container.spec.ts +++ b/test/sql/container.spec.ts @@ -13,8 +13,8 @@ test("SQL CRUD", async () => { const explorer = await waitForExplorer(); await explorer.click('[data-test="New Container"]'); - await explorer.fill('[aria-label="New database id"]', databaseId); - await explorer.fill('[aria-label="Container id"]', containerId); + await explorer.fill('[aria-label="New database id, Type a new database id"]', databaseId); + await explorer.fill('[aria-label="Container id, Example Container1"]', containerId); await explorer.fill('[aria-label="Partition key"]', "/pk"); await explorer.click("#sidePanelOkButton"); await explorer.click(`.nodeItem >> text=${databaseId}`); diff --git a/test/tables/container.spec.ts b/test/tables/container.spec.ts index 5dbfc9cfa..932127bb1 100644 --- a/test/tables/container.spec.ts +++ b/test/tables/container.spec.ts @@ -14,7 +14,7 @@ test("Tables CRUD", async () => { await page.waitForSelector('text="Querying databases"', { state: "detached" }); await explorer.click('[data-test="New Table"]'); - await explorer.fill('[aria-label="Table id"]', tableId); + await explorer.fill('[aria-label="Table id, Example Table1"]', tableId); await explorer.click("#sidePanelOkButton"); await explorer.click(`[data-test="TablesDB"]`); await explorer.click(`[data-test="${tableId}"] [aria-label="More"]`);