Browse Source

Remove e2e tests

There are no plans to actually implement any end-to-end tests for the applications in this explorartion project, so the skeleton *-e2e applications are being removed.
tags/part_1
Kevin C. Coram 1 year ago
parent
commit
e26b48010d
Signed by: kevin GPG Key ID: 0342351B3D61AD35
32 changed files with 0 additions and 405 deletions
  1. +0
    -81
      angular.json
  2. +0
    -11
      apps/baseline-e2e/cypress.json
  3. +0
    -4
      apps/baseline-e2e/src/fixtures/example.json
  4. +0
    -9
      apps/baseline-e2e/src/integration/app.spec.ts
  5. +0
    -22
      apps/baseline-e2e/src/plugins/index.js
  6. +0
    -1
      apps/baseline-e2e/src/support/app.po.ts
  7. +0
    -25
      apps/baseline-e2e/src/support/commands.ts
  8. +0
    -17
      apps/baseline-e2e/src/support/index.ts
  9. +0
    -8
      apps/baseline-e2e/tsconfig.e2e.json
  10. +0
    -7
      apps/baseline-e2e/tsconfig.json
  11. +0
    -1
      apps/baseline-e2e/tslint.json
  12. +0
    -11
      apps/global-form-e2e/cypress.json
  13. +0
    -4
      apps/global-form-e2e/src/fixtures/example.json
  14. +0
    -9
      apps/global-form-e2e/src/integration/app.spec.ts
  15. +0
    -22
      apps/global-form-e2e/src/plugins/index.js
  16. +0
    -1
      apps/global-form-e2e/src/support/app.po.ts
  17. +0
    -25
      apps/global-form-e2e/src/support/commands.ts
  18. +0
    -17
      apps/global-form-e2e/src/support/index.ts
  19. +0
    -8
      apps/global-form-e2e/tsconfig.e2e.json
  20. +0
    -7
      apps/global-form-e2e/tsconfig.json
  21. +0
    -1
      apps/global-form-e2e/tslint.json
  22. +0
    -11
      apps/parent-form-e2e/cypress.json
  23. +0
    -4
      apps/parent-form-e2e/src/fixtures/example.json
  24. +0
    -9
      apps/parent-form-e2e/src/integration/app.spec.ts
  25. +0
    -22
      apps/parent-form-e2e/src/plugins/index.js
  26. +0
    -1
      apps/parent-form-e2e/src/support/app.po.ts
  27. +0
    -25
      apps/parent-form-e2e/src/support/commands.ts
  28. +0
    -17
      apps/parent-form-e2e/src/support/index.ts
  29. +0
    -8
      apps/parent-form-e2e/tsconfig.e2e.json
  30. +0
    -7
      apps/parent-form-e2e/tsconfig.json
  31. +0
    -1
      apps/parent-form-e2e/tslint.json
  32. +0
    -9
      nx.json

+ 0
- 81
angular.json View File

