From 09178b4862477244eb5a8ddcef714269e90e0d3e Mon Sep 17 00:00:00 2001 From: sgfost <46429375+sgfost@users.noreply.github.com> Date: Fri, 18 Oct 2024 15:22:12 -0700 Subject: [PATCH] deps: remove markupsafe pin (#768) * deps: remove markupsafe v2 pin resolves comses/planning#277 * test(e2e): give release editor some time to initialize rarely, the test would hang up on a (inconsequential) TypeError on the client if it tried to do stuff before the release editor store was initialized --- django/requirements.txt | 1 - e2e/cypress/tests/codebase.spec.ts | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/django/requirements.txt b/django/requirements.txt index 3ec7ca983..a26f31403 100644 --- a/django/requirements.txt +++ b/django/requirements.txt @@ -30,7 +30,6 @@ html2text>=2016.9.19 jinja2==3.1.4 jsonschema==4.19.0 markdown==3.6 -MarkupSafe<3.0.0 # FIXME: remove after regression in 3.0.x is patched https://github.com/comses/planning/issues/277 nltk>=3.8.1,<4.0.0 numpy==1.26.4 pandas==2.2.2 diff --git a/e2e/cypress/tests/codebase.spec.ts b/e2e/cypress/tests/codebase.spec.ts index fa418d0b1..154ca2f3b 100644 --- a/e2e/cypress/tests/codebase.spec.ts +++ b/e2e/cypress/tests/codebase.spec.ts @@ -48,7 +48,8 @@ describe("Visit codebases page", () => { getDataCy("codebase-associated-publications").type(codebase["associated-publications"]); getDataCy("codebase-references").type(codebase.references); getDataCy("next").click(); - + // make sure the release editor is initialized + cy.wait(2000); //add images getDataCy("add-image").click(); getDataCy("upload-image")