Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(dialog): empty description #6986

Merged
merged 4 commits into from
Aug 28, 2023
Merged

fix(dialog): empty description #6986

merged 4 commits into from
Aug 28, 2023

Conversation

evenstensberg
Copy link
Contributor

@evenstensberg evenstensberg commented Aug 23, 2023

Closes #6978

Describe your changes:

Dont show description in role dialog

All Submissions:

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Is this change backwards compatible? For example, developers won't need to change how they are calling the API or how they've extended core plugins such as Tables or Plots.

Author Checklist

  • Changes address original issue?
  • Tests included and/or updated with changes?
  • Command line build passes?
  • Has this been smoke tested?
  • Testing instructions included in associated issue OR is this a dependency/testcase change?

Reviewer Checklist

  • Changes appear to address issue?
  • Reviewer has tested changes by following the provided instructions?
  • Changes appear not to be breaking changes?
  • Appropriate automated tests included?
  • Code style and in-line documentation are appropriate?
  • Has associated issue been labelled unverified? (only applicable if this PR closes the issue)
  • Has associated issue been labelled bug? (only applicable if this PR is for a bug fix)

@deploysentinel
Copy link

deploysentinel bot commented Aug 23, 2023

Current Playwright Test Results Summary

✅ 136 Passing

Run may still be in progress, this comment will be updated as current testing workflow or job completes...

(Last updated on 08/28/2023 10:03:12pm UTC)

Run Details

Running Job e2e-stable on CircleCI

Commit: 57c0957

Started: 08/28/2023 09:57:11pm UTC

View Detailed Build Results


@codecov
Copy link

codecov bot commented Aug 23, 2023

Codecov Report

Merging #6986 (57c0957) into master (f9db643) will decrease coverage by 1.33%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #6986      +/-   ##
==========================================
- Coverage   48.21%   46.88%   -1.33%     
==========================================
  Files         643      643              
  Lines       25730    25730              
  Branches     2512     2512              
==========================================
- Hits        12405    12063     -342     
- Misses      12844    13186     +342     
  Partials      481      481              
Flag Coverage Δ *Carryforward flag
e2e-full 42.00% <ø> (-0.04%) ⬇️ Carriedforward from 6ebada7
e2e-stable 53.34% <ø> (-3.65%) ⬇️
unit 38.69% <0.00%> (ø)

*This pull request uses carry forward flags. Click here to find out more.

Files Changed Coverage Δ
...plugins/userIndicator/components/UserIndicator.vue 40.00% <0.00%> (ø)

... and 54 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f9db643...57c0957. Read the comment docs.

@ozyx ozyx added the source:community Community contribution or request label Aug 23, 2023
@ozyx ozyx requested a review from charlesh88 August 23, 2023 18:17
@unlikelyzero unlikelyzero added this to the Target:3.1.0 milestone Aug 23, 2023
@@ -63,6 +63,11 @@ test.describe('Operator Status', () => {
await expect(page.locator('.c-status-poll-panel')).toBeVisible();
});

// Description should be empty https://github.com/nasa/openmct/issues/6978
test('no description in role selection', async ({ page }) => {
await expect(page.locator('.c-message__action-text')).toBeHidden();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple suggestions here.

Instead of creating a whole new test for this, let's just add an assertion to the beforeEach since that's where we open the user role dialog. Let's also assert that the text is an empty string.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done! Due the nature of the v-if conditional, the section isn't rendered, so it won't be visible
Screenshot 2023-08-28 at 22 23 32

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That works!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good stuff. Lmk if you need anything else

@ozyx ozyx self-requested a review August 28, 2023 21:53
Copy link
Contributor

@ozyx ozyx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Nice work!

@ozyx ozyx added the pr:e2e:couchdb npm run test:e2e:couchdb label Aug 28, 2023
@ozyx ozyx merged commit 95e3ab2 into nasa:master Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr:e2e:couchdb npm run test:e2e:couchdb source:community Community contribution or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Messaging in role selection overlay is incorrect
3 participants