You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "Tibor Meller (JIRA)" <ji...@apache.org> on 2018/10/30 12:24:00 UTC

[jira] [Updated] (METRON-1848) Migrating Protractor E2E tests to Cypress

     [ https://issues.apache.org/jira/browse/METRON-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tibor Meller updated METRON-1848:
---------------------------------
    Description: 
*This ticket is made to track the migration of our protractor tests to cypress.*

*The antecedent of this ticket is:*

 

*E2E Test Scenarios*

*Alert details pane*
(metron-alerts/e2e/alert-details/alert-status/alert-details-status.e2e-spec.ts)
 - Changing alert statuses
 - Adding comment for table view
 - Adding comment for tree view
Scenarios to add:
 - Deleting comment

*Filtering alerts*
(metron-alerts/e2e/alerts-list/alert-filters/alert-filters.e2e-spec.ts)
 - Display facets data
 - Search when facet is selected

*Alert item status change on the list and tree view*
(metron-alerts/e2e/alerts-list/alert-status/alerts-list-status.e2e-spec.ts)
 - change alert status for multiple alerts to OPEN
 - change alert status for multiple alerts to DISMISS
 - change alert status for multiple alerts to ESCALATE
 - change alert status for multiple alerts to RESOLVE
 - change alert status for multiple alerts to OPEN in tree view
 - change alert status for multiple alerts to DISMISS in tree view
 - change alert status for multiple alerts to ESCALATE in tree view
 - change alert status for multiple alerts to RESOLVE in tree view

*Configure table view*
(metron-alerts/e2e/alerts-list/configure-table/configure-table.e2e-spec.ts)
 - select columns from table configuration
 - rename columns from table configuration

*Meta Alerts*
(metron-alerts/e2e/alerts-list/meta-alerts/meta-alert.e2e-spec.ts)
 - should have all the steps for meta alerts workflow
 - should create a meta alert from nesting of more than one level
 - remove meta alerts

*Search and save search*
(metron-alerts/e2e/alerts-list/save-search/save-search.e2e-spec.ts)
 - should display all the default values for saved searches
 - should have all save search controls and they save search should be working
 - should delete search items from search box
 - should delete first search items from search box having multiple search fields
 - manually entering search queries to search box and pressing enter key should search

*Alerts table view*
(metron-alerts/e2e/alerts-list/table-view/table-view.e2e-spec.ts)
 - sorting ASC by ip_src_addr
 - sorting DESC by ip_src_addr
 - sorting ASC by Score
 - sorting DESC by Score

*Alerts tree view*
(metron-alerts/e2e/alerts-list/tree-view/tree-view.e2e-spec.ts)
 - should have all group by elements
 - drag and drop should change group order
 - should have group details for single group by
 - should have group details for multiple group by
 - should have sort working for group details for multiple sub groups
 - should have search working for group details for multiple sub groups

*Alert list*
(metron-alerts/e2e/alerts-list/alerts-list.e2e-spec.ts)
 - should have all the UI elements
 - should have all pagination controls and they should be working
 - should have all settings controls and they should be working
 - play pause should start polling and stop polling
 - should select columns from table configuration
 - should have all time-range controls
 - should have all time range values populated - 1
 - should have all time range values populated - 2
 - should have all time range values populated - 3
 - should have all time range values populated - 4
 - should disable date picker when timestamp is present in search
 - should have now included when to date is empty
 - should have all time-range included while searching

*Login*
(metron-alerts/e2e/login/login.e2e-spec.ts)
 - should display error message for invalid credentials
 - should login for valid credentials
 - should logout

  was:
*E2E Test Scenarios*

*Alert details pane*
(metron-alerts/e2e/alert-details/alert-status/alert-details-status.e2e-spec.ts)
 - Changing alert statuses
 - Adding comment for table view
 - Adding comment for tree view
Scenarios to add:
 - Deleting comment

*Filtering alerts*
(metron-alerts/e2e/alerts-list/alert-filters/alert-filters.e2e-spec.ts)
 - Display facets data
 - Search when facet is selected

*Alert item status change on the list and tree view*
(metron-alerts/e2e/alerts-list/alert-status/alerts-list-status.e2e-spec.ts)
 - change alert status for multiple alerts to OPEN
 - change alert status for multiple alerts to DISMISS
 - change alert status for multiple alerts to ESCALATE
 - change alert status for multiple alerts to RESOLVE
 - change alert status for multiple alerts to OPEN in tree view
 - change alert status for multiple alerts to DISMISS in tree view
 - change alert status for multiple alerts to ESCALATE in tree view
 - change alert status for multiple alerts to RESOLVE in tree view

*Configure table view*
(metron-alerts/e2e/alerts-list/configure-table/configure-table.e2e-spec.ts)
 - select columns from table configuration
 - rename columns from table configuration

*Meta Alerts*
(metron-alerts/e2e/alerts-list/meta-alerts/meta-alert.e2e-spec.ts)
 - should have all the steps for meta alerts workflow
 - should create a meta alert from nesting of more than one level
 - remove meta alerts

*Search and save search*
(metron-alerts/e2e/alerts-list/save-search/save-search.e2e-spec.ts)
 - should display all the default values for saved searches
 - should have all save search controls and they save search should be working
 - should delete search items from search box
 - should delete first search items from search box having multiple search fields
 - manually entering search queries to search box and pressing enter key should search

*Alerts table view*
(metron-alerts/e2e/alerts-list/table-view/table-view.e2e-spec.ts)
 - sorting ASC by ip_src_addr
 - sorting DESC by ip_src_addr
 - sorting ASC by Score
 - sorting DESC by Score

*Alerts tree view*
(metron-alerts/e2e/alerts-list/tree-view/tree-view.e2e-spec.ts)
 - should have all group by elements
 - drag and drop should change group order
 - should have group details for single group by
 - should have group details for multiple group by
 - should have sort working for group details for multiple sub groups
 - should have search working for group details for multiple sub groups

*Alert list*
(metron-alerts/e2e/alerts-list/alerts-list.e2e-spec.ts)
 - should have all the UI elements
 - should have all pagination controls and they should be working
 - should have all settings controls and they should be working
 - play pause should start polling and stop polling
 - should select columns from table configuration
 - should have all time-range controls
 - should have all time range values populated - 1
 - should have all time range values populated - 2
 - should have all time range values populated - 3
 - should have all time range values populated - 4
 - should disable date picker when timestamp is present in search
 - should have now included when to date is empty
 - should have all time-range included while searching

*Login*
(metron-alerts/e2e/login/login.e2e-spec.ts)
 - should display error message for invalid credentials
 - should login for valid credentials
 - should logout


> Migrating Protractor E2E tests to Cypress
> -----------------------------------------
>
>                 Key: METRON-1848
>                 URL: https://issues.apache.org/jira/browse/METRON-1848
>             Project: Metron
>          Issue Type: Improvement
>            Reporter: Tibor Meller
>            Priority: Major
>
> *This ticket is made to track the migration of our protractor tests to cypress.*
> *The antecedent of this ticket is:*
>  
> *E2E Test Scenarios*
> *Alert details pane*
> (metron-alerts/e2e/alert-details/alert-status/alert-details-status.e2e-spec.ts)
>  - Changing alert statuses
>  - Adding comment for table view
>  - Adding comment for tree view
> Scenarios to add:
>  - Deleting comment
> *Filtering alerts*
> (metron-alerts/e2e/alerts-list/alert-filters/alert-filters.e2e-spec.ts)
>  - Display facets data
>  - Search when facet is selected
> *Alert item status change on the list and tree view*
> (metron-alerts/e2e/alerts-list/alert-status/alerts-list-status.e2e-spec.ts)
>  - change alert status for multiple alerts to OPEN
>  - change alert status for multiple alerts to DISMISS
>  - change alert status for multiple alerts to ESCALATE
>  - change alert status for multiple alerts to RESOLVE
>  - change alert status for multiple alerts to OPEN in tree view
>  - change alert status for multiple alerts to DISMISS in tree view
>  - change alert status for multiple alerts to ESCALATE in tree view
>  - change alert status for multiple alerts to RESOLVE in tree view
> *Configure table view*
> (metron-alerts/e2e/alerts-list/configure-table/configure-table.e2e-spec.ts)
>  - select columns from table configuration
>  - rename columns from table configuration
> *Meta Alerts*
> (metron-alerts/e2e/alerts-list/meta-alerts/meta-alert.e2e-spec.ts)
>  - should have all the steps for meta alerts workflow
>  - should create a meta alert from nesting of more than one level
>  - remove meta alerts
> *Search and save search*
> (metron-alerts/e2e/alerts-list/save-search/save-search.e2e-spec.ts)
>  - should display all the default values for saved searches
>  - should have all save search controls and they save search should be working
>  - should delete search items from search box
>  - should delete first search items from search box having multiple search fields
>  - manually entering search queries to search box and pressing enter key should search
> *Alerts table view*
> (metron-alerts/e2e/alerts-list/table-view/table-view.e2e-spec.ts)
>  - sorting ASC by ip_src_addr
>  - sorting DESC by ip_src_addr
>  - sorting ASC by Score
>  - sorting DESC by Score
> *Alerts tree view*
> (metron-alerts/e2e/alerts-list/tree-view/tree-view.e2e-spec.ts)
>  - should have all group by elements
>  - drag and drop should change group order
>  - should have group details for single group by
>  - should have group details for multiple group by
>  - should have sort working for group details for multiple sub groups
>  - should have search working for group details for multiple sub groups
> *Alert list*
> (metron-alerts/e2e/alerts-list/alerts-list.e2e-spec.ts)
>  - should have all the UI elements
>  - should have all pagination controls and they should be working
>  - should have all settings controls and they should be working
>  - play pause should start polling and stop polling
>  - should select columns from table configuration
>  - should have all time-range controls
>  - should have all time range values populated - 1
>  - should have all time range values populated - 2
>  - should have all time range values populated - 3
>  - should have all time range values populated - 4
>  - should disable date picker when timestamp is present in search
>  - should have now included when to date is empty
>  - should have all time-range included while searching
> *Login*
> (metron-alerts/e2e/login/login.e2e-spec.ts)
>  - should display error message for invalid credentials
>  - should login for valid credentials
>  - should logout



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)