Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 0 additions & 3 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ reorganize.js
actions/versionate-docs/lib
actions/versionate-docs/node_modules

actions/platform-test/lib
actions/platform-test/node_modules

packages/plasma-colors/*
!packages/plasma-colors/additional.ts
!packages/plasma-colors/general.ts
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/cypress-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
else
echo "SCOPE={core,new-hope,typo,icons,cy-utils}" >> $GITHUB_ENV
fi

- name: Install dependencies for check-test-files-exist
if: ${{ inputs.components }}
run: |
Expand Down Expand Up @@ -74,20 +74,20 @@ jobs:
retry_on: error
command: |
if [ "${{ inputs.prefix }}" = "plasma" ]; then
npx lerna bootstrap --scope=@salutejs/${{ inputs.prefix }}-${{env.SCOPE}} --scope="@salutejs/platform-test" --scope="@salutejs/core-themes"
npx lerna bootstrap --scope=@salutejs/${{ inputs.prefix }}-${{env.SCOPE}} --scope="@salutejs/core-themes"
else
npx lerna bootstrap --scope=@salutejs/plasma-${{env.SCOPE}} --scope="@salutejs/platform-test" --scope="@salutejs/core-themes" --scope="@salutejs/${{ inputs.prefix }}-{${{ inputs.scope }},themes}"
npx lerna bootstrap --scope=@salutejs/plasma-${{env.SCOPE}} --scope="@salutejs/core-themes" --scope="@salutejs/${{ inputs.prefix }}-{${{ inputs.scope }},themes}"
fi

- name: Run Cypress CT for Plasma ${{ inputs.scope }}
if: ${{ success() }}
run: |
if [ -n "${{ inputs.components }}" ] && [ "${{ steps.check-test-files-exist.outputs.tests-exist }}" = "true" ]; then
echo "Running Cypress for specific components: ${{ inputs.components }}"
npm run cy:${{ inputs.scope }}:run-ct --components="${{ inputs.components }}"
npm run cy:${{ inputs.scope }}:run --components="${{ inputs.components }}" --webpack_cache_enabled=true
elif [ -z "${{ inputs.components }}" ]; then
echo "Running Cypress for all components"
npm run cy:${{ inputs.scope }}:run-ct
npm run cy:${{ inputs.scope }}:run --webpack_cache_enabled=true
else
echo "Skipping Cypress: No test files found for specified components"
fi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
uses: ./.github/actions/prepare-environment

- name: Lerna bootstrap
run: npm run ${{ inputs.cmd }} -- --ignore="@salutejs/{*-docs,platform-test,plasma-website}"
run: npm run ${{ inputs.cmd }} -- --ignore="@salutejs/{*-docs,plasma-website}"

- name: Check disk usage after bootstrap
run: df -h
Expand Down
10 changes: 5 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,15 @@ npm ci && npx lerna bootstrap
В корне **monorepo** выполните команду (для остальных библиотек команды будут соответствующими):

```sh
npm run cy:ui:run-ct
npm run cy:ui:run
```

#### Обновление скриншотов

Если это необходимо, то для этого выполните команду:

```sh
npm run cy:ui:run-ct-update-diffs
npm run cy:ui:update
```

- добавьте их в commit;
Expand All @@ -126,7 +126,7 @@ npm run cy:ui:run-ct-update-diffs
Выполните команду:

```sh
npm run cy:ui:open-ct
npm run cy:ui:open
```

#### Запуск тестов с указанием компонента(-ов)
Expand All @@ -136,13 +136,13 @@ npm run cy:ui:open-ct
Это поведение можно изменить указав что именно нужно запускать.

```sh
npm run cy:ui:run-ct --components='component1, component2'
npm run cy:ui:run --components='component1, component2'
```

или

```sh
npm run cy:web:run-ct-update-diffs --components='component1, component2'
npm run cy:web:update --components='component1, component2'
```

## Commit step
Expand Down
1 change: 0 additions & 1 deletion actions/platform-test/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion actions/platform-test/.npmrc

This file was deleted.

9 changes: 0 additions & 9 deletions actions/platform-test/CHANGELOG.md

This file was deleted.

21 changes: 0 additions & 21 deletions actions/platform-test/LICENSE.txt

This file was deleted.

66 changes: 0 additions & 66 deletions actions/platform-test/README.md

This file was deleted.

Loading
Loading