fix(dialog): empty description (#6986)

* fix(dialog): empty description

* tests(e2e): adds roleview test

* tests(e2e): test in beforeEach

---------

Co-authored-by: Jesse Mazzella <ozyx@users.noreply.github.com>
This commit is contained in:
Even Stensberg 2023-08-29 00:54:49 +02:00 committed by GitHub
parent f9db6433a1
commit 95e3ab25a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -48,6 +48,8 @@ test.describe('Operator Status', () => {
});
await page.goto('./', { waitUntil: 'domcontentloaded' });
await expect(page.getByText('Select Role')).toBeVisible();
// Description should be empty https://github.com/nasa/openmct/issues/6978
await expect(page.locator('.c-message__action-text')).toBeHidden();
// set role
await page.getByRole('button', { name: 'Select' }).click();
// dismiss role confirmation popup

View File

@ -94,7 +94,7 @@ export default {
selectionOptions,
iconClass: 'alert',
title: 'Select Role',
message: 'Please select your role for operator status.',
message: '',
currentSelection: this.role,
onChange: (event) => {
this.inputRoleSelection = event.target.value;