mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-21 09:51:11 +00:00
Defect2271490 (#1474)
* 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 * header text color changed to meet luminosity ratio requirement * capacity calculator link has been added with underline on focus * add property is readout twice while using screenreader * arialabel added to the add property button * screenreader content changed to announce the entire alert * alert message is partially readout on error * Update fulldatatables.less * Update queryBuilder.less * Update TableEntity.tsx * Update ThroughputInput.less * Update ThroughputInput.tsx * Update ThroughputInput.test.tsx.snap * Update NewVertexComponent.tsx * Update PanelInfoErrorComponent.tsx * Update AddTableEntityPanel.tsx * Update AddTableEntityPanel.test.tsx.snap * Update SplashScreen.tsx * Update QuickstartCarousel.tsx * Update RightPaneForm.tsx * Update fulldatatables.less
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { fireEvent, render, screen } from "@testing-library/react";
|
||||
import { mount, ReactWrapper } from "enzyme";
|
||||
import { ReactWrapper, mount } from "enzyme";
|
||||
import React from "react";
|
||||
import { RightPaneForm } from "./RightPaneForm";
|
||||
|
||||
@@ -34,6 +34,6 @@ describe("Right Pane Form", () => {
|
||||
it("should render error in header", () => {
|
||||
render(<RightPaneForm {...props} formError="file already Exist" />);
|
||||
expect(screen.getByLabelText("error")).toBeDefined();
|
||||
expect(screen.getByRole("alert").innerHTML).toEqual("file already Exist");
|
||||
expect(screen.getByRole("alert").innerHTML).toContain("file already Exist");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user