This repository has been archived by the owner on Jul 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DEVPROD-2227: Remove family triggers from trigger definitions (#2203)
- Loading branch information
Showing
9 changed files
with
60 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ describe("Notifications", () => { | |
cy.dataCy("add-button").contains("Add Subscription").should("be.visible"); | ||
cy.dataCy("add-button").click(); | ||
cy.dataCy("expandable-card").should("contain.text", "New Subscription"); | ||
cy.selectLGOption("Event", "Any Version Finishes"); | ||
cy.selectLGOption("Event", "Any version finishes"); | ||
cy.selectLGOption("Notification Method", "Email"); | ||
cy.getInputByLabel("Email").type("[email protected]"); | ||
cy.dataCy("save-settings-button").scrollIntoView(); | ||
|
@@ -43,7 +43,7 @@ describe("Notifications", () => { | |
cy.dataCy("expandable-card") | ||
.should("be.visible") | ||
.should("contain.text", "New Subscription"); | ||
cy.selectLGOption("Event", "Any Task Finishes"); | ||
cy.selectLGOption("Event", "Any task finishes"); | ||
cy.selectLGOption("Notification Method", "Comment on a JIRA issue"); | ||
cy.getInputByLabel("JIRA Issue").type("JIRA-123"); | ||
cy.contains("Subscription type not allowed for tasks in a project.").should( | ||
|
@@ -58,7 +58,7 @@ describe("Notifications", () => { | |
cy.dataCy("expandable-card") | ||
.should("be.visible") | ||
.should("contain.text", "New Subscription"); | ||
cy.selectLGOption("Event", "Any Version Finishes"); | ||
cy.selectLGOption("Event", "Any version finishes"); | ||
cy.selectLGOption("Notification Method", "Email"); | ||
cy.getInputByLabel("Email").type("Not a real email"); | ||
cy.contains("Value should be a valid email.").should("be.visible"); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -106,7 +106,7 @@ describe("getGqlPayload", () => { | |
type: "email", | ||
target: "[email protected]", | ||
}, | ||
trigger: "family-outcome", | ||
trigger: "outcome", | ||
trigger_data: {}, | ||
}); | ||
}); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.