40 Commits

Author SHA1 Message Date
Arthur Moreau
4ac7f54e67
feat(cli): Introduce the Growth Trial prompt (#23498) 2025-06-03 19:58:02 +02:00
Alexandre Bodin
c9daf3573d chore: i18n defaults 2025-04-22 15:20:00 +02:00
Alexandre Bodin
0ffa0c9175 feat: ctb lifting 2025-04-22 15:20:00 +02:00
Ben Irvin
5017d5e420
enhancement(ctb): add aria data to relations buttons (#23076)
* test(e2e): add test for creating relations in ctb (#23078)
2025-03-10 14:20:56 +01:00
markkaylor
2a1c7a281f
fix: flaky tests (#22829) 2025-02-13 14:35:38 +01:00
Convly
4d07dffc75 fix: handle missing TEST_APP_PATH in e2e utility functions 2025-01-27 17:53:44 +01:00
Convly
5bd5447232 enhancement: add default api token on app creation 2025-01-27 17:04:10 +01:00
Ben Irvin
3a1d87a9c3
test(e2e): add tests for required fields and regexp (#22691) 2025-01-23 18:10:54 +01:00
Ben Irvin
7f7cfa5b39
test(e2e): text fields advanced settings (#22635) 2025-01-15 09:19:30 +01:00
Ben Irvin
0af49f5c5e
test(e2e): cleanup create-content (#22627) 2025-01-13 12:14:12 +01:00
Ziyi
8bfe95f44c
test(e2e): test for date picker (#22609) 2025-01-13 11:49:55 +01:00
Ben Irvin
1be05a65d0 Merge branch 'main' into releases/5.7.0 2025-01-08 15:41:19 +01:00
Ben Irvin
146a31b564
test(e2e): add create content tests (#22395)
* test(e2e): add dynamic zone to collection type

* test(e2e): use category from test data

* test(e2e): comments

* test(e2e): remove dz options, add avanced options types

* revert: merge mistake

* revert: merge mistake

* test(e2e): init create content test utils

* test(e2e): fix flaky api-tokens test

* test(e2e): remove debugging code

* test(e2e): init dz tests

* test(e2e): fix support for adding comps to dz

* test(e2e): validate dz fields

* test(e2e): options for testing validation

* test(e2e): test dragging components locations

* test(e2e): support adding components and dz to same ct

* chore: remove unused method

* test(e2e): fix create components

* revert: undo clickAndWait in createAPIToken

* chore: remove unused imports

* test(e2e): resize viewport to fit all elements in dragElementAbove

* test(e2e): fix visibility resizing util for webkit

---------

Co-authored-by: Ziyi <ziyi.yuan@strapi.io>
2024-12-20 17:52:21 +01:00
Marc Roig
dbe0985469
Releases/5.6.0 (#22471)
* feat: add content preview (remove future flag)

* chore: fix tests

* test(e2e): components and dz in create collection type (#22374)

* feat(content-manager): add syntax highlighting in the code block type in the Blocks field original solution (#22332)

* feat: install prismjs

* feat(content-manager): add highlights to code block using Prismjs

* feat(content-manager): remove screen debug

* feat(content-manager): extends render leaf props

* feat(content-manager): fix build issue

* feat(content-manager): move prismjs theme import

* feat(content-manager): change theme

* feat(content-manager): theme import minimized

* feat(content-manager): import prismjs types

* feat(content-manager): change gh action config

* feat(content-manager): revert the admin bundle size code

* feat(content-manager): remove console log

* feat(content-manager): change import theme

* feat(content-manager): remove theme

* feat(content-manager): change imports

* feat(content-manager): change prismjs import

* feat(content-manager): try to find the issue in gh action

* feat(content-manager): add theme test

* feat(content-manager): add packup css plugin

* feat(content-manager): remove rollup

* feat(content-manager): add change threshold

* feat(content-manager): import Prism in Code component

* feat(content-manager): remove prismjs

* feat(content-manager): install prismjs

* feat(content-manager): add prismjs theme

* feat(content-manager): install prismjs in admin

* feat(content-manager): try to change Prism import

* feat(content-manager): add config file

* feat(content-manager): add prismjs vite config

* feat(content-manager): change rollup options

* feat(content-manager): modify vite config

* feat(content-manager): add manually prismjs

* feat(content-manager): revert prismjs logic

* feat(content-manager): fix build errors

* feat(content-manager): solve failing fe unit tests

* feat(content-manager): add threshold

* feat(content-manager): fix import default

* feat(content-manager): change vite config

* feat(content-manager): add vite plugin prismjs

* feat(content-manager): update vite config

* feat(content-manager): fix issue decorate

* chore: add prism in admin deps

* feat(content-manager): replace original solution prismjs

* feat(content-manager): remove useless prismjs dep in admin

* feat(content-manager): change prismjs version

* feat(content-manager): remove vite-plugin-prismjs

* feat(content-manager): remove useless duplications in constants file

* feat(content-manager): move some files

* feat(content-manager): fix review comments

* feat(content-manager): remove useless importPath property

---------

Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com>

* chore(deps): bump nanoid from 3.3.7 to 3.3.8 in /docs (#22389)

Bumps the npm_and_yarn group with 1 update in the /docs directory: [nanoid](https://github.com/ai/nanoid).


Updates `nanoid` from 3.3.7 to 3.3.8
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.3.7...3.3.8)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* security(deps): bump nanoid to 3.3.8 in yarn.lock (#22397)

* enhancement: update purchase page links (#22419)

* enhancement: update purchase page links

* chore: remove local tests

* chore: add newline

* enhancement(database): add repair manager with component deletion fix (#22267)

* fix: preview back button behavior (#22432)

* fix: multiple requests locale (#22273)

* fix: multiple requests locale

* fix: actions request

* fix: properly load locales

* fix: add status to localizations

* fix: remove unused types

* fix: front tests

* fix: add validation fields into localizations

* fix: validatable attributes

* fix: select nested fields when populating localizations

* fix: uncomment localizations populate

* fix: document-metadata

* fix: empty populate

* fix: revert to original proposal

* fix: do not select document ids on components (#22330)

* fix: do not select document ids on components

* chore: unit test

* fix: metadata test

* fix: populate

* fix: default fields

* fix: show current locale when bulk publishing

* fix: create locale

* Update packages/core/content-manager/server/src/services/document-metadata.ts

Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>

---------

Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>

* fix: add component button style (#22425)

* fix: add-component-button-style

* fix: made it prettier

* fix: optimizations

* fix(blocks): various ui issues (#22423)

* fix: blocks-ui-fixes

* fix: made it prettier

* fix: optimizations

* fix: remove double conversion that causes date shift (#22410)

* fix: remove double conversion that causes date shift

* fix: remove useless files

* release: 5.6.0

* Revert "release: 5.6.0"

This reverts commit 77ad0efc79afd9777d140f84e8abc47cda26d1d9.

* release: 5.6.0

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Rémi de Juvigny <remi.dejuvigny@strapi.io>
Co-authored-by: Ben Irvin <ben.irvin@strapi.io>
Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>
Co-authored-by: Simone <startae14@gmail.com>
Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com>
Co-authored-by: Convly <jean-sebastien.herbaux@epitech.eu>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Maxime Castres <17828745+Mcastres@users.noreply.github.com>
Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
Co-authored-by: Lucas Boilly <45385696+lucasboilly@users.noreply.github.com>
Co-authored-by: Ziyi <ziyi.yuan@strapi.io>
2024-12-18 20:37:14 +01:00
Ben Irvin
4afb25b825
test(e2e): components and dz in create collection type (#22374) 2024-12-10 16:17:50 +01:00
markkaylor
d1d589380e
fix: turn on and update i18n settings.spec.ts (#22282) 2024-11-28 16:06:34 +01:00
Bassel Kanso
d65d44102f
feat: send diagnostic messages from remote strapi (#22214) 2024-11-26 15:57:02 +02:00
markkaylor
c91f2b4a2b
fix(e2e): wait for relation response before saving (#22245) 2024-11-25 09:17:41 +01:00
markkaylor
502b1e2079
fix(e2e): use clickAndWait to ensure the page is ready (#22216) 2024-11-20 10:57:49 +01:00
markkaylor
4119cc523a
fix(e2e): update data import and export scripts (#22071) 2024-11-12 18:04:44 +01:00
Rémi de Juvigny
51881c1956
chore: make ctb tests no longer rely on test order (#22103)
* fix: ctb e2e test creating fields that already exist

* chore: make ctb tests no longer rely on test order

* chore: update sharedSetup warning
2024-11-08 11:02:12 -05:00
Ben Irvin
77e66829c8
test(e2e): add update components tests and update playwright (#22033) 2024-11-06 13:48:19 +01:00
Ben Irvin
973df62640
test(e2e): add tests for create component (#21925) 2024-11-05 12:02:37 +01:00
Jamie Howard
4cf36024d8
fix(e2e): remove webkit skip conditions (#21611)
* fix(e2e): remove webkit skip conditions

* chore: revert uniqueness spec to test others on ci

* fix(e2e): ctb navigation

* chore: ci config to speed up testing

* chore: revert lock

* chore(e2e): wip add webkit waiting

* chore: single out history spec changes for ci

* chore(e2e): use new webkit navigation for all affected test files

* chore(e2e): revert e2e ci config so all tests run again

* chore(e2e): temp skip uniqueness to test others

* chore(e2e): revert so all tests run again

* chore(e2e): re-skip uniqueness in webkit

* chore(e2e): revert workflow yaml

* chore(e2e): pr feedback

---------

Co-authored-by: Ben Irvin <ben.irvin@strapi.io>
2024-10-17 16:19:03 +01:00
Ben Irvin
9c5567f4de
test(e2e): refactor ctb tests to enable on CI (#21464) 2024-09-27 08:58:38 +02:00
Jamie Howard
8f7d829564
[Fix/i18n] Single type deletion and locale nav (#21295) 2024-09-17 12:15:28 +02:00
RufusLeTerrible
6e80fa164c
test: add smoke test for settings menu (#19585)
Co-authored-by: RufusLeTerrible <MarionLemaire@users.noreply.github.com>
Co-authored-by: Ben Irvin <ben@innerdvations.com>
Co-authored-by: Ben Irvin <ben.irvin@strapi.io>
2024-08-13 11:08:38 +02:00
Ben Irvin
8d90d8866a
test(e2e): fix releases-page and listview (#20507) 2024-06-17 12:50:43 +02:00
Convly
481550a0d4 Merge branch 'refs/heads/develop' into v5/main
# Conflicts:
#	.github/actions/check-pr-status/package.json
#	docs/docs/docs/01-core/admin/05-features/authentication.md
#	docs/docusaurus.config.js
#	docs/yarn.lock
#	examples/getstarted/package.json
#	examples/kitchensink-ts/package.json
#	examples/kitchensink/package.json
#	examples/plugins/workspace-plugin/package.json
#	lerna.json
#	package.json
#	packages/admin-test-utils/package.json
#	packages/cli/create-strapi-app/package.json
#	packages/cli/create-strapi-starter/package.json
#	packages/cli/create-strapi/package.json
#	packages/core/admin/admin/src/App.tsx
#	packages/core/admin/admin/src/components/AuthenticatedApp.tsx
#	packages/core/admin/admin/src/components/Context.tsx
#	packages/core/admin/admin/src/components/LeftMenu.tsx
#	packages/core/admin/admin/src/components/PrivateRoute.tsx
#	packages/core/admin/admin/src/content-manager/pages/ListSettingsView/index.jsx
#	packages/core/admin/admin/src/content-manager/pages/ListView/components/BulkActions/PublishAction.tsx
#	packages/core/admin/admin/src/content-manager/pages/ListView/components/TableCells/CellContent.tsx
#	packages/core/admin/admin/src/features/Configuration.tsx
#	packages/core/admin/admin/src/index.ts
#	packages/core/admin/admin/src/pages/ProfilePage.tsx
#	packages/core/admin/admin/src/pages/UseCasePage.tsx
#	packages/core/admin/ee/server/src/services/metrics.ts
#	packages/core/admin/package.json
#	packages/core/admin/server/src/bootstrap.ts
#	packages/core/content-manager/package.json
#	packages/core/content-releases/admin/src/components/CMReleasesContainer.tsx
#	packages/core/content-releases/admin/src/components/ReleaseListCell.tsx
#	packages/core/content-releases/admin/src/index.ts
#	packages/core/content-releases/admin/src/pages/ReleaseDetailsPage.tsx
#	packages/core/content-releases/admin/src/pages/tests/ReleaseDetailsPage.test.tsx
#	packages/core/content-releases/admin/src/services/release.ts
#	packages/core/content-releases/package.json
#	packages/core/content-releases/server/src/controllers/release.ts
#	packages/core/content-type-builder/package.json
#	packages/core/core/.gitignore
#	packages/core/data-transfer/package.json
#	packages/core/database/package.json
#	packages/core/database/src/query/helpers/populate/apply.ts
#	packages/core/email/package.json
#	packages/core/helper-plugin/package.json
#	packages/core/permissions/package.json
#	packages/core/strapi/package.json
#	packages/core/types/package.json
#	packages/core/upload/admin/src/components/AssetDialog/BrowseStep/tests/__snapshots__/index.test.jsx.snap
#	packages/core/upload/admin/src/pages/App/ConfigureTheView/components/tests/__snapshots__/Settings.test.jsx.snap
#	packages/core/upload/admin/src/pages/App/ConfigureTheView/tests/__snapshots__/ConfigureTheView.test.jsx.snap
#	packages/core/upload/package.json
#	packages/core/upload/server/services/provider.js
#	packages/core/upload/server/services/upload.js
#	packages/core/upload/server/src/services/image-manipulation.ts
#	packages/core/upload/server/tsconfig.eslint.json
#	packages/core/utils/package.json
#	packages/generators/app/package.json
#	packages/generators/app/src/utils/db-client-dependencies.ts
#	packages/generators/generators/package.json
#	packages/plugins/cloud/package.json
#	packages/plugins/color-picker/package.json
#	packages/plugins/documentation/package.json
#	packages/plugins/graphql/package.json
#	packages/plugins/i18n/admin/src/components/LocaleListCell.tsx
#	packages/plugins/i18n/admin/src/contentReleasesHooks/releaseDetailsView.ts
#	packages/plugins/i18n/admin/src/index.ts
#	packages/plugins/i18n/package.json
#	packages/plugins/sentry/package.json
#	packages/plugins/users-permissions/package.json
#	packages/providers/email-amazon-ses/package.json
#	packages/providers/email-mailgun/package.json
#	packages/providers/email-nodemailer/package.json
#	packages/providers/email-sendgrid/package.json
#	packages/providers/email-sendmail/package.json
#	packages/providers/upload-aws-s3/package.json
#	packages/providers/upload-cloudinary/package.json
#	packages/providers/upload-local/package.json
#	packages/utils/api-tests/package.json
#	packages/utils/eslint-config-custom/package.json
#	packages/utils/logger/package.json
#	packages/utils/tsconfig/package.json
#	packages/utils/typescript/package.json
#	packages/utils/upgrade/LICENSE
#	packages/utils/upgrade/bin/upgrade.js
#	packages/utils/upgrade/package.json
#	packages/utils/upgrade/packup.config.ts
#	scripts/front/package.json
#	tests/e2e/constants.ts
#	tests/e2e/tests/content-releases/releases-page.spec.ts
#	yarn.lock
2024-05-30 13:12:27 +02:00
Rémi de Juvigny
79490c1229
chore: adds and fixes e2e for content history (#20098)
* chore: add e2e test for unknown relation

* chore: add single type test

* chore: fix history e2e tests

* fix: releases matching two fields

* chore: await success notifications
2024-05-27 11:23:55 -04:00
Ben Irvin
5277eaf60c
fix(ctb): validate pluralName and collectionName correctly (#20347) 2024-05-22 09:59:58 +02:00
Ben Irvin
48a7b1e909
chore: sync e2e tests with v5 branch (#20334) 2024-05-20 11:15:57 +02:00
Ben Irvin
7d9787cb7c
chore(test): change utils to .ts (#20333) 2024-05-20 11:15:33 +02:00
Josh
5d000fb33c
chore: upgrade to DS 2.0.0-beta.2 (#20151) 2024-04-25 16:17:23 +01:00
Marc Roig
01a203b446
feat: move rw to plugin (#19937)
* chore: initiate moving CM to own package

* chore: refactor to handle routes

* chore: init review-workflows-package

* chore: fix build

* chore: refactor review-workflows fe

* chore: fix unit suite

* feat: move rw to plugin

* fix: build

* fix: start up

* chore: clean things up

* fix: peer dependencies

* chore(wip): refactor rw fe

* chore: re-add admin ui

* chore: fix tests & linter

* chore: re-implement drag layer

* fix: type

* feat: review-workflow middlewares

* chore: send params to CM endpoints

* fix: use layout options as well, let that have the final say, just incase

* feat: use doc id and locale for entity assignee and stage

* fix: api tests

* fix: cm updates when we update fields

* chore: cleanup edit-view e2e tests

* fix: build

* fix: useDocumentLayout for RW options

* test: fix fe tests

* fix: ts

* test(e2e): add review-workflow e2e tests

* chore: fix bad import for cli tests

* chore: delete old e2e data

* chore: import EVERYTHING for DTS

* chore: update dataset

* fix: e2e script

* fix: stage permissions

* chore: remove duplicate settings menu link

* fix: workflow middleware

* chore: change permission

* test(e2e): fix RW tests

* chore: ignore dynamic attributes in DTS

Co-Authored-By: Jean-Sébastien Herbaux <25851739+Convly@users.noreply.github.com>

* chore: make settings rw e2e run on EE only

* test(e2e): fix them all pls

* fix: admin stage transition uid name

* chore: fix firefox e2e ce tests

---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
Co-authored-by: Jean-Sébastien Herbaux <25851739+Convly@users.noreply.github.com>
2024-04-12 10:58:38 +02:00
markkaylor
0a031cc777
feat(history): display new and unknown fields (#20039) 2024-04-10 14:51:10 +02:00
Josh
e188aac623 Merge branch 'develop' into v5/main 2024-04-08 15:21:08 +01:00
Ben Irvin
5ab818b8ee
test: add e2e tests for CTB restarts from file changes 2024-04-04 18:55:24 +02:00
Ben Irvin
2ef71bdf4c Merge branch 'develop' into v5/main 2024-04-02 16:25:24 +02:00
Ben Irvin
cf82c830d8
test: restructure test dirs 2024-04-02 11:19:43 +02:00