fix: Rename button in ApiKeyCreateOrEditModal and remove redundant scope (no-changelog) (#14811)

This commit is contained in:
Ricardo Espinoza
2025-04-23 08:13:27 -04:00
committed by GitHub
parent ba07503286
commit 697998bcf0
4 changed files with 7 additions and 8 deletions

View File

@@ -329,11 +329,11 @@ describe('ApiKeyCreateOrEditModal', () => {
await fireEvent.update(labelInput, 'updated api key');
const editButton = getByText('Edit');
const saveButton = getByText('Save');
expect(editButton).toBeInTheDocument();
expect(saveButton).toBeInTheDocument();
await fireEvent.click(editButton);
await fireEvent.click(saveButton);
expect(apiKeysStore.updateApiKey).toHaveBeenCalledWith('123', {
label: 'updated api key',