@@ -114,33 +114,6 @@
}
}
},
"parent-form-e2e": {
"root": "apps/parent-form-e2e",
"sourceRoot": "apps/parent-form-e2e/src",
"projectType": "application",
"architect": {
"e2e": {
"builder": "@nrwl/cypress:cypress",
"options": {
"cypressConfig": "apps/parent-form-e2e/cypress.json",
"tsConfig": "apps/parent-form-e2e/tsconfig.e2e.json",
"devServerTarget": "parent-form:serve"
},
"configurations": {
"production": {
"devServerTarget": "parent-form:serve:production"
}
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": ["apps/parent-form-e2e/tsconfig.e2e.json"],
"exclude": ["**/node_modules/**", "!apps/parent-form-e2e/**"]
}
}
}
},
"global-form": {
"projectType": "application",
"schematics": {},
@@ -228,33 +201,6 @@
}
}
},
"global-form-e2e": {
"root": "apps/global-form-e2e",
"sourceRoot": "apps/global-form-e2e/src",
"projectType": "application",
"architect": {
"e2e": {
"builder": "@nrwl/cypress:cypress",
"options": {
"cypressConfig": "apps/global-form-e2e/cypress.json",
"tsConfig": "apps/global-form-e2e/tsconfig.e2e.json",
"devServerTarget": "global-form:serve"
},
"configurations": {
"production": {
"devServerTarget": "global-form:serve:production"
}
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": ["apps/global-form-e2e/tsconfig.e2e.json"],
"exclude": ["**/node_modules/**", "!apps/global-form-e2e/**"]
}
}
}
},
"baseline": {
"projectType": "application",
"schematics": {},
@@ -341,33 +287,6 @@
}
}
}
},
"baseline-e2e": {
"root": "apps/baseline-e2e",
"sourceRoot": "apps/baseline-e2e/src",
"projectType": "application",
"architect": {
"e2e": {
"builder": "@nrwl/cypress:cypress",
"options": {
"cypressConfig": "apps/baseline-e2e/cypress.json",
"tsConfig": "apps/baseline-e2e/tsconfig.e2e.json",
"devServerTarget": "baseline:serve"
},
"configurations": {
"production": {
"devServerTarget": "baseline:serve:production"
}
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": ["apps/baseline-e2e/tsconfig.e2e.json"],
"exclude": ["**/node_modules/**", "!apps/baseline-e2e/**"]
}
}
}
}
},
"cli": {


+ 0
- 11
apps/baseline-e2e/cypress.json View File

@@ -1,11 +0,0 @@
{
"fileServerFolder": ".",
"fixturesFolder": "./src/fixtures",
"integrationFolder": "./src/integration",
"pluginsFile": "./src/plugins/index",
"supportFile": false,
"video": true,
"videosFolder": "../../dist/cypress/apps/baseline-e2e/videos",
"screenshotsFolder": "../../dist/cypress/apps/baseline-e2e/screenshots",
"chromeWebSecurity": false
}

+ 0
- 4
apps/baseline-e2e/src/fixtures/example.json View File

@@ -1,4 +0,0 @@
{
"name": "Using fixtures to represent data",
"email": "hello@cypress.io"
}

+ 0
- 9
apps/baseline-e2e/src/integration/app.spec.ts View File

@@ -1,9 +0,0 @@
import { getGreeting } from '../support/app.po';

describe('baseline', () => {
beforeEach(() => cy.visit('/'));

it('should display welcome message', () => {
getGreeting().contains('Welcome to baseline!');
});
});

+ 0
- 22
apps/baseline-e2e/src/plugins/index.js View File

@@ -1,22 +0,0 @@
// ***********************************************************
// This example plugins/index.js can be used to load plugins
//
// You can change the location of this file or turn off loading
// the plugins file with the 'pluginsFile' configuration option.
//
// You can read more here:
// https://on.cypress.io/plugins-guide
// ***********************************************************

// This function is called when a project is opened or re-opened (e.g. due to
// the project's config changing)

const { preprocessTypescript } = require('@nrwl/cypress/plugins/preprocessor');

module.exports = (on, config) => {
// `on` is used to hook into various events Cypress emits
// `config` is the resolved Cypress config

// Preprocess Typescript
on('file:preprocessor', preprocessTypescript(config));
};

+ 0
- 1
apps/baseline-e2e/src/support/app.po.ts View File

@@ -1 +0,0 @@
export const getGreeting = () => cy.get('h1');

+ 0
- 25
apps/baseline-e2e/src/support/commands.ts View File

@@ -1,25 +0,0 @@
// ***********************************************
// This example commands.js shows you how to
// create various custom commands and overwrite
// existing commands.
//
// For more comprehensive examples of custom
// commands please read more here:
// https://on.cypress.io/custom-commands
// ***********************************************
//
//
// -- This is a parent command --
// Cypress.Commands.add("login", (email, password) => { ... })
//
//
// -- This is a child command --
// Cypress.Commands.add("drag", { prevSubject: 'element'}, (subject, options) => { ... })
//
//
// -- This is a dual command --
// Cypress.Commands.add("dismiss", { prevSubject: 'optional'}, (subject, options) => { ... })
//
//
// -- This will overwrite an existing command --
// Cypress.Commands.overwrite("visit", (originalFn, url, options) => { ... })

+ 0
- 17
apps/baseline-e2e/src/support/index.ts View File

@@ -1,17 +0,0 @@
// ***********************************************************
// This example support/index.js is processed and
// loaded automatically before your test files.
//
// This is a great place to put global configuration and
// behavior that modifies Cypress.
//
// You can change the location of this file or turn off
// automatically serving support files with the
// 'supportFile' configuration option.
//
// You can read more here:
// https://on.cypress.io/configuration
// ***********************************************************

// Import commands.js using ES2015 syntax:
import './commands';

+ 0
- 8
apps/baseline-e2e/tsconfig.e2e.json View File

@@ -1,8 +0,0 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"sourceMap": false,
"outDir": "../../dist/out-tsc"
},
"include": ["src/**/*.ts"]
}

