Skip to content

Commit

Permalink
chore: fix vscode-ui-e2e (nrwl#1374)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cammisuli authored Sep 29, 2022
1 parent 6ac520c commit 21c5cc5
Show file tree
Hide file tree
Showing 83 changed files with 330 additions and 545 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
yarn exec nx affected --target=lint --parallel=3 --configuration=ci
yarn exec nx affected --target=test --parallel=3 --configuration=ci
yarn exec nx affected --target=build --parallel=3 --configuration=ci
NX_RUN_GROUP=run-group-e2e-${{ github.run_id}}-${{ github.run_attempt }} yarn exec nx run vscode-e2e:e2e:ci
NX_RUN_GROUP=run-group-e2e-${{ github.run_id}}-${{ github.run_attempt }} yarn exec nx affected --target=e2e --parallel=3 --configuration=ci
final-commands: |
NX_RUN_GROUP=run-group-e2e-${{ github.run_id}}-${{ github.run_attempt }} npx nx-cloud stop-all-agents
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
19 changes: 19 additions & 0 deletions apps/vscode-ui-e2e/cypress.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import { defineConfig } from 'cypress';
import { nxE2EPreset } from '@nrwl/cypress/plugins/cypress-preset';

const cypressJsonConfig = {
fileServerFolder: '.',
video: true,
videosFolder: '../../dist/cypress/apps/vscode-ui-e2e/videos',
screenshotsFolder: '../../dist/cypress/apps/vscode-ui-e2e/screenshots',
chromeWebSecurity: false,
baseUrl: 'http://localhost:4400',
specPattern: 'src/e2e/**/*.cy.{js,jsx,ts,tsx}',
supportFile: 'src/support/e2e.ts',
};
export default defineConfig({
e2e: {
...nxE2EPreset(__dirname),
...cypressJsonConfig,
},
});
Original file line number Diff line number Diff line change
@@ -1,27 +1,29 @@
{
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/vscode-ui-feature-task-execution-form-e2e/src",
"sourceRoot": "apps/vscode-ui-e2e/src",
"projectType": "application",
"targets": {
"e2e": {
"executor": "@nrwl/cypress:cypress",
"options": {
"cypressConfig": "apps/vscode-ui-feature-task-execution-form-e2e/cypress.json",
"tsConfig": "apps/vscode-ui-feature-task-execution-form-e2e/tsconfig.e2e.json",
"devServerTarget": "vscode-ui-feature-task-execution-form:storybook"
"cypressConfig": "apps/vscode-ui-e2e/cypress.config.ts",
"tsConfig": "apps/vscode-ui-e2e/tsconfig.e2e.json",
"devServerTarget": "vscode-ui-feature-task-execution-form:storybook",
"headed": true,
"testingType": "e2e"
},
"configurations": {
"production": {
"devServerTarget": "vscode-ui-feature-task-execution-form:serve:production"
"ci": {
"headed": false
}
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": [
"apps/vscode-ui-feature-task-execution-form-e2e/src/**/*.ts",
"apps/vscode-ui-feature-task-execution-form-e2e/src/**/*.html"
"apps/vscode-ui-e2e/src/**/*.ts",
"apps/vscode-ui-e2e/src/**/*.html"
]
}
}
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"sourceMap": false,
"outDir": "../../dist/out-tsc"
},
"include": ["src/**/*.ts", "src/**/*.js"]
"include": ["src/**/*.ts", "src/**/*.js", "cypress.config.ts"]
}
File renamed without changes.
12 changes: 0 additions & 12 deletions apps/vscode-ui-feature-task-execution-form-e2e/cypress.json

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

3 changes: 3 additions & 0 deletions libs/vscode-ui/feature-task-execution-form/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
"outputDir": "dist/storybook/vscode-ui-feature-task-execution-form",
"configDir": "libs/vscode-ui/feature-task-execution-form/.storybook",
"browserTarget": "vscode-ui-feature-task-execution-form:build-storybook",
"stylePreprocessorOptions": {
"includePaths": ["libs/vscode-ui/styles/src/lib"]
},
"compodoc": false
},
"configurations": {
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"@angular-eslint/eslint-plugin-template": "14.0.0",
"@angular-eslint/template-parser": "14.0.0",
"@angular/cdk": "14.1.3",
"@angular/cli": "14.1.3",
"@angular/common": "14.1.3",
"@angular/compiler": "14.1.3",
"@angular/compiler-cli": "14.1.3",
Expand Down Expand Up @@ -83,7 +84,7 @@
"@wdio/mocha-framework": "^7.24.0",
"@wdio/spec-reporter": "^7.24.0",
"@yarnpkg/pnp": "^3.1.1-rc.12",
"cypress": "6.5.0",
"cypress": "^10.2.0",
"esbuild": "^0.14.54",
"esbuild-copy-files-plugin": "^1.1.0",
"eslint": "8.15.0",
Expand Down
2 changes: 1 addition & 1 deletion workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"vscode-ui": "apps/vscode-ui",
"vscode-ui-argument-list": "libs/vscode-ui/argument-list",
"vscode-ui-components": "libs/vscode-ui/components",
"vscode-ui-e2e": "apps/vscode-ui-e2e",
"vscode-ui-feature-task-execution-form": "libs/vscode-ui/feature-task-execution-form",
"vscode-ui-feature-task-execution-form-e2e": "apps/vscode-ui-feature-task-execution-form-e2e",
"vscode-ui-styles": "libs/vscode-ui/styles",
"vscode-utils": "libs/vscode/utils",
"vscode-verify": "libs/vscode/verify",
Expand Down
Loading

0 comments on commit 21c5cc5

Please sign in to comment.