From d1166b870c23e30dcd0b5f54fa1835ffe8eba8ae Mon Sep 17 00:00:00 2001 From: Sushmitha Sekar Date: Tue, 9 Apr 2024 11:29:45 +0200 Subject: [PATCH 1/8] Remove only --- cypress/integration/messages/quickReplies.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/integration/messages/quickReplies.spec.ts b/cypress/integration/messages/quickReplies.spec.ts index 68c713ce..7cfda25b 100644 --- a/cypress/integration/messages/quickReplies.spec.ts +++ b/cypress/integration/messages/quickReplies.spec.ts @@ -21,7 +21,7 @@ describe("Message with Quick Replies", () => { }) }) - it.only("should click the quick reply and post as user message", () => { + it("should click the quick reply and post as user message", () => { cy.withMessageFixture('quick-replies', () => { cy.get("button:contains('foobar003qr01')").last().focus(); cy.get("button:contains('foobar003qr01')").last().click(); From 9105adfa7a4e7b6520e6278be17bc1127b724dd5 Mon Sep 17 00:00:00 2001 From: Sushmitha Sekar Date: Tue, 9 Apr 2024 11:34:34 +0200 Subject: [PATCH 2/8] Add comments --- cypress/integration/messages/quickReplies.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/integration/messages/quickReplies.spec.ts b/cypress/integration/messages/quickReplies.spec.ts index 7cfda25b..11e74f60 100644 --- a/cypress/integration/messages/quickReplies.spec.ts +++ b/cypress/integration/messages/quickReplies.spec.ts @@ -30,7 +30,7 @@ describe("Message with Quick Replies", () => { }); }) - // we have no button images on v3 + // we have no button images on v3 - TODO: remove this test xit("should render image inside quick replies button", () => { cy.withMessageFixture('quick-replies', () => { cy.contains("foobar003qr02").children("img").should("have.length", 1); From e7be5fcc77734449b64e2d8fd534b0e1d2c1ce57 Mon Sep 17 00:00:00 2001 From: Sushmitha Sekar Date: Tue, 9 Apr 2024 11:57:22 +0200 Subject: [PATCH 3/8] Update chant components --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3149d63a..17c4f6d7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "SEE LICENSE IN LICENSE", "dependencies": { "@braintree/sanitize-url": "^6.0.0", - "@cognigy/chat-components": "0.19.1", + "@cognigy/chat-components": "0.20.0", "@cognigy/socket-client": "5.0.0-beta.10", "@emotion/cache": "^10.0.29", "@emotion/react": "^11.7.1", @@ -2181,9 +2181,9 @@ } }, "node_modules/@cognigy/chat-components": { - "version": "0.19.1", - "resolved": "https://registry.npmjs.org/@cognigy/chat-components/-/chat-components-0.19.1.tgz", - "integrity": "sha512-eXpHM0NQ3XyZv53yoT8hQ1ZuCdFZW+ItWfTXjFiJFdDmPbi7ZYmeub5cnCNhb6XAjN+4ZYLszNjvKRJwtIpHdg==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@cognigy/chat-components/-/chat-components-0.20.0.tgz", + "integrity": "sha512-riS5/U2ISRL3VGEimCjYYR1nDIVzMxReJjYh+Kjhj0j6LbnlpOnbNSc9G9+pIsgvhY12ffZBI9VJj+ehJfahjw==", "dependencies": { "@braintree/sanitize-url": "^6.0.4", "@fontsource/figtree": "5.0.18", diff --git a/package.json b/package.json index 999e10fa..f19fded3 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ }, "dependencies": { "@braintree/sanitize-url": "^6.0.0", - "@cognigy/chat-components": "0.19.1", + "@cognigy/chat-components": "0.20.0", "@cognigy/socket-client": "5.0.0-beta.10", "@emotion/cache": "^10.0.29", "@emotion/react": "^11.7.1", From ec916ed94a0186144fc8132cc6d67a4814eca5f4 Mon Sep 17 00:00:00 2001 From: Sushmitha Sekar Date: Tue, 9 Apr 2024 11:57:57 +0200 Subject: [PATCH 4/8] Remove todo --- cypress/integration/messages/quickReplies.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/integration/messages/quickReplies.spec.ts b/cypress/integration/messages/quickReplies.spec.ts index 11e74f60..7cfda25b 100644 --- a/cypress/integration/messages/quickReplies.spec.ts +++ b/cypress/integration/messages/quickReplies.spec.ts @@ -30,7 +30,7 @@ describe("Message with Quick Replies", () => { }); }) - // we have no button images on v3 - TODO: remove this test + // we have no button images on v3 xit("should render image inside quick replies button", () => { cy.withMessageFixture('quick-replies', () => { cy.contains("foobar003qr02").children("img").should("have.length", 1); From 90a8d2859cdd64bc2f94e14c09b94a14bebee48e Mon Sep 17 00:00:00 2001 From: Sushmitha Sekar Date: Tue, 9 Apr 2024 14:04:03 +0200 Subject: [PATCH 5/8] Update chat components --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 17c4f6d7..b76f8aa0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "SEE LICENSE IN LICENSE", "dependencies": { "@braintree/sanitize-url": "^6.0.0", - "@cognigy/chat-components": "0.20.0", + "@cognigy/chat-components": "0.20.1", "@cognigy/socket-client": "5.0.0-beta.10", "@emotion/cache": "^10.0.29", "@emotion/react": "^11.7.1", @@ -2181,9 +2181,9 @@ } }, "node_modules/@cognigy/chat-components": { - "version": "0.20.0", - "resolved": "https://registry.npmjs.org/@cognigy/chat-components/-/chat-components-0.20.0.tgz", - "integrity": "sha512-riS5/U2ISRL3VGEimCjYYR1nDIVzMxReJjYh+Kjhj0j6LbnlpOnbNSc9G9+pIsgvhY12ffZBI9VJj+ehJfahjw==", + "version": "0.20.1", + "resolved": "https://registry.npmjs.org/@cognigy/chat-components/-/chat-components-0.20.1.tgz", + "integrity": "sha512-A7FP86c6DS6g1fPC/z1gWxwPCloYFp0QkcR9IbTes4j89eACpIYvmwWYtL8p2McBOckO41ByKinHy+x7hNCY7w==", "dependencies": { "@braintree/sanitize-url": "^6.0.4", "@fontsource/figtree": "5.0.18", diff --git a/package.json b/package.json index f19fded3..003fe3cd 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ }, "dependencies": { "@braintree/sanitize-url": "^6.0.0", - "@cognigy/chat-components": "0.20.0", + "@cognigy/chat-components": "0.20.1", "@cognigy/socket-client": "5.0.0-beta.10", "@emotion/cache": "^10.0.29", "@emotion/react": "^11.7.1", From 061794426016fd02e7e23aef60d6748a7a3de5ad Mon Sep 17 00:00:00 2001 From: Sushmitha Sekar Date: Tue, 9 Apr 2024 17:18:19 +0200 Subject: [PATCH 6/8] Remove timeout --- cypress/integration/collated-text-inputs.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/integration/collated-text-inputs.spec.ts b/cypress/integration/collated-text-inputs.spec.ts index 73c7347f..2c9136bc 100644 --- a/cypress/integration/collated-text-inputs.spec.ts +++ b/cypress/integration/collated-text-inputs.spec.ts @@ -33,7 +33,7 @@ describe("collated text inputs", () => { cy.contains("hi whats up").should("be.visible"); }); - it("should immediately send messages not using the text input or the 'collate' option", () => { + it.only("should immediately send messages not using the text input or the 'collate' option", () => { cy.initMockWebchat({ settings: { layout: { @@ -45,7 +45,7 @@ describe("collated text inputs", () => { .startConversation(); cy.sendMessage("immediately there!"); - cy.contains("immediately there!", { timeout: 200 }).should("be.visible"); + cy.contains("immediately there!").should("be.visible"); }); it("sends separate messages if the collate timeout of 1000ms was exceeded", () => { From 1021e4a286ede9d7df88938db272c7dcfe61b7e3 Mon Sep 17 00:00:00 2001 From: Sushmitha Sekar Date: Tue, 9 Apr 2024 17:19:00 +0200 Subject: [PATCH 7/8] Remove only --- cypress/integration/collated-text-inputs.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/integration/collated-text-inputs.spec.ts b/cypress/integration/collated-text-inputs.spec.ts index 2c9136bc..ac79fda9 100644 --- a/cypress/integration/collated-text-inputs.spec.ts +++ b/cypress/integration/collated-text-inputs.spec.ts @@ -33,7 +33,7 @@ describe("collated text inputs", () => { cy.contains("hi whats up").should("be.visible"); }); - it.only("should immediately send messages not using the text input or the 'collate' option", () => { + it("should immediately send messages not using the text input or the 'collate' option", () => { cy.initMockWebchat({ settings: { layout: { From 5e9f93bacd99b32c28a948d24d41a242b300c461 Mon Sep 17 00:00:00 2001 From: Dmitrii Ostasevich <90881+kwinto@users.noreply.github.com> Date: Mon, 22 Apr 2024 11:07:39 +0200 Subject: [PATCH 8/8] 3.0.0-beta.21 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index b76f8aa0..6764aceb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@cognigy/webchat", - "version": "3.0.0-beta.20", + "version": "3.0.0-beta.21", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@cognigy/webchat", - "version": "3.0.0-beta.20", + "version": "3.0.0-beta.21", "license": "SEE LICENSE IN LICENSE", "dependencies": { "@braintree/sanitize-url": "^6.0.0", diff --git a/package.json b/package.json index 003fe3cd..9b55df82 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cognigy/webchat", - "version": "3.0.0-beta.20", + "version": "3.0.0-beta.21", "description": "Webchat Widget for Cognigy.AI", "author": "Cognigy GmbH ", "contributors": [