Skip to content

#3481736 Enable autosave in E2E test set up

Jesse Baker requested to merge issue/experience_builder-3481736:e2e-autosave into 0.x

The vast majority of loc changed in this MR is because I removed the testIsolation: false option on all our E2E tests and that had a cascading effect on the amount of indentation on a bunch of tests.

The actual interesting parts are

  1. There is now a (very basic) test that tests autosave is working (loads, deletes a component, refreshes, ensures component is still deleted)
  2. A test module introduced that allows us to hit a URL to wipe the saved autoSave data.
  3. Autosave is enabled by default on all tests but...
  4. loadURLandWaitForXBLoaded now defaults to clearing the autoSave data via the URL provided by 1.
  5. (kind of unrelated but) testIsolation is now not set to false so it is true (as is the default in Cypress).
Edited by Jesse Baker

Merge request reports

Loading