Skip to content

Commit

Permalink
e2e fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
leafty committed Sep 27, 2024
1 parent 703cd16 commit 3dd6655
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions client/src/features/storagesV2/api/storagesV2.api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ export const storagesV2Api = withFixedEndpoints.enhanceEndpoints({
postStoragesV2: {
invalidatesTags: ["Storages"],
},
postStoragesV2ByStorageIdSecrets: {
invalidatesTags: ["Storages"],
},
},
});

Expand Down
6 changes: 3 additions & 3 deletions tests/cypress/e2e/projectV2DataSourceCredentials.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,11 +215,11 @@ describe("Set up data sources with credentials", () => {
.cloudStorage({
isV2: true,
fixture: "cloudStorage/cloud-storage-with-secrets-values-full.json",
name: "getCloudStorageV2",
name: "getCloudStorageV2WithSecrets",
})
.cloudStorageSecrets({
fixture: "cloudStorage/cloud-storage-secrets.json",
name: "getCloudStorageSecrets2",
name: "getCloudStorageSecretsFull",
});

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

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

0 comments on commit 3dd6655

Please sign in to comment.