Skip to content

Commit

Permalink
Merge branch 'develop' into CP-2726
Browse files Browse the repository at this point in the history
  • Loading branch information
robertmudi authored Oct 4, 2024
2 parents 7b254c5 + f4ea3a4 commit afb2b44
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,8 @@
import { OverviewPage } from "./overview.page"

class ModalBackupKompaktPage extends OverviewPage {
public get backupInfo() {
return $('//div[@data-testid="block-box-backup"]//p')
}
public get createBackupButton() {
return $('//button[@type="button" and .//span[text()="Create backup"]]')
return $('[data-testid="primary-button-backupcreate-backup-button"]')
}
public get createBackupProceedNext() {
return $('[data-testid="backup-features-modal-create-action"]')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class OverviewKompaktPage extends OverviewPage {
}

public get backupInfo() {
return $(`//div[@data-testid="block-box-backup"]//p`)
return $('div[data-testid="block-box-backup"] p')
}

public get serialNumberLabel() {
Expand Down
2 changes: 1 addition & 1 deletion apps/mudita-center-e2e/src/page-objects/overview.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export class OverviewPage extends Page {
}

public get createBackupButton() {
return $('//button[@type="button" and .//span[text()="Create backup"]]')
return $('[data-testid="primary-button-backupcreate-backup-button"]')
}

public get restoreBackupButton() {
Expand Down

0 comments on commit afb2b44

Please sign in to comment.