Skip to content

Commit

Permalink
refactor: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushpahwa committed May 16, 2024
1 parent affbceb commit 9afff27
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ let parentBranchKey = "ParentBranch",
branchQueryKey = "branch";

let repoName;
describe("Git sync:", { tags: ["@tag.Git"] }, function() {
describe("Git sync:", { tags: ["@tag.Git"] }, function () {
before(() => {
gitSync.CreateNConnectToGit();
cy.get("@gitRepoName").then((repName) => {
repoName = repName;
});
});

it("1. create branch input", function() {
it("1. create branch input", function () {
PageLeftPane.switchSegment(PagePaneSegment.UI);
cy.get(gitSyncLocators.branchButton).click();

Expand Down Expand Up @@ -59,7 +59,7 @@ describe("Git sync:", { tags: ["@tag.Git"] }, function() {
cy.get(gitSyncLocators.closeBranchList).click();
});

it("2. creates a new branch and create branch specific resources", function() {
it("2. creates a new branch and create branch specific resources", function () {
cy.get(commonLocators.canvas).click({ force: true });
//cy.createGitBranch(parentBranchKey);
gitSync.CreateGitBranch(parentBranchKey, true);
Expand Down Expand Up @@ -114,7 +114,7 @@ describe("Git sync:", { tags: ["@tag.Git"] }, function() {
});

// rename entities
it("3. makes branch specific resource updates", function() {
it("3. makes branch specific resource updates", function () {
cy.switchGitBranch(childBranchKey);
EditorNavigation.SelectEntityByName("ParentPage1", EntityType.Page);
entityExplorer.RenameEntityFromExplorer(
Expand Down Expand Up @@ -218,7 +218,7 @@ describe("Git sync:", { tags: ["@tag.Git"] }, function() {
});

// Validate the error faced when user switches between the branches
it("6. no error faced when user switches branch with new page", function() {
it("6. no error faced when user switches branch with new page", function () {
deployMode.NavigateBacktoEditor(); //Adding since skipping 6th case
cy.generateUUID().then((uuid) => {
gitSync.CreateGitBranch(childBranchKey, true);
Expand All @@ -236,7 +236,7 @@ describe("Git sync:", { tags: ["@tag.Git"] }, function() {
agHelper.RefreshPage();
});

it("7. branch list search", function() {
it("7. branch list search", function () {
cy.get(".ads-v2-spinner").should("not.exist");
PageLeftPane.switchSegment(PagePaneSegment.UI);
cy.get(commonLocators.canvas).click({ force: true });
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
dataSources,
} from "../../../../support/Objects/ObjectsCore";

describe("Undo/Redo functionality", function() {
describe("Undo/Redo functionality", function () {
const modifierKey = Cypress.platform === "darwin" ? "meta" : "ctrl";
let postgresDatasourceName;

Expand Down Expand Up @@ -43,7 +43,7 @@ describe("Undo/Redo functionality", function() {
});
});

it("2. Checks undo/redo for Api pane", function() {
it("2. Checks undo/redo for Api pane", function () {
cy.CreateAPI("FirstAPI");
cy.get(`${apiwidget.resourceUrl} .CodeMirror-placeholder`).should(
"have.text",
Expand Down

0 comments on commit 9afff27

Please sign in to comment.