Skip to content

Initial porting of some of the tests in component operations

Closes #3537664

The original 10 tests in component-operations.cy.js have not ALL been converted.

  1. The iframe loads the SDC CSS
  2. Can handle empty heading prop in hero component
  3. Should be able to blur autocomplete without problems. See #3519734
  4. Created a node 1 with type article on install we are not loading default content in Playwright, so not relevant
  5. Can access XB UI and do basic interactions → Tests moved/combined into Component hovers and clicks
  6. Can add component by clicking component in library → Tests moved/combined into Component hovers and clicks
  7. Can delete component with delete key
  8. Can add a component with empty slots
  9. Can add an image component with a preview but empty input tested in other PW tests already
  10. Can add an optional image component with a preview but empty input tested in other PW tests already

The olivero.spec.ts has been fixed.

New helper utilities added to XBEditor.ts (and some things renamed, hence there are several small changes across many other tests e.g. addComponent renamed to addComponentById

Edited by Jesse Baker

Merge request reports

Loading