Skip to content
Snippets Groups Projects
Unverified Commit 6c1fa80f authored by Paul Rosenzweig's avatar Paul Rosenzweig Committed by GitHub
Browse files

close editor in test to prevent timing bug (#11738)

parent 148d7b9f
No related branches found
No related tags found
No related merge requests found
......@@ -77,6 +77,10 @@ describe("public and embeds", () => {
cy.focused().blur();
// This is needed to work around a timing bug. Without closing the editor,
// part of the question name was getting entered into the ace editor.
cy.get(".Icon-contract").click();
cy.contains("Save").click();
modal()
.find('input[name="name"]')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment