Skip to content

Commit 48a7447

Browse files
committed
minor fixes
1 parent 8c99193 commit 48a7447

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/compass-aggregations/src/components/pipeline-results-workspace/index.spec.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ describe('PipelineResultsWorkspace', function () {
7272
const onRetry = spy();
7373
await renderPipelineResultsWorkspace({
7474
isError: true,
75-
error: 'Something bad happened',
75+
error: { message: 'Something bad happened' },
7676
onRetry,
7777
});
7878
expect(screen.getByText('Something bad happened')).to.exist;
79-
userEvent.click(screen.getByText('Retry'), undefined, {
79+
userEvent.click(screen.getByText('RETRY'), undefined, {
8080
skipPointerEventsCheck: true,
8181
});
8282
expect(onRetry).to.be.calledOnce;

packages/compass-aggregations/src/components/pipeline-results-workspace/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ export const PipelineResultsWorkspace: React.FunctionComponent<
177177
onClick={() =>
178178
showErrorDetails({
179179
details: error.info!,
180-
closeAction: 'back',
180+
closeAction: 'close',
181181
})
182182
}
183183
data-testid="pipeline-results-error-details-button"

0 commit comments

Comments
 (0)