From 4845e3f09314edd743efc2fefaf5f0c2e103b6bc Mon Sep 17 00:00:00 2001 From: Suraj Shetty Date: Mon, 25 Sep 2023 10:37:30 +0530 Subject: [PATCH] test: Remove unnecessart assertion --- cypress/integration/control_phone.js | 3 --- cypress/integration/customize_form.js | 1 - cypress/integration/socket_updates.js | 2 +- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/cypress/integration/control_phone.js b/cypress/integration/control_phone.js index b5b29fe758..955678a2d6 100644 --- a/cypress/integration/control_phone.js +++ b/cypress/integration/control_phone.js @@ -55,9 +55,6 @@ context("Control Phone", () => { } ); }); - - cy.get(".phone-picker").get(".search-phones").clear(); - cy.get(".phone-section .phone-wrapper").should("not.have.class", "hidden"); }); it("existing document should render phone field with data", () => { diff --git a/cypress/integration/customize_form.js b/cypress/integration/customize_form.js index cd03f7b54c..07bf139da1 100644 --- a/cypress/integration/customize_form.js +++ b/cypress/integration/customize_form.js @@ -9,7 +9,6 @@ context("Customize Form", () => { const naming_rule_default_autoname_map = { "Set by user": "prompt", "By fieldname": "field:", - 'By "Naming Series" field': "naming_series:", Expression: "format:", "Expression (old style)": "", Random: "hash", diff --git a/cypress/integration/socket_updates.js b/cypress/integration/socket_updates.js index d0642e1b03..4253618e18 100644 --- a/cypress/integration/socket_updates.js +++ b/cypress/integration/socket_updates.js @@ -38,7 +38,7 @@ context("Realtime updates", () => { }); }); - it("Recieves msgprint from server", { scrollBehavior: false }, () => { + it("Receives msgprint from server", { scrollBehavior: false }, () => { // required because immediately after load socket is still connecting. // Not a deal breaker in prod const msg = "msgprint sent via realtime";