2
0

build: upgrade packages

This commit is contained in:
Baptiste Arnaud
2022-08-21 22:33:09 +02:00
parent 93161b74b2
commit 59281426b0
23 changed files with 2341 additions and 1063 deletions

View File

@@ -13,7 +13,7 @@
},
"dependencies": {
"@chakra-ui/css-reset": "2.0.3",
"@chakra-ui/react": "^2.2.6",
"@chakra-ui/react": "^2.2.8",
"@codemirror/lang-css": "^6.0.0",
"@codemirror/lang-html": "^6.1.0",
"@codemirror/lang-javascript": "^6.0.2",
@@ -27,19 +27,19 @@
"@emotion/styled": "^11.10.0",
"@giphy/js-fetch-api": "4.4.0",
"@giphy/js-types": "^4.2.1",
"@giphy/react-components": "6.0.0",
"@giphy/react-components": "6.1.1",
"@googleapis/drive": "^3.0.1",
"@sentry/nextjs": "7.9.0",
"@sentry/nextjs": "7.11.1",
"@stripe/stripe-js": "1.35.0",
"@tanstack/react-table": "8.5.11",
"@udecode/plate-basic-marks": "16.0.0",
"@udecode/plate-basic-marks": "16.3.0",
"@udecode/plate-common": "^7.0.2",
"@udecode/plate-core": "16.0.0",
"@udecode/plate-link": "16.0.0",
"@udecode/plate-serializer-html": "16.0.0",
"@udecode/plate-ui-link": "16.0.0",
"@udecode/plate-ui-toolbar": "16.0.0",
"aws-sdk": "2.1189.0",
"@udecode/plate-core": "16.3.0",
"@udecode/plate-link": "16.3.0",
"@udecode/plate-serializer-html": "16.3.0",
"@udecode/plate-ui-link": "16.3.0",
"@udecode/plate-ui-toolbar": "16.3.0",
"aws-sdk": "2.1199.0",
"bot-engine": "workspace:*",
"browser-image-compression": "^2.0.0",
"canvas-confetti": "^1.5.1",
@@ -49,8 +49,8 @@
"dequal": "^2.0.3",
"emojilib": "3.0.7",
"focus-visible": "^5.2.0",
"framer-motion": "7.0.0",
"google-auth-library": "^8.1.1",
"framer-motion": "7.2.0",
"google-auth-library": "^8.3.0",
"google-spreadsheet": "^3.3.0",
"got": "12.3.1",
"htmlparser2": "^8.0.1",
@@ -61,9 +61,9 @@
"micro": "9.4.1",
"micro-cors": "^0.1.1",
"minio": "7.0.30",
"next": "12.2.4",
"next": "12.2.5",
"next-auth": "4.10.3",
"nodemailer": "^6.7.7",
"nodemailer": "^6.7.8",
"nprogress": "^0.2.0",
"papaparse": "^5.3.2",
"prettier": "2.7.1",
@@ -75,7 +75,7 @@
"slate-history": "^0.66.0",
"slate-hyperscript": "^0.77.0",
"slate-react": "0.82.0",
"stripe": "10.0.0",
"stripe": "10.3.0",
"styled-components": "^5.3.5",
"svg-round-corners": "^0.3.0",
"swr": "^1.3.0",
@@ -85,13 +85,14 @@
},
"devDependencies": {
"@babel/core": "7.18.10",
"@chakra-ui/styled-system": "^2.2.7",
"@playwright/test": "1.25.0",
"@types/canvas-confetti": "^1.4.3",
"@types/google-spreadsheet": "^3.3.0",
"@types/jsonwebtoken": "8.5.8",
"@types/micro-cors": "^0.1.2",
"@types/minio": "^7.0.13",
"@types/node": "18.6.5",
"@types/node": "18.7.8",
"@types/nodemailer": "6.4.5",
"@types/nprogress": "^0.2.0",
"@types/papaparse": "5.3.3",
@@ -100,12 +101,12 @@
"@types/react": "^18.0.17",
"@types/react-table": "^7.7.12",
"@types/tinycolor2": "^1.4.3",
"@typescript-eslint/eslint-plugin": "5.33.0",
"@typescript-eslint/parser": "5.33.0",
"@typescript-eslint/eslint-plugin": "5.33.1",
"@typescript-eslint/parser": "5.33.1",
"db": "workspace:*",
"dotenv": "^16.0.1",
"eslint": "8.21.0",
"eslint-config-next": "12.2.4",
"eslint": "8.22.0",
"eslint-config-next": "12.2.5",
"eslint-plugin-react": "^7.30.1",
"models": "workspace:*",
"typescript": "^4.7.4",

View File

@@ -16,7 +16,8 @@ test.describe('Send email block', () => {
!process.env.SMTP_PORT ||
!process.env.SMTP_SECURE ||
!process.env.SMTP_HOST ||
!process.env.SMTP_PASSWORD
!process.env.SMTP_PASSWORD ||
!process.env.SMTP_FROM
)
throw new Error('SMTP_ env vars are missing')
await importTypebotInDatabase(
@@ -31,9 +32,7 @@ test.describe('Send email block', () => {
await page.goto(`/typebots/${typebotId}/edit`)
await page.click('text=Configure...')
await page.click(
`text=${process.env.NEXT_PUBLIC_SMTP_FROM?.match(/\<(.*)\>/)?.pop()}`
)
await page.click(`text=${process.env.SMTP_FROM}`)
await page.click('text=Connect new')
const createButton = page.locator('button >> text=Create')
await expect(createButton).toBeDisabled()

View File

@@ -26,6 +26,9 @@ test.describe.parallel('Theme page', () => {
}
)
await page.goto(`/typebots/${typebotId}/theme`)
await expect(
typebotViewer(page).locator('button >> text="Go"')
).toBeVisible()
await page.click('button:has-text("General")')
// Font
@@ -60,6 +63,9 @@ test.describe.parallel('Theme page', () => {
} catch {}
await page.goto(`/typebots/${typebotId}/theme`)
await expect(
typebotViewer(page).locator('button >> text="Go"')
).toBeVisible()
await page.click('button:has-text("Chat")')
// Host avatar
@@ -175,6 +181,9 @@ test.describe.parallel('Theme page', () => {
}
)
await page.goto(`/typebots/${typebotId}/theme`)
await expect(
typebotViewer(page).locator('button >> text="Go"')
).toBeVisible()
await page.click('button:has-text("Custom CSS")')
await page.fill(
'div[role="textbox"]',