Skip to content
Snippets Groups Projects

Had to put back baseUrl.

1 file
+ 4
1
Compare changes
  • Side-by-side
  • Inline
@@ -13,6 +13,9 @@ import * as atkUtilities from '../support/atk_utilities';
// Import ATK Configuration.
import atkConfig from '../../playwright.atk.config';
import playwrightConfig from '../../playwright.config';
const baseUrl = playwrightConfig.use.baseURL;
// Import email settings for Ethereal fake SMTP service.
import userEtherealAccount from '../data/etherealUser.json';
@@ -37,7 +40,7 @@ test.describe('Contact Us tests.', () => {
atkCommands.addRolePerm('anonymous user', 'access site-wide contact form');
// Begin registration.
await page.goto(atkConfig.contactUsUrl);
await page.goto(baseUrl + atkConfig.contactUsUrl);
await page.getByLabel('Your name').fill(uniqueToken);
await page.getByLabel('Your e-mail').fill(`${uniqueToken}@example.com`);
Loading