Skip to content

Commit 3dd6655

Browse files
committed
e2e fixes
1 parent 703cd16 commit 3dd6655

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

client/src/features/storagesV2/api/storagesV2.api.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ export const storagesV2Api = withFixedEndpoints.enhanceEndpoints({
6060
postStoragesV2: {
6161
invalidatesTags: ["Storages"],
6262
},
63+
postStoragesV2ByStorageIdSecrets: {
64+
invalidatesTags: ["Storages"],
65+
},
6366
},
6467
});
6568

tests/cypress/e2e/projectV2DataSourceCredentials.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,11 +215,11 @@ describe("Set up data sources with credentials", () => {
215215
.cloudStorage({
216216
isV2: true,
217217
fixture: "cloudStorage/cloud-storage-with-secrets-values-full.json",
218-
name: "getCloudStorageV2",
218+
name: "getCloudStorageV2WithSecrets",
219219
})
220220
.cloudStorageSecrets({
221221
fixture: "cloudStorage/cloud-storage-secrets.json",
222-
name: "getCloudStorageSecrets2",
222+
name: "getCloudStorageSecretsFull",
223223
});
224224

225225
cy.getDataCy("cloud-storage-credentials-modal")
@@ -233,7 +233,7 @@ describe("Set up data sources with credentials", () => {
233233
.click();
234234
cy.wait("@testCloudStorage");
235235
cy.wait("@postCloudStorageSecrets");
236-
cy.wait("@getCloudStorageV2");
236+
cy.wait("@getCloudStorageV2WithSecrets");
237237

238238
// Credentials should be stored
239239
cy.getDataCy("data-storage-name").should("contain.text", "example-storage");

0 commit comments

Comments
 (0)