Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
Remove tests for clone method
Browse files Browse the repository at this point in the history
  • Loading branch information
minnakt committed Jan 26, 2024
1 parent abe8728 commit 8f8001a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cypress/integration/distroSettings/project_section.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ describe("project section", () => {
);

// Update fields.
cy.dataCy("clone-method-select").contains("Legacy SSH");
cy.selectLGOption("Project Cloning Method", "OAuth");
cy.contains("button", "Add expansion").click();
cy.getInputByLabel("Key").type("key-name");
cy.getInputByLabel("Value").type("my-value");
Expand All @@ -26,13 +24,11 @@ describe("project section", () => {

// Changes should persist.
cy.reload();
cy.dataCy("clone-method-select").contains("OAuth");
cy.getInputByLabel("Key").should("have.value", "key-name");
cy.getInputByLabel("Value").should("have.value", "my-value");
cy.getInputByLabel("Project Name").should("have.value", "spruce");

// Undo changes.
cy.selectLGOption("Project Cloning Method", "Legacy SSH");
cy.dataCy("delete-item-button").first().click();
cy.dataCy("delete-item-button").first().click();
save();
Expand Down

0 comments on commit 8f8001a

Please sign in to comment.