+ 0
- 7
apps/baseline-e2e/tsconfig.json View File

@@ -1,7 +0,0 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"types": ["cypress", "node"]
},
"include": ["**/*.ts"]
}

+ 0
- 1
apps/baseline-e2e/tslint.json View File

@@ -1 +0,0 @@
{ "extends": "../../tslint.json", "rules": [] }

+ 0
- 11
apps/global-form-e2e/cypress.json View File

@@ -1,11 +0,0 @@
{
"fileServerFolder": ".",
"fixturesFolder": "./src/fixtures",
"integrationFolder": "./src/integration",
"pluginsFile": "./src/plugins/index",
"supportFile": false,
"video": true,
"videosFolder": "../../dist/cypress/apps/global-form-e2e/videos",
"screenshotsFolder": "../../dist/cypress/apps/global-form-e2e/screenshots",
"chromeWebSecurity": false
}

+ 0
- 4
apps/global-form-e2e/src/fixtures/example.json View File

@@ -1,4 +0,0 @@
{
"name": "Using fixtures to represent data",
"email": "hello@cypress.io"
}

+ 0
- 9
apps/global-form-e2e/src/integration/app.spec.ts View File

@@ -1,9 +0,0 @@
import { getGreeting } from '../support/app.po';

describe('global-form', () => {
beforeEach(() => cy.visit('/'));

it('should display welcome message', () => {
getGreeting().contains('Welcome to global-form!');
});
});

+ 0
- 22
apps/global-form-e2e/src/plugins/index.js View File

@@ -1,22 +0,0 @@
// ***********************************************************
// This example plugins/index.js can be used to load plugins
//
// You can change the location of this file or turn off loading
// the plugins file with the 'pluginsFile' configuration option.
//
// You can read more here:
// https://on.cypress.io/plugins-guide
// ***********************************************************

// This function is called when a project is opened or re-opened (e.g. due to
// the project's config changing)

const { preprocessTypescript } = require('@nrwl/cypress/plugins/preprocessor');

module.exports = (on, config) => {
// `on` is used to hook into various events Cypress emits
// `config` is the resolved Cypress config

// Preprocess Typescript
on('file:preprocessor', preprocessTypescript(config));
};

+ 0
- 1
apps/global-form-e2e/src/support/app.po.ts View File

@@ -1 +0,0 @@
export const getGreeting = () => cy.get('h1');

+ 0
- 25
apps/global-form-e2e/src/support/commands.ts View File

@@ -1,25 +0,0 @@
// ***********************************************
// This example commands.js shows you how to
// create various custom commands and overwrite
// existing commands.
//
// For more comprehensive examples of custom
// commands please read more here:
// https://on.cypress.io/custom-commands
// ***********************************************
//
//
// -- This is a parent command --
// Cypress.Commands.add("login", (email, password) => { ... })
//
//
// -- This is a child command --
// Cypress.Commands.add("drag", { prevSubject: 'element'}, (subject, options) => { ... })
//
//
// -- This is a dual command --
// Cypress.Commands.add("dismiss", { prevSubject: 'optional'}, (subject, options) => { ... })
//
//
// -- This will overwrite an existing command --
// Cypress.Commands.overwrite("visit", (originalFn, url, options) => { ... })

+ 0
- 17
apps/global-form-e2e/src/support/index.ts View File

@@ -1,17 +0,0 @@
// ***********************************************************
// This example support/index.js is processed and
// loaded automatically before your test files.
//
// This is a great place to put global configuration and
// behavior that modifies Cypress.
//
// You can change the location of this file or turn off
// automatically serving support files with the
// 'supportFile' configuration option.
//
// You can read more here:
// https://on.cypress.io/configuration
// ***********************************************************

// Import commands.js using ES2015 syntax:
import './commands';

+ 0
- 8
apps/global-form-e2e/tsconfig.e2e.json View File

@@ -1,8 +0,0 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"sourceMap": false,
"outDir": "../../dist/out-tsc"
},
"include": ["src/**/*.ts"]
}

+ 0
- 7
apps/global-form-e2e/tsconfig.json View File

@@ -1,7 +0,0 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"types": ["cypress", "node"]
},
"include": ["**/*.ts"]
}

+ 0
- 1
apps/global-form-e2e/tslint.json View File

@@ -1 +0,0 @@
{ "extends": "../../tslint.json", "rules": [] }

