11 Commits

Author SHA1 Message Date
Boegie19
965da42615
combined all CI improvement (#18383)
* cache yarn build

* fixes typescript using new mono build

* fixning mono build action

* add a no build option for generate-app

* test 3 shards instead of 2.

* shard up to 4

* try 2 for shards

* migrated last build to action

* try 6 shards

* removed build from lint

* remove build from lint

* fix required tests

* fixes/ shard decrease to 5

* remove last node 16 test

* changed no:build to no-build

* removed old build
2023-10-18 10:24:23 +01:00
Ben Irvin
d66eb870df
Merge pull request #18379 from Boegie19/jest-sharding-test 2023-10-11 11:49:03 +02:00
Boegie19
82d97ce483 add jest shards for db tests. 2023-10-10 14:06:42 +02:00
Josh
160ac2f527
chore: build strapi utils with pack-up (#18308)
* chore: build strapi utils with pack-up

* chore: remove build:ts from workflow

Update UploadAssetDialog.test.js
2023-10-05 14:47:35 +01:00
Alexandre Bodin
4a615f2db4 test: add e2e tooling
Remove old cypress related files

Update config and reorg tests

Run test app before running playwright tests

feat: add beginning of authentication test

feat: add app template with database dumping ability

chore: pr amends

Run test app before running playwright tests

feat: add beginning of authentication test

feat: add app template with database dumping ability

chore: pr amends

init deits

fix: e2e test

chore: rename to e2e

chore: commit tar for data

Init playwright

Run test app before running playwright tests

feat: add beginning of authentication test

feat: add app template with database dumping ability

chore: pr amends

chore: remove unneeded workflow

fix: add private: true to the template so `test-apps` aren't published

docs: add docs

chore: add warning about DTS caveats

chore: tweak docs

docs(e2e): add correct route to api example for template

chore: fix package.json tests

chore: update from feature/DEITS

chore: updates from DTS

chore: update data-transfer

Update yarn.lock

fix: remove duplicate type

chore(e2e): set up folder structure

fix(e2e): avoid clearing 'admin_' DB tables through DTS or DB Dump

feat(e2e): DTS scripts and backup files

add route to change rate limit

fix wront appPath for API test in CI

no template by default when creating a test app

Fix typo double equal

fix template path for e2e tests

chore(e2e): fix broken signup spec

feat(e2e): basic logout test spec

Login e2e tests

globalSetup attempt

use withAdmin backup

cleanup

fix playwright config & rate limit test

remove example.spec.js

refactor and merge some login tests

Chore: Cleanup login and signup specs

feat(e2e): sign up password error cases

feat(e2e): add homepage expectation to signup spec

refactor(e2e)

refactor(e2e): signUp

refactor(e2e): use global login util for logout and logins specs

Init playwright

fix: remove duplicate type

chore: uncomment transfer route registering

Update yarn.lock

chore: update data-transfer

chore: updates from DTS

chore: update from feature/DEITS

chore: fix package.json tests

docs(e2e): add correct route to api example for template

chore: tweak docs

chore: add warning about DTS caveats

docs: add docs

fix: add private: true to the template so `test-apps` aren't published

chore: remove unneeded workflow

chore: pr amends

feat: add app template with database dumping ability

feat: add beginning of authentication test

Run test app before running playwright tests

Init playwright

chore: commit tar for data

chore: rename to e2e

fix: e2e test

init deits

chore: pr amends

feat: add app template with database dumping ability

feat: add beginning of authentication test

Run test app before running playwright tests

chore: pr amends

feat: add app template with database dumping ability

feat: add beginning of authentication test

Run test app before running playwright tests

Update config and reorg tests

Remove old cypress related files

chore(e2e): cleanup e2e dir

chore(docs): improve e2e testing documentation

chore(docs): PR feedback

chore: tweak action to run browsers in matrix & build packages

chore: fix tests based on merge

chore: shuffle e2e tests and add first conent-type

fix: tests

Make use of yarn linking for api & e2e tests

Chore: Fix running backend unit tests

Chore: Bring opts.run back

Chore: Update playwright

Chore: Update Playwright setup

fix: workflow

chore: fix path to package.json

chore: build ts projects before tests

chore: update e2e workflow

chore: add no-immutable

Use simpler transfer token to avoid misinterpretation

Remove console.log

Ensure that the custom transfer token exists in the e2e test app's database upon startup

Use the custom transfer token for transferring data to the e2e test app

Fix code analysis warning

Define and export a constant for the custom transfer token

Allow passing a custom access key for the transfer token service

chore: add test-apps to workspace

chore: update lockfile
Co-Authored-By: Josh <37798644+joshuaellis@users.noreply.github.com>
Co-Authored-By: Gustav Hansen <gu@stav.dev>
Co-Authored-By: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
Co-Authored-By: Jean-Sébastien Herbaux <25851739+Convly@users.noreply.github.com>
2023-07-25 14:20:49 +01:00
Josh
e39a165a01 chore: add --skip-nx-cache
chore: update api tests

chore: fix vercel

chore: formatting

pls

chore: dont use run

chore: add correct command

chore: add correct command
2023-03-28 10:59:21 +01:00
Josh
0f008b4913 chore: use yarn3
chore: commit yarn release

chore: don't use -s

fix: eslint deps

https://eslint.org/docs/latest/extend/shareable-configs#publishing-a-shareable-config

chore: fix eslint

chore: remove -s

fix: lint

chore: yarn 3 amends

chore: dont use npm run all

chore: fix securitylockfile action

chore: update lockfile post rebase

Revert "Delete index.js"

This reverts commit e6009ec7cf13fb9edd93a7bf820b0f50af5dcb54.

Delete index.js

chore: remove validate-https because how yarn3 works

chore: remove validate-https

chore: use same time of cache everywhere
2023-03-24 11:38:14 +00:00
Ben Irvin
a79f92e068 merge branch "main" 2023-01-13 09:13:00 +01:00
Convly
0c00c19332 Prevent license ping for api tests 2023-01-10 16:38:36 +01:00
Ben Irvin
7050ad1000 build ts files before API tests 2023-01-03 10:18:47 +01:00
Alexandre Bodin
57e1eb5ee8 Move e2e to api tests and unify test command 2022-10-27 19:49:37 +02:00