Overview
Reviewing e2e test #3498219: Missing E2E test for Publish button hides bugs I found myself wishing the test was running at slow rate so I could see what was going on with each set. I want make sure it is testing the back-end portions I think it is
Proposed resolution
@callumharrod point out the there is cy.pause().
I would love if the test could be run in away that when key events happend like the test determine the preview is ready or a element was dragged on the page, I could have it wait until I pressed play to go forward.
My suggestion
- Add a
debugPausesCypress option that will pause tests at certain key points - Add a
cy.debugPause()function that will check this option and pause the test if needed - Call
cy.debugPause()in commands like previewReady
User interface changes
Issue fork experience_builder-3498825
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
tedbowComment #4
tedbowComment #6
hooroomooComment #8
hooroomooComment #9
wim leersI expect this to be documented in
/ui/README.md. Can we get a tiny follow-up MR in this issue to rectify that? 😊🙏Comment #10
tedbowAssigning to myself for reminder but if anyone else wants to make follow-up MR please assign yourself. You can assign back to me for review
Comment #12
tedbowComment #13
tedbowRenaming the title case in body sees this in the queue, to give a better idea of what it does
Comment #14
hooroomooApproved but I think it isn't letting me merge bc the MR is still marked as a draft.
Comment #16
hooroomoo