mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-10105] Update Storybook to 6.5.10v (#7765)
* [AAE-10266] storybook 6.4.19 fix * [AAE-10266] test storybook config * [AAE-10266] Fix storybook config * downgrade nrwl workspace to previous version * remove duplicated logo * downgrade nrwl version * downgrade nrwl packages * Trigger travis * fix playwright config * Fix storybook execute command * Fix Playwright config v2 * Remove useless command Co-authored-by: MichalFidor <michal.fidor@hyland.com>
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
* agreement is prohibited.
|
||||
*/
|
||||
|
||||
import { PlaywrightTestConfig, ReporterDescription, WebServerConfig } from '@playwright/test';
|
||||
import { dotenvConfig } from '@alfresco/adf-cli/tooling';
|
||||
import { PlaywrightTestConfig, ReporterDescription } from '@playwright/test';
|
||||
import { dotenvConfig } from '../lib/cli/tooling';
|
||||
import { paths } from './utils/paths';
|
||||
import { timeouts } from './utils/timeouts';
|
||||
import path from 'path';
|
||||
@@ -28,8 +28,8 @@ export const getGlobalConfig = (): PlaywrightTestConfig => {
|
||||
report = ['html', { outputFolder: path.resolve(`../${paths.report}`), open: 'on-failure' }];
|
||||
}
|
||||
|
||||
const webServer: WebServerConfig = {
|
||||
command: startCommand,
|
||||
const webServer = {
|
||||
command: `cd .. && ${startCommand}`,
|
||||
// It's true, but watch on on localhost! If you'll have other app up and running then it'll use this app to run the tests.
|
||||
// It won't check what application is currently running.
|
||||
reuseExistingServer: true,
|
||||
@@ -53,7 +53,7 @@ export const getGlobalConfig = (): PlaywrightTestConfig => {
|
||||
retries: env.CI ? 2 : 0,
|
||||
|
||||
/* Opt out of parallel tests on CI. */
|
||||
workers: env.PLAYWRIGHT_WORKERS ? parseInt(env.PLAYWRIGHT_WORKERS, 0) : 1,
|
||||
workers: env.PLAYWRIGHT_WORKERS ? parseInt(env.PLAYWRIGHT_WORKERS, 10) : 1,
|
||||
|
||||
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
|
||||
reporter: [['list'], report],
|
||||
|
@@ -12,6 +12,6 @@ export const timeouts = {
|
||||
medium: 5000,
|
||||
large: 10000,
|
||||
globalTest: 30 * 1000,
|
||||
webServer: 120 * 1000,
|
||||
webServer: 240 * 1000,
|
||||
globalSpec: 60 * 10 * 1000
|
||||
};
|
||||
|
Reference in New Issue
Block a user