Skip to content

Commit

Permalink
Merge pull request #101 from vsalbaba/fixTypoWriteAttrubute
Browse files Browse the repository at this point in the history
Fix Typo
  • Loading branch information
kstekovi authored Aug 2, 2023
2 parents 3f68863 + efbd2b9 commit ed634c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ describe("TESTS: Configuration => Sybsystem => Transaction => Configuration", ()
});

it("Toggle Journal Store Enable Async IO", () => {
cy.writeAttrubute(managementEndpoint, address, useJurnalStore, true);
cy.writeAttribute(managementEndpoint, address, useJurnalStore, true);
cy.readAttributeAsBoolean(managementEndpoint, address, journalStoreEnableAIO).then((defaultValue: boolean) => {
cy.navigateTo(managementEndpoint, transactions);
cy.get(configTab).click();
Expand Down Expand Up @@ -114,7 +114,7 @@ describe("TESTS: Configuration => Sybsystem => Transaction => Configuration", ()
});

it("Toggle Use Jurnal Store", () => {
cy.writeAttrubute(managementEndpoint, address, journalStoreEnableAIO, false);
cy.writeAttribute(managementEndpoint, address, journalStoreEnableAIO, false);
cy.readAttributeAsBoolean(managementEndpoint, address, useJurnalStore).then((defaultValue: boolean) => {
cy.navigateTo(managementEndpoint, transactions);
cy.get(configTab).click();
Expand Down
4 changes: 2 additions & 2 deletions packages/testsuite/cypress/support/resource-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ Cypress.Commands.add("readAttributeAsObjectList", (managementEndpoint, address,
});
});

Cypress.Commands.add("writeAttrubute", (managementEndpoint, address, name, value) => {
Cypress.Commands.add("writeAttribute", (managementEndpoint, address, name, value) => {
cy.task("execute:cli", {
managementApi: managementEndpoint + "/management",
operation: "write-attribute",
Expand Down Expand Up @@ -273,7 +273,7 @@ declare global {
* @param name - name of attribute from subsystem configuration.
* @param value - value to be set to the attribute
*/
writeAttrubute(
writeAttribute(
managementEndpoint: string,
address: string[],
name: string,
Expand Down

0 comments on commit ed634c4

Please sign in to comment.