Skip to content

Commit

Permalink
Fixed Jira connections - Interlinked test
Browse files Browse the repository at this point in the history
Signed-off-by: Igor Braginsky <[email protected]>
  • Loading branch information
ibragins committed Aug 30, 2023
1 parent 8175651 commit 7c38fd4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ describe(["@tier2"], "Jira connection negative tests", () => {
getJiraCredentialData(CredentialType.jiraToken, !useTestingAccount)
);

jiraBearerCredentialInvalid.create();

// Defining Jira Cloud connection data with incorrect credentials
jiraCloudConnectionDataIncorrect = getJiraConnectionData(
jiraBasicCredentialInvalid,
Expand Down Expand Up @@ -135,7 +137,7 @@ describe(["@tier2"], "Jira connection negative tests", () => {
});
});

it("Bug MTA-991 | Validating error when Jira Stage Instance is not connected", () => {
it("Validating error when Jira Stage Instance is not connected", () => {
/**
Implements MTA-362 - Add JIRA instance with invalid credentials
Automates https://issues.redhat.com/browse/MTA-991
Expand Down
4 changes: 2 additions & 2 deletions cypress/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,10 @@ export function submitForm(): void {
}

export function cancelForm(): void {
click(commonView.cancelButton);
clickJs(commonView.cancelButton);
}

export function login(username?, password?: string, firstLogin = false): Chainable<null> {
export function login(username?: string, password?: string, firstLogin = false): Chainable<null> {
/**
* If the login method is explicitly called, it means that previous sessions are no longer required
*/
Expand Down

0 comments on commit 7c38fd4

Please sign in to comment.