+ 0
- 11
apps/parent-form-e2e/cypress.json View File

@@ -1,11 +0,0 @@
{
"fileServerFolder": ".",
"fixturesFolder": "./src/fixtures",
"integrationFolder": "./src/integration",
"pluginsFile": "./src/plugins/index",
"supportFile": false,
"video": true,
"videosFolder": "../../dist/cypress/apps/parent-form-e2e/videos",
"screenshotsFolder": "../../dist/cypress/apps/parent-form-e2e/screenshots",
"chromeWebSecurity": false
}

+ 0
- 4
apps/parent-form-e2e/src/fixtures/example.json View File

@@ -1,4 +0,0 @@
{
"name": "Using fixtures to represent data",
"email": "hello@cypress.io"
}

+ 0
- 9
apps/parent-form-e2e/src/integration/app.spec.ts View File

@@ -1,9 +0,0 @@
import { getGreeting } from '../support/app.po';

describe('parent-form', () => {
beforeEach(() => cy.visit('/'));

it('should display welcome message', () => {
getGreeting().contains('Welcome to parent-form!');
});
});

+ 0
- 22
apps/parent-form-e2e/src/plugins/index.js View File

@@ -1,22 +0,0 @@
// ***********************************************************
// This example plugins/index.js can be used to load plugins
//
// You can change the location of this file or turn off loading
// the plugins file with the 'pluginsFile' configuration option.
//
// You can read more here:
// https://on.cypress.io/plugins-guide
// ***********************************************************

// This function is called when a project is opened or re-opened (e.g. due to
// the project's config changing)

const { preprocessTypescript } = require('@nrwl/cypress/plugins/preprocessor');

module.exports = (on, config) => {
// `on` is used to hook into various events Cypress emits
// `config` is the resolved Cypress config

// Preprocess Typescript
on('file:preprocessor', preprocessTypescript(config));
};

+ 0
- 1
apps/parent-form-e2e/src/support/app.po.ts View File

@@ -1 +0,0 @@
export const getGreeting = () => cy.get('h1');

+ 0
- 25
apps/parent-form-e2e/src/support/commands.ts View File

@@ -1,25 +0,0 @@
// ***********************************************
// This example commands.js shows you how to
// create various custom commands and overwrite
// existing commands.
//
// For more comprehensive examples of custom
// commands please read more here:
// https://on.cypress.io/custom-commands
// ***********************************************
//
//
// -- This is a parent command --
// Cypress.Commands.add("login", (email, password) => { ... })
//
//
// -- This is a child command --
// Cypress.Commands.add("drag", { prevSubject: 'element'}, (subject, options) => { ... })
//
//
// -- This is a dual command --
// Cypress.Commands.add("dismiss", { prevSubject: 'optional'}, (subject, options) => { ... })
//
//
// -- This will overwrite an existing command --
// Cypress.Commands.overwrite("visit", (originalFn, url, options) => { ... })

+ 0
- 17
apps/parent-form-e2e/src/support/index.ts View File

@@ -1,17 +0,0 @@
// ***********************************************************
// This example support/index.js is processed and
// loaded automatically before your test files.
//
// This is a great place to put global configuration and
// behavior that modifies Cypress.
//
// You can change the location of this file or turn off
// automatically serving support files with the
// 'supportFile' configuration option.
//
// You can read more here:
// https://on.cypress.io/configuration
// ***********************************************************

// Import commands.js using ES2015 syntax:
import './commands';

+ 0
- 8
apps/parent-form-e2e/tsconfig.e2e.json View File

@@ -1,8 +0,0 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"sourceMap": false,
"outDir": "../../dist/out-tsc"
},
"include": ["src/**/*.ts"]
}

+ 0
- 7
apps/parent-form-e2e/tsconfig.json View File

@@ -1,7 +0,0 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"types": ["cypress", "node"]
},
"include": ["**/*.ts"]
}

+ 0
- 1
apps/parent-form-e2e/tslint.json View File

@@ -1 +0,0 @@
{ "extends": "../../tslint.json", "rules": [] }

+ 0
- 9
nx.json View File

@@ -11,21 +11,12 @@
"contact": {
"tags": []
},
"parent-form-e2e": {
"tags": []
},
"parent-form": {
"tags": []
},
"global-form-e2e": {
"tags": []
},
"global-form": {
"tags": []
},
"baseline-e2e": {
"tags": []
},
"baseline": {
"tags": []
}


Loading…
Cancel
Save