mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-06-01 12:45:59 -04:00
Added compatibility page setup
Added more compatibility questions
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user