From 73b6bdcd3ad4b390f3727839d1da1ad09d64d06a Mon Sep 17 00:00:00 2001 From: MokireddySampath <120497218+MokireddySampath@users.noreply.github.com> Date: Wed, 27 Sep 2023 20:47:40 +0530 Subject: [PATCH] defect2262640 (#1476) * arialabel has been added to close button of invitational youtube video * heading role has been addedd and tag has been changed to h1 * outline has been restored to choose columns link in entities page * Update QuickstartCarousel.tsx * Update SplashScreen.tsx * Update TableEntity.tsx * outline for edit entity has been added on focus * keyboard accessibility added to rows in table entities * learn more link under analytical store * Column header is populated with text * aria label has been changed for the screen readers to read placeholder text along with label text * Update queryBuilder.less * Update TableEntity.tsx * Update ThroughputInputAutoPilotV3Component.tsx * Update ThroughputInputAutoPilotV3Component.tsx * Update ThroughputInputAutoPilotV3Component.test.tsx.snap * Update ThroughputInput.less * Update PanelComponent.less * Update DataTableBindingManager.ts * Update AddCollectionPanel.tsx * Update AddCollectionPanel.test.tsx.snap * spec.ts files updated for the tests * update to container.spec files * Update container.spec.ts * Update container32.spec.ts * Update AddCollectionPanel.tsx * Update AddCollectionPanel.tsx * Update AddCollectionPanel.test.tsx.snap * Update container.spec.ts * Update container.spec.ts * Update container32.spec.ts * Update container.spec.ts * Update container.spec.ts --- src/Explorer/Panes/AddCollectionPanel.tsx | 4 ++-- .../Panes/__snapshots__/AddCollectionPanel.test.tsx.snap | 4 ++-- test/graph/container.spec.ts | 4 ++-- test/mongo/container.spec.ts | 4 ++-- test/mongo/container32.spec.ts | 4 ++-- test/sql/container.spec.ts | 4 ++-- test/tables/container.spec.ts | 2 +- 7 files changed, 13 insertions(+), 13 deletions(-) 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"]`);