Skip to content

Commit ef4f9d5

Browse files
committed
ellipse…
1 parent 3345262 commit ef4f9d5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/compass-indexes/src/components/regular-indexes-table/index-actions.spec.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ describe('IndexActions Component', function () {
6969

7070
// Should show building UI even for tiny progress
7171
expect(screen.getByTestId('index-building-spinner')).to.exist;
72-
expect(screen.getByText('Building... 0%')).to.exist; // Math.trunc rounds down
72+
expect(screen.getByText('Building 0%')).to.exist; // Math.trunc rounds down
7373
expect(screen.getByLabelText('Cancel Index barely_building')).to.exist;
7474
});
7575

@@ -220,7 +220,7 @@ describe('IndexActions Component', function () {
220220
expect(buildingSpinner).to.exist;
221221

222222
// Should show progress percentage
223-
expect(screen.getByText(`Building... ${expectedPercent}%`)).to.exist;
223+
expect(screen.getByText(`Building ${expectedPercent}%`)).to.exist;
224224

225225
// Should show cancel button (destructive)
226226
const cancelButton = screen.getByLabelText(

packages/compass-indexes/src/components/regular-indexes-table/index-actions.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ const IndexActions: React.FunctionComponent<IndexActionsProps> = ({
195195
if (isIndexBuilding(index)) {
196196
return (
197197
<div className={buildProgressStyles} data-testid="index-building-spinner">
198-
<Body>Building... {Math.trunc(buildProgress * 100)}%</Body>
198+
<Body>Building {Math.trunc(buildProgress * 100)}%</Body>
199199
<SpinLoader size={16} title="Index build in progress" />
200200
<ItemActionGroup<IndexAction>
201201
data-testid="index-actions"

0 commit comments

Comments
 (0)