The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/apps/meteor/tests/e2e/user-invitations.spec.ts

20 lines
658 B

import { Users } from './fixtures/userStates';
import { test, expect } from './utils/test';
test.use({ storageState: Users.admin.state });
test.describe.serial('user-invites', () => {
test.beforeEach(async ({ page }) => {
await page.goto('/admin/users/invite');
await expect(page.locator('//div[contains(text(), "Invite Members")]')).toBeVisible();
});
test('expect SMTP setup warning and routing to email settings', async ({ page }) => {
await expect(page.locator('role=link[name="Set up SMTP"]')).toBeVisible();
await page.locator('role=link[name="Set up SMTP"]').click();
await expect(page).toHaveURL('/admin/settings/Email');
});
});