Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 17 additions & 34 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ describe('AddStage', function () {
renderAddStage({ variant: 'icon' });
const button = screen.getByTestId('add-stage-icon-button');
expect(() => {
within(button).getByText('Add Stage');
within(button).getByText('Add stage');
}).to.throw;
});

Expand All @@ -41,7 +41,7 @@ describe('AddStage', function () {
it('renders text button', function () {
renderAddStage({ variant: 'button' });
const button = screen.getByTestId('add-stage');
expect(within(button).getByText('Add Stage')).to.exist;
expect(within(button).getByText('Add stage')).to.exist;
});

it('renders help link when stage is not last', function () {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const AddStage = ({ onAddStage, variant }: AddStageProps) => {
variant="primary"
leftGlyph={<Icon glyph="Plus"></Icon>}
>
Add Stage
Add stage
</Button>

<div className={linkContainerStyles}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ describe('PipelineBuilderUIWorkspace [Component]', function () {
await renderPipelineBuilderUIWorkspace();
const buttons = screen.getAllByTestId('add-stage');
expect(buttons.length).to.equal(1);
expect(buttons[0]).to.have.text('Add Stage');
expect(buttons[0]).to.have.text('Add stage');
});

it('adds a stage to the start of pipeline when first icon button is clicked', async function () {
Expand Down Expand Up @@ -95,7 +95,7 @@ describe('PipelineBuilderUIWorkspace [Component]', function () {
await renderPipelineBuilderUIWorkspace({}, { pipeline: [] });
const button = screen.getByTestId('add-stage');
expect(button).to.exist;
expect(button).to.have.text('Add Stage');
expect(button).to.have.text('Add stage');
});

it('adds a stage when (text) button is clicked', async function () {
Expand Down
2 changes: 1 addition & 1 deletion packages/compass-crud/src/components/document-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ const DocumentList: React.FunctionComponent<DocumentListProps> = (props) => {
variant="primary"
size="small"
>
Import Data
Import data
</Button>
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ export function ValidationStates({
variant={ButtonVariant.PrimaryOutline}
size="small"
>
Add Rule
Add rule
</Button>
</div>
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ const InitialScreen: React.FunctionComponent<{
variant="primary"
size="small"
>
Analyze Schema
Analyze schema
</Button>
}
callToActionLink={
Expand Down
Loading