Skip to content

Commit 9943c9c

Browse files
Update package.json to allow angular 19 and react 19 (#99)
* update package.json to allow angular 19 and react 19 * update e2e after widget default view change back to chat
1 parent 71da37e commit 9943c9c

File tree

4 files changed

+2
-7
lines changed

4 files changed

+2
-7
lines changed

e2e/example-page.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,6 @@ export class ExamplePage {
4949
this.widgetFrame = await elementHandle.contentFrame()
5050
}
5151

52-
async openChatView() {
53-
await this.widgetFrame.locator('text=Chat now').click()
54-
}
55-
5652
async startTheChat() {
5753
const startTheChatButton = await this.widgetFrame.waitForSelector('text=Start the chat', {
5854
state: 'visible',

e2e/examples.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ test.describe.parallel('Example applications', () => {
2525
const examplePage = new ExamplePage(page, framework)
2626
await examplePage.goto()
2727
await examplePage.getWidgetIframe()
28-
await examplePage.openChatView()
2928

3029
customerData.id = examplePage.getServerCustomerId()
3130
await expect(examplePage.dataContainers.widgetIsReady).toHaveText('Widget is ready: true')

packages/widget-angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"@livechat/widget-core": "^1.3.3"
3131
},
3232
"peerDependencies": {
33-
"@angular/core": "12 || 13 || 14 || 15 || 16 || 17 || 18",
33+
"@angular/core": "12 || 13 || 14 || 15 || 16 || 17 || 18 || 19",
3434
"rxjs": "6 || 7"
3535
},
3636
"devDependencies": {

packages/widget-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"@livechat/widget-core": "^1.3.3"
3030
},
3131
"peerDependencies": {
32-
"react": "^16.8 || 17 || 18"
32+
"react": "^16.8 || 17 || 18 || 19"
3333
},
3434
"devDependencies": {
3535
"@babel/preset-react": "^7.16.0",

0 commit comments

Comments
 (0)