@@ -31,9 +31,9 @@ export class SettingsPage {
3131 readonly bookingPageURLInput : Locator ;
3232 readonly copyLinkBtn : Locator ;
3333 readonly copyLinkToolTipText : Locator ;
34- readonly cancelServiceBtn : Locator ;
35- readonly cancelServiceConfirmCancelBtn : Locator ;
36- readonly bookingPageSettingsBtn : Locator ;
34+ readonly deleteDataBtn : Locator ;
35+ readonly deleteDataConfirmCancelBtn : Locator ;
36+ readonly manageBookingLink : Locator ;
3737 readonly downloadDataBtn : Locator ;
3838 readonly connectedAppsHdr : Locator ;
3939 readonly addCaldavBtn : Locator ;
@@ -42,7 +42,7 @@ export class SettingsPage {
4242 readonly addCaldavPasswordInput : Locator ;
4343 readonly addCaldavCloseModalBtn : Locator ;
4444 readonly addGoogleBtn : Locator ;
45- readonly defaultCalendarConnectedCbox : Locator ;
45+ readonly defaultCalendarBadge : Locator ;
4646 readonly saveBtnEN : Locator ;
4747 readonly savedSuccessfullyTextEN : Locator ;
4848 readonly savedSuccessfullyTextDE : Locator ;
@@ -70,9 +70,9 @@ export class SettingsPage {
7070 this . bookingPageURLInput = this . page . locator ( '#booking-page-url' ) ;
7171 this . copyLinkBtn = this . page . locator ( '#copy-booking-page-url-button' ) ;
7272 this . copyLinkToolTipText = this . page . locator ( '#tooltip-body' ) ;
73- this . cancelServiceBtn = this . page . getByRole ( 'button' , { name : 'Cancel Service ' } ) ;
74- this . cancelServiceConfirmCancelBtn = this . page . getByRole ( 'button' , { name : 'Cancel' , exact : true } ) ;
75- this . bookingPageSettingsBtn = this . page . getByRole ( 'button' , { name : 'Booking Page Settings' } ) ;
73+ this . deleteDataBtn = this . page . getByRole ( 'button' , { name : 'Delete all Appointment data ' } ) ;
74+ this . deleteDataConfirmCancelBtn = this . page . getByRole ( 'button' , { name : 'Cancel' , exact : true } ) ;
75+ this . manageBookingLink = this . page . getByText ( 'Manage booking link' ) ;
7676 this . downloadDataBtn = this . page . getByTestId ( 'settings-account-download-data-btn' ) ;
7777
7878 // preferences section
@@ -94,7 +94,7 @@ export class SettingsPage {
9494 this . addCaldavPasswordInput = this . page . getByLabel ( 'Password' ) ;
9595 this . addCaldavCloseModalBtn = this . page . getByRole ( 'img' , { name : 'Close' } ) ;
9696 this . addGoogleBtn = this . page . getByRole ( 'button' , { name : 'Add Google Calendar' } ) ;
97- this . defaultCalendarConnectedCbox = this . page . locator ( 'div' ) . filter ( { hasText : / ^ D e f a u l t * / } ) . getByTestId ( 'checkbox-input ' ) ;
97+ this . defaultCalendarBadge = this . page . getByTestId ( 'badge ' ) ;
9898 this . googleSignInHdr = this . page . getByText ( 'Sign in with Google' ) ;
9999 }
100100
0 commit comments