Skip to content

Commit

Permalink
FIxed locators
Browse files Browse the repository at this point in the history
  • Loading branch information
katarzynakita committed Jul 23, 2024
1 parent 45c955e commit 473124a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ import { Page } from '@playwright/test';
import { BaseComponent } from '../base.component';

export class EditDialog extends BaseComponent {
private static rootElement = '.mat-dialog-container';
private static rootElement = 'mat-dialog-container';

public editDialog = this.page.locator('.mat-dialog-container');
public editDialog = this.page.locator('mat-dialog-container');
public titleInput = this.getChild('[data-automation-id="adf-folder-dialog-title"]');
public cancelButton = this.getChild('#adf-folder-cancel-button');
public updateButton = this.getChild('#adf-folder-create-button');
public descriptionInput = this.getChild('#adf-folder-description-input');
public nameInput = this.getChild('#adf-folder-name-input');
public fieldHint = this.getChild('.mat-hint');
public fieldHint = this.getChild('mat-hint');

constructor(page: Page) {
super(page, EditDialog.rootElement);
Expand Down

0 comments on commit 473124a

Please sign in to comment.