From c58d5765c2794f8904d5d048c527484a0a813bf7 Mon Sep 17 00:00:00 2001 From: MokireddySampath <120497218+MokireddySampath@users.noreply.github.com> Date: Wed, 12 Jul 2023 22:29:18 +0530 Subject: [PATCH] aria label attribute updated with label name for the input (#1532) --- .../CassandraAddCollectionPane.tsx | 6 +++--- test/cassandra/container.spec.ts | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) 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"]`);