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

Commit

Permalink
case sensitivity -_-
Browse files Browse the repository at this point in the history
  • Loading branch information
minnakt committed Dec 21, 2023
1 parent 58013e1 commit 98ce727
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions cypress/integration/projectSettings/notifications.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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(
Expand All @@ -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");
Expand Down
8 changes: 4 additions & 4 deletions cypress/integration/subscription_modal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ describe("Waterfall subscription modal", () => {
cy.dataCy("add-notification").click();
cy.dataCy(dataCyModal).should("be.visible");

cy.selectLGOption("Event", "Any Version Finishes");
cy.selectLGOption("Event", "Any version finishes");
cy.selectLGOption("Notification Method", "JIRA issue");

cy.dataCy("jira-comment-input").type("EVG-2000");
Expand All @@ -160,7 +160,7 @@ describe("Waterfall subscription modal", () => {
cy.dataCy("add-notification").click();
cy.dataCy(dataCyModal).should("be.visible");

cy.selectLGOption("Event", "Any Build Finishes");
cy.selectLGOption("Event", "Any build finishes");
cy.dataCy("add-button").click();
saveButtonEnabled(false);

Expand All @@ -179,7 +179,7 @@ describe("Waterfall subscription modal", () => {
cy.dataCy("add-notification").click();
cy.dataCy(dataCyModal).should("be.visible");

cy.selectLGOption("Event", "Any Version Finishes");
cy.selectLGOption("Event", "Any version finishes");
cy.dataCy("jira-comment-input").type("EVG-2000");
mockErrorResponse({
path: "SaveSubscription",
Expand Down Expand Up @@ -207,7 +207,7 @@ describe("Waterfall subscription modal", () => {
cy.dataCy("waterfall-menu").click();
cy.dataCy("add-notification").click();
cy.dataCy(dataCyModal).should("be.visible");
cy.contains("Any Build Fails").should("be.visible");
cy.contains("Any build fails").should("be.visible");
cy.contains("Slack").should("be.visible");

cy.clearCookie(subscriptionCookie);
Expand Down

0 comments on commit 98ce727

Please sign in to comment.