Skip to content
Snippets Groups Projects
aggregation-mapping.e2e.component.ts 1.02 KiB
Newer Older
  • Learn to ignore specific revisions
  • export class AggregationMappingE2EComponent {
    
    Albert Bruns's avatar
    Albert Bruns committed
      private readonly headerText: string = 'aggregation-mapping-header-text';
      private readonly listItemName: string = 'list-item-name';
      private readonly listItemFormEngineName: string = 'list-item-form-engine-name';
      private readonly listItemFormId: string = 'list-item-form-id';
      private readonly weitereFelderAuswertenButton = 'weitere-felder-auswerten-button';
    
    Martin's avatar
    Martin committed
      public getHeaderText(): Cypress.Chainable<Element> {
    
    Albert Bruns's avatar
    Albert Bruns committed
        return cy.getTestElement(this.headerText);
      }
    
      public getListItemName(): Cypress.Chainable<Element> {
        return cy.getTestElementWithClass(this.listItemName);
      }
    
      public getListItemFormEngineName(): Cypress.Chainable<Element> {
        return cy.getTestElementWithClass(this.listItemFormEngineName);
      }
    
      public getListItemFormId(): Cypress.Chainable<Element> {
        return cy.getTestElementWithClass(this.listItemFormId);
    
      public getWeitereFelderAuswertenButton(): Cypress.Chainable<Element> {
    
    Albert Bruns's avatar
    Albert Bruns committed
        return cy.getTestElement(this.weitereFelderAuswertenButton);