mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-7160] Setup Playwright in ADF - Storybook testing (#7537)
* [AAE-7160] Setup Playwright in ADF - Storybook testing * New test cases for groups component. Reorganize the files * Add to package.json scripts - npm run playwright * Change amount of workers * Change workesr to 2
This commit is contained in:
4
scripts/ci/jobs/dbpci-before-playwright
Executable file
4
scripts/ci/jobs/dbpci-before-playwright
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# At the moment we only need to install chromium
|
||||
npx playwright install chromium
|
7
scripts/travis/storybook-testing/storybook-test.sh
Executable file
7
scripts/travis/storybook-testing/storybook-test.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Increase the max_user_watches
|
||||
sudo sysctl -w fs.inotify.max_user_watches=524288
|
||||
|
||||
# Run Playwright Storybook Tests
|
||||
npx playwright test --config='e2e-playwright/playwright.config.ts' || exit 1
|
Reference in New Issue
Block a user