Fixes goToAccountPage to read the fomain from env variables

This commit is contained in:
Daniel Herrero García 2024-06-24 13:32:16 +02:00
parent a57b6bf36d
commit 303dd359e2

View File

@ -60,7 +60,8 @@ exports.ProfilePage = class ProfilePage extends BasePage {
}
async goToAccountPage() {
await this.page.goto('https://design.penpot.dev/#/settings/profile');
const baseUrl = process.env.BASE_URL;
await this.page.goto(baseUrl.concat('#/settings/profile'));
}
async openGiveFeedbackPage() {