Skip to content

Commit

Permalink
Remove Commnds folder from the common test base
Browse files Browse the repository at this point in the history
  • Loading branch information
asekawa committed Mar 4, 2024
1 parent 354604e commit 7ee0d88
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 251 deletions.
109 changes: 0 additions & 109 deletions src/ui/commands/authentication.ts

This file was deleted.

56 changes: 0 additions & 56 deletions src/ui/commands/dom.ts

This file was deleted.

25 changes: 0 additions & 25 deletions src/ui/commands/index.ts

This file was deleted.

40 changes: 0 additions & 40 deletions src/ui/commands/user-onboard/commands.ts

This file was deleted.

20 changes: 0 additions & 20 deletions src/ui/commands/user-onboard/index.ts

This file was deleted.

2 changes: 2 additions & 0 deletions src/ui/page-objects/login-page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export class LoginPage {
* @return {Cypress.Chainable<JQuery<HTMLElement>>}
*/
public getLoginPasswordInputField(): Cypress.Chainable<Element> {

return cy.dataTestId(LoginPageDomConstants.PASSWORD_INPUT_DATA_ATTR);
}

Expand All @@ -59,6 +60,7 @@ export class LoginPage {
* @return {Cypress.Chainable<JQuery<HTMLElement>>}
*/
public getLoginFormSubmitButton(): Cypress.Chainable<Element> {

return cy.dataTestId(LoginPageDomConstants.SUBMIT_BUTTON_DATA_ATTR);
}

Expand Down
2 changes: 1 addition & 1 deletion types/api/commands.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ declare namespace Cypress {
interface Chainable {

/**
* Custom command to create users from scim2.0 POST method
* This command create users from scim2.0 POST method
*/
createUserViaAPI(host: string, authzHeader: string, reqBody: Cypress.ObjectLike,
failOnStatusCode?: boolean): Cypress.Chainable<any>;
Expand Down

0 comments on commit 7ee0d88

Please sign in to comment.