fix: update input selector ID for new API key name

This commit is contained in:
2025-11-29 20:50:49 +01:00
parent 53e91f4afa
commit a1acd76eed
2 changed files with 2 additions and 2 deletions

View File

@@ -155,7 +155,7 @@ async function deleteKey(key: ApiKey) {
</v-card-title>
<v-card-text>
<v-text-field label="Názov kľúča" required v-model="newKeyName"></v-text-field>
<v-text-field label="Názov kľúča" required v-model="newKeyName" id="newKeyName"></v-text-field>
</v-card-text>
<v-card-actions>

View File

@@ -42,7 +42,7 @@ describe('Admin API Key Management CRUD', () => {
it('should be able to create an API key', () => {
// vytvorenie nového kľúča
cy.contains("Pridať").click()
cy.get('#input-v-0-2').type('cypress-e2e-test-key')
cy.get('#newKeyName').type('cypress-e2e-test-key')
cy.contains("Vytvoriť").click()
cy.wait(3000)