Added compatibility page setup

Added more compatibility questions
This commit is contained in:
Okechi Jones-Williams
2026-02-25 15:19:06 +00:00
parent 58dfabf11f
commit 11f8477da2

View File

@@ -272,19 +272,19 @@ export class ProfilePage {
}
async clickStartAnsweringButton() {
await expect(this.startAnsweringButton).toBeVisible()
await this.startAnsweringButton.click()
}
await expect(this.startAnsweringButton).toBeVisible();
await this.startAnsweringButton.click();
};
async clickDoThisLaterButton() {
await expect(this.doThisLaterLink).toBeVisible()
await this.doThisLaterLink.click()
}
await expect(this.doThisLaterLink).toBeVisible();
await this.doThisLaterLink.click();
};
async clickShareButton() {
await expect(this.shareButton).toBeVisible()
await this.shareButton.click()
}
await expect(this.shareButton).toBeVisible();
await this.shareButton.click();
};
async clickEditProfileButton() {
await expect(this.editProfileButton).toBeVisible()
@@ -302,20 +302,20 @@ export class ProfilePage {
}
async selectOptionFromProfileDropdown(option: ProfileDropdownOptions) {
await expect(this.profileOptionsDropdown).toBeVisible()
await this.profileOptionsDropdown.click()
await expect(this.profileOptionsDropdown).toBeVisible();
await this.profileOptionsDropdown.click();
if (option === 'Public') {
await expect(this.listProfilePubliclyDropdownOption).toBeVisible()
await this.listProfilePubliclyDropdownOption.click()
await expect(this.listProfilePubliclyDropdownOption).toBeVisible();
await this.listProfilePubliclyDropdownOption.click();
} else if (option === 'Disable') {
await expect(this.disableProfileDropdownOption).toBeVisible()
await this.disableProfileDropdownOption.click()
await expect(this.disableProfileDropdownOption).toBeVisible();
await this.disableProfileDropdownOption.click();
} else if (option === 'Private') {
await expect(this.limitProfileToMembersDropdownOption).toBeVisible()
await this.limitProfileToMembersDropdownOption.click()
}
}
await expect(this.limitProfileToMembersDropdownOption).toBeVisible();
await this.limitProfileToMembersDropdownOption.click();
};
};
async verifyDisplayName(displayName?: string) {
await expect(this.displayNameAndAgeSection).toBeVisible()