Skip to content

Commit

Permalink
updated test text
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo committed Jan 26, 2023
1 parent 5f89fe0 commit 1b36248
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/meteor/tests/e2e/message-actions.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,23 +84,23 @@ test.describe.serial('message-actions', () => {
await page.locator('[data-qa-id="permalink"]').click();
});

test.describe('Preference Hide Right Sidebar with Click Enabled', () => {
test.describe('Preference Hide Contextual Bar by clicking outside of it Enabled', () => {
let adminPage: Page;

test.beforeAll(async ({ browser }) => {
adminPage = await browser.newPage({ storageState: 'admin-session.json' });

await adminPage.goto('/account/preferences');
await adminPage.locator('role=heading[name="Messages"]').click();
await adminPage.locator('text="Hide Right Sidebar with Click"').click();
await adminPage.locator('text="Hide Contextual Bar by clicking outside of it"').click();
});

test.afterAll(async ({ browser }) => {
adminPage = await browser.newPage({ storageState: 'admin-session.json' });

await adminPage.goto('/account/preferences');
await adminPage.locator('role=heading[name="Messages"]').click();
await adminPage.locator('text="Hide Right Sidebar with Click"').click();
await adminPage.locator('text="Hide Contextual Bar by clicking outside of it"').click();
await adminPage.close();
});

Expand Down

0 comments on commit 1b36248

Please sign in to comment.