diff --git a/src/Explorer/Panes/CassandraAddCollectionPane/CassandraAddCollectionPane.tsx b/src/Explorer/Panes/CassandraAddCollectionPane/CassandraAddCollectionPane.tsx index 7f269d214..3613e6774 100644 --- a/src/Explorer/Panes/CassandraAddCollectionPane/CassandraAddCollectionPane.tsx +++ b/src/Explorer/Panes/CassandraAddCollectionPane/CassandraAddCollectionPane.tsx @@ -2,13 +2,13 @@ import { Checkbox, Dropdown, IDropdownOption, Link, Stack, Text, TextField } fro import * as Constants from "Common/Constants"; import { getErrorMessage, getErrorStack } from "Common/ErrorHandlingUtils"; import { InfoTooltip } from "Common/Tooltip/InfoTooltip"; -import { useSidePanel } from "hooks/useSidePanel"; -import React, { FunctionComponent, useState } from "react"; import * as SharedConstants from "Shared/Constants"; import { Action } from "Shared/Telemetry/TelemetryConstants"; import * as TelemetryProcessor from "Shared/Telemetry/TelemetryProcessor"; import { userContext } from "UserContext"; import { isServerlessAccount } from "Utils/CapabilityUtils"; +import { useSidePanel } from "hooks/useSidePanel"; +import React, { FunctionComponent, useState } from "react"; import { ThroughputInput } from "../../Controls/ThroughputInput/ThroughputInput"; import Explorer from "../../Explorer"; import { CassandraAPIDataClient } from "../../Tables/TableDataClient"; @@ -291,7 +291,7 @@ export const CassandraAddCollectionPane: FunctionComponent { await explorer.click('[data-test="New Table"]'); await explorer.click('[aria-label="Keyspace id"]'); await explorer.fill('[aria-label="Keyspace id"]', keyspaceId); - await explorer.click('[aria-label="addCollection-tableId"]'); - await explorer.fill('[aria-label="addCollection-tableId"]', tableId); + await explorer.click('[aria-label="addCollection-table Id Create table"]'); + await explorer.fill('[aria-label="addCollection-table Id Create table"]', tableId); await explorer.click("#sidePanelOkButton"); await explorer.click(`.nodeItem >> text=${keyspaceId}`); await explorer.click(`[data-test="${tableId}"] [aria-label="More"]`);