waltz icon indicating copy to clipboard operation
waltz copied to clipboard

Playwright testing

Open davidwatkins73 opened this issue 2 years ago • 4 comments

Description

  • [x] Playwright testing
  • [ ] stretch: automate startup of backend
  • [x] prepare some sample data (see jobs LoadAll)

Resourcing

We intend to implement this task

davidwatkins73 avatar May 26 '22 11:05 davidwatkins73

Candidates for UI Testing checklist for Waltz

(Based off our manual testing)

Applications

  • [x] Add / remove tag
  • [x] Add / remove alias
    • [ ] verify searchable
  • [ ] edit app (desc, rating, phase etc)

Bookmarks

  • [x] add / remove / edit
  • [x] search / filter

Involvement

  • [ ] add / remove / edit
    • [ ] ensure user_selectable flag is respected
  • [ ] search / filter

Attestations

  • [ ] on demand
    • [ ] attest measurables
    • [ ] attest logical flows
    • [ ] attest physical flows
    • [ ] update permissions to add/remove attestation capability
  • [ ] via run
    • [ ] run creation
    • [ ] attest measurables
    • [ ] attest logicals
    • [ ] attest physicals

Measurables

  • [ ] add/remove/edit ratings
    • [ ] add/update comments
    • [ ] add decomm/revoke decomm
    • [ ] add/remove replacement apps
    • [ ] add/remove allocations
    • [ ] check little icon overlays are indicating decomm/replacements/allocations
  • [ ] roll-ups
  • [ ] inferred relationships

Technology

  • [ ] displays app level data
  • [ ] can search for servers
  • [ ] rolls-up
  • [ ] exportable via aggregate pages
  • [x] can search for databases

Flows

UI tests for Logical, Physical flows and Lineage

  • [ ] Create logical flow
  • [ ] Create physical flow
  • [ ] Export Logicals (agg/app)
  • [ ] Export Physicals (agg/app)
  • [ ] Create lineage
  • [ ] Edit lineage
  • [ ] Delete lineage
  • [ ] Add newly created physical to existing lineage
  • [ ] Delete logical flow which has physical flows already, should be prevented
  • [ ] Delete physical flow which is already used in lineage, should be prevented
  • [x] Create a flow classification rule, check the logical flow view is updated with new rating/color
  • [ ] Export data type list csv/xlsx and svg

App Groups

  • [ ] create/update group & desc
  • [ ] set public / private
  • [ ] check searchable
  • [ ] add / remove apps
  • [ ] add / remove CI's
  • [ ] add / remove OU's
    • [ ] associated apps added
    • [ ] associated CI's added
  • [ ] share group
  • [ ] subscribe / unsubscribe

Surveys

  • [x] Issue runs
  • [x] Issue individual surveys
  • [ ] Reassign recipients and owners
  • [ ] Can submit / approve / withdraw / reject / reopen surveys
  • [ ] Predicates work
  • [ ] Can export surveys (For a run, for individual responses)
  • [x] Create/Edit templates and questions
  • [x] Activate / Mark Obsolete or Draft

Assessments

  • [x] Create/Update/Delete ratings
  • [ ] Bulk update ratings
  • [ ] Bulk export
  • [ ] Permissions are respected

Entity Relationships

  • [ ] Create/update/delete relations
  • [ ] Export ?

Admin

  • [x] creatre user
  • [ ] grant/remove user roles
  • [ ] add custom role
  • [ ] create/update/remove actor
  • [ ] Create/update/delete rating scheme
  • [ ] Create/update/delete assessment
  • [ ] Hierarchy rebuilds
  • [ ] Reassign recipients
  • [ ] Orphans
  • [ ] EUDA Promotion
  • [ ] Static Panels
    • [ ] include section help footer
  • [ ] create/edit actors

Report Grids

  • [x] Create
  • [ ] Delete
  • [ ] Update name/desc
  • [x] Add columns
  • [ ] Remove colums
  • [ ] Edit columns
  • [ ] Add / remove users
  • [ ] Promote / demote users
  • [ ] Create filter group note
  • [x] Render grid
  • [ ] Filters

davidwatkins73 avatar May 26 '22 11:05 davidwatkins73

See java based impl on #6444

davidwatkins73 avatar Feb 12 '23 22:02 davidwatkins73

Tips:

Highlight

locator.evaluate("d => d.style.border = '2px solid red'");

davidwatkins73 avatar Aug 09 '23 21:08 davidwatkins73

Example of doc support:

image

davidwatkins73 avatar Nov 02 '23 11:11 davidwatkins73