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

[Security Analytics] Updated tests 2.11 #1219

Merged
merged 8 commits into from
Apr 18, 2024

Conversation

amsiglan
Copy link
Contributor

Description

Updated cypress tests for security analytics 2.11

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Amardeepsingh Siglani <[email protected]>
Signed-off-by: Amardeepsingh Siglani <[email protected]>
Signed-off-by: Amardeepsingh Siglani <[email protected]>
Signed-off-by: Amardeepsingh Siglani <[email protected]>
Signed-off-by: Amardeepsingh Siglani <[email protected]>
Signed-off-by: Amardeepsingh Siglani <[email protected]>
Signed-off-by: Amardeepsingh Siglani <[email protected]>
@@ -71,6 +75,9 @@ describe('Alerts', () => {
cy.get('[data-test-subj="superDatePickerCommonlyUsed_Today"]').click({
force: true,
});

// wait for the table entries to be ready, needed for slower systems
Copy link
Member

Choose a reason for hiding this comment

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

Just curious if there isnt a way around this wait. Isnt there a selector we can wait for instead?

getDescriptionField().should('be.empty');
getDescriptionField().type(longDescriptionText).focus().blur();

const invalidDescription = 'a'.repeat(65535);
Copy link
Member

Choose a reason for hiding this comment

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

lol nice

@ashwin-pc ashwin-pc merged commit 54f5780 into opensearch-project:2.11 Apr 18, 2024
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants