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

Add expect enum usage #2370

Merged
merged 4 commits into from
Mar 4, 2024
Merged

Add expect enum usage #2370

merged 4 commits into from
Mar 4, 2024

Conversation

arbulu89
Copy link
Contributor

@arbulu89 arbulu89 commented Feb 28, 2024

Description

Add expect_enum results usage. This means that the host expectations are now of expect and expect_enum, and the results in the result detail view could be of warning type.

Example in storybook:
image

How was this tested?

Tested with UT

@arbulu89 arbulu89 added the enhancement New feature or request label Feb 28, 2024
@arbulu89 arbulu89 marked this pull request as ready for review February 29, 2024 07:50
export const EXPECT_SAME = 'expect_same';

const hostExepectations = [EXPECT, EXPECT_ENUM];
Copy link
Member

Choose a reason for hiding this comment

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

Just a quick question here, we have multiple files in model directory.
Like cluster.js, sapSystem.js and index.js

What kind of data should we always put in index.js?

For now, it is mostly cluster details view related.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

well, that's subjective, as long as it doesn't go out of control having one file is convenient

Copy link
Member

@EMaksy EMaksy left a comment

Choose a reason for hiding this comment

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

Nice jooob!
LGTM

@arbulu89 arbulu89 merged commit a7a8e43 into main Mar 4, 2024
24 checks passed
@arbulu89 arbulu89 deleted the add-expect-enum-usage branch March 4, 2024 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

None yet

3 participants