mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
✨ Add integration tests to viewer role
This commit is contained in:
@@ -259,6 +259,11 @@ export class DashboardPage extends BaseWebSocketPage {
|
||||
await expect(this.mainHeading).toHaveText("Drafts");
|
||||
}
|
||||
|
||||
async goToFonts() {
|
||||
await this.page.goto(`#/dashboard/team/${DashboardPage.anyTeamId}/fonts`);
|
||||
await expect(this.mainHeading).toHaveText("Fonts");
|
||||
}
|
||||
|
||||
async goToAccount() {
|
||||
await this.userAccount.click();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user