295 Commits

Author SHA1 Message Date
Rémi de Juvigny
59cb734ff4 chore: fix tests 2024-12-04 10:02:35 +01:00
Ben Irvin
555a72384e
test(e2e): add update and delete content type tests (#22325) 2024-12-03 09:07:47 +01:00
Rémi de Juvigny
03640aa70e
enhancement: cmd+enter and ctrl+enter to save entry (#22311)
* enhancement: keyboard shortcuts to save entry

* chore: add e2e test

* chore: restore validate fn

* fix: don't register cmd+s for arc browser

* fix: remove cmd+s and ctrl+s
2024-12-02 12:03:22 -05: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
Rémi de Juvigny
25e4c58708
enhancement: disable preview link when changes are not saved (#22275) 2024-11-26 08:10:09 -05:00
Jean-Sébastien Herbaux
fef0f91d51
fix: Remove Private Attributes from GraphQL Filters and Inputs (#21934) 2024-11-25 11:05:48 +01:00
markkaylor
c91f2b4a2b
fix(e2e): wait for relation response before saving (#22245) 2024-11-25 09:17:41 +01:00
markkaylor
185e16fdc3
fix(content-manager): navigate when publishing AND creating document (#22231) 2024-11-21 17:38:20 +01:00
Marc Roig
780730225a
chore: e2e test for preview (#22190)
* chore: e2e test for preview

* fix: comments
2024-11-20 13:55:42 +01:00
markkaylor
57121fdbd9
chore(e2e): turn on the i18n editview.spec.ts tests (#22217) 2024-11-20 11:54:36 +01:00
markkaylor
502b1e2079
fix(e2e): use clickAndWait to ensure the page is ready (#22216) 2024-11-20 10:57:49 +01:00
Ben Irvin
eedb036f0a
test(e2e): add content search test suite (#22209) 2024-11-19 17:09:22 +01:00
Ben Irvin
f4ae0b6b92
test(e2e): fix flaky ctb tests (#22204)
* test(e2e): fix flaky edit-single-type test
* test(e2e): fix flaky edit-collection-type
2024-11-19 12:01:27 +01:00
Ben Irvin
51bdcd0aa9
test(e2e): improve efficiency of collection-type test (#22178) 2024-11-18 09:06:45 +01:00
markkaylor
4119cc523a
fix(e2e): update data import and export scripts (#22071) 2024-11-12 18:04:44 +01:00
Marc Roig
af7e4e2471
wip: static preview draft & publish tabs (#22025)
* feat: preview tabs

* fix: re organize imports

* fix: tabs label text

* fix: import

* fix: preview close button (#22027)

* fix: preview close button

* chore: remove function

* fix: typescript error

* fix: pr suggestions

* fix: padding

* fix: use paddings

* fix: pr suggestions

* fix: align to end

* chore: e2e test

* chore: remove margin bottom from tab

* chore: do not use style tag

* fix: remove unused align

* chore: update component locator to getByRole
2024-11-12 10:02:46 +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
f3ad685d4b
feat: reordering for polymorphic relations in Content API (#21928)
Co-authored-by: Marc Roig <Marc-Roig@users.noreply.github.com>
Co-authored-by: Marc <marc.roig.campos@strapi.io>
2024-11-08 09:07:22 +01:00
Marc Roig
d103412420
fix: stage change should not update modified status (#22069)
* fix: stage change should not update modified status

* feat: assiignees

* chore: add comment

* fix: remove assignee

* chore: api tests
2024-11-07 15:28:19 +01: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
markkaylor
5c463a4f33
fix(e2e): enable e2e tests in editview.spec.ts (#21986) 2024-11-04 11:12:15 +01:00
Fernando Chávez
906f82d718
feat(content-manager): integrate review workflows with releases (#21882)
* feat(review-workflows): adding required stage for publishing (#21380)

* feat(review-workflows): adding required stage for publishing

* fix(review-workflows): fixs on rw required stage

* fix(review-workflows): selected required stage when stage name changed

* fix(review-workflows): bug when creating new rw

* feat(review-workflows): check entry stage before publish (#21400)

* feat(content-releases): add stage check to releases details page (#21497)

* feat(content-releases): add stage check

* fix(content-releases): apply suggestions on releases x review workflows

* feat(content-releases): considered review stage when getting the action status (#21612)

* feat(content-releases): considered review stage when getting the action status

* fix: apply changes to reviewWorkflows on schema

* fix: add api test for review workflows publish stage

* fix: api tests

* fix: validation message errors (#21878)

* feat: add workflowId & hasRequiredStageToPublish to workflows metrics events (#21897)

* fix(content-releases): skip flaky test

* fix: update accessible name in history.spec.ts

---------

Co-authored-by: Mark Kaylor <mark.kaylor@strapi.io>
2024-11-04 10:18:40 +01:00
markkaylor
f5312617ca
fix(e2e): update blocks e2e tests (#22010) 2024-10-29 14:25:04 +01:00
Pierre Levavasseur
36632203b1
fix: single type name not applied in the content manager (strapi#20844) (#21430) 2024-10-28 11:06:28 -04:00
Marc Roig
f8de0529b4
fix: releases page e2e (#21938)
* fix: releases page e2e

* chore: log e2e

* chore: use click and wait utility

* chore: test not waiting for redirect

* chore: change release name

* chore: log network error

* fix: comma

* fix: set timezone

* chore: remove logs

---------

Co-authored-by: markkaylor <mark.kaylor@strapi.io>
2024-10-28 14:41:10 +01:00
Marc Roig
c222e1c4de
feat: fix filters attribute name (#21547)
* feat: fix filters attribute name

* chore: simplify test

* chore: pr suggestions

* fix: short hand populate

* chore: comment

* fix: lint

* chore: suggestions

* fix: assert
2024-10-28 09:28:04 +01:00
Rémi de Juvigny
f6dca5adf0
enhancement: add preview page header (#21983)
* enhancement: add preview header

* chore: use translations for document status

* chore: add comment with Status comp plan

* chore: update e2e tests

* fix: e2e test

* Update tests/e2e/tests/content-manager/preview.spec.ts
2024-10-25 11:12:35 -04:00
markkaylor
c70b83067f
fix(e2e): enable e2e bulk action tests in listview.spec.ts (#21980) 2024-10-25 14:08:44 +02:00
markkaylor
882aa56307
fix(e2e): enable tests for release-details-page.spec.ts (#21969)
* fix: update dataset to remove release action duplicates
* fix: return draft if a document has not been published yet
2024-10-25 10:07:53 +02:00
Rémi de Juvigny
6d1431fe2a
enhancement: create dedicated preview page (#21965)
* enh: add preview page and navbar

* chore: remove header

* chore: update e2e tests

* chore: remove getDocumentStatus export

* fix: error state
2024-10-24 12:15:35 -04:00
Rémi de Juvigny
c5ae9675f5
chore: re-enable blocks e2e test (#21966)
* chore: re-enable blocks e2e test

* fix: skip firefox
2024-10-24 12:09:03 -04:00
Rémi de Juvigny
6ed779c066
chore: set up preview e2e tests (#21912)
* chore: set up preview e2e tests

* fix: webkit permissions

* fix: webkit permission

* fix: disable clipboard check on webkit

* fix: remove clipboard check
2024-10-23 08:22:48 -04: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
Rémi de Juvigny
ee56af7ae2
chore: re-enable history e2e tests (#21739)
* fix: reenable history api tests

fix: flaky findAndClose

fix: close notifications

* chore: add test workflow filters for each test type

* chore: fix node versions

* fix: match format of test.yml

* revert: don't add test_result to skipped_tests

* fix: add new outputs vars

---------

Co-authored-by: Ben Irvin <ben@innerdvations.com>
2024-10-15 08:12:54 -04:00
Jean-Sébastien Herbaux
7f39880265
Make locale/localizations private for non-localized cts (#21495) 2024-10-14 14:07:09 +02:00
Rémi de Juvigny
c69a9fec98
fix: broken list view pagination (#21800)
* fix: broken list view pagination

* chore: add list view pagination e2e test
2024-10-11 11:19:53 -04:00
Lucas Boilly
9fd5425377
fix: changed empty components wording (#21630)
* fix: changed empty components wording

* fix: updated selectors

* fix: made it prettier
2024-10-10 05:49:04 -04:00
Ben Irvin
51d9cfeaec
enhancement: add support for Node 22 (#21467) 2024-10-09 09:52:15 +02:00
Marc Roig
002fc78b3c
feat: preview endpoint (#21574)
* feat: base files for static preview

* feat: preview config

* Update packages/core/content-manager/server/src/preview/routes/index.ts

Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>

* chore: empty handler

* chore: comment controllers type

* fix: remove is enabled check from load

* feat: test preview config

* chore: refactor type

* feat: preview endpoint

* feat: preview test

* fix: tests

* fix: api test

* chore: comment

---------

Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>
2024-10-08 14:23:47 +02:00
Rémi de Juvigny
dc3f54929b
fix: history trying to restore components that were deleted (#21559)
* fix: reenable history api tests

* fix: history trying to restore components that were deleted

* Update tests/api/core/content-manager/content-manager/history/history.test.api.ts

Co-authored-by: Marc Roig <marc.roig.campos@strapi.io>

* chore: refactor to deselect component ids at version creation

* Revert "fix: reenable history api tests"

This reverts commit a35f61fbc066f8ed4d4053ee99bed5d5c4949312.

* fix: type error

---------

Co-authored-by: Marc Roig <marc.roig.campos@strapi.io>
2024-10-07 05:59:35 -04:00
Ben Irvin
1a60292e6f
test(api): enable graphl and upload tests (#21500) 2024-10-01 11:31:13 +02:00
Ben Irvin
bdce42ce6e
test(cli): update snapshots for list commands (#21496) 2024-10-01 10:37:37 +02:00
Ben Irvin
64bd4f3d1e
test(api): enable relations tests (#21498) 2024-09-27 15:50:39 +02:00
Alexandre BODIN
9a4af3a3cc
Merge pull request #21428 from strapi/fix/cm-relations
fix: cm relations
2024-09-27 10:22:45 +02:00
Ben Irvin
9c5567f4de
test(e2e): refactor ctb tests to enable on CI (#21464) 2024-09-27 08:58:38 +02:00
Lucas Boilly
cb0bd8df8c
fix: removed the unexpected capital letters (#21454)
* fix: Removed the unexpected capital letters

* fix: updated wording
2024-09-26 08:22:10 -04:00
Alexandre Bodin
86fea32ae4 fix: locale might be null 2024-09-24 16:23:20 +02:00
Ben Irvin
e43238abaf
fix: drop and create columns and indexes in the correct order (#21402) 2024-09-24 12:52:57 +02:00