Skip to content
This repository has been archived by the owner on Aug 9, 2022. It is now read-only.

Cypress Tests for Details Pages #169

Conversation

davidcui1225
Copy link
Contributor

Issue #, if available:
N/A
Description of changes:

  • Added Cypress tests for Report definition details and Report details
  • Report definition details:
    • Visits page and checks URL contains report_definition_details
    • Checks existence of all buttons (Delete, Enable/Disable or Generate report, and Edit)
    • Clicks action button and then clicks Delete button
    • Meant to be run after running Create test so the test only deletes the test report definition
  • Report details:
    • Visits page and checks URL contains report_details
  • Updates snapshots

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@zhongnansu
Copy link
Member

How to run cypress testing, is it included in yarn test?

@davidcui1225
Copy link
Contributor Author

How to run cypress testing, is it included in yarn test?

No, it is with ./node_modules/.bin/cypress open or run - will add it to the yarn command as well, good catch

@davidcui1225 davidcui1225 merged commit 3b46660 into opendistro-for-elasticsearch:dev Nov 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants