From 00ce4108ee19efba127401072c172849704fb2a7 Mon Sep 17 00:00:00 2001 From: Maxime GRIS Date: Wed, 12 Aug 2020 22:41:23 +0200 Subject: [PATCH] [Bumped Version] 8.0.3 --- CHANGELOG.md | 5 ++++- README.md | 15 +++++++++++++-- e2e/main.e2e.ts | 4 +--- 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 98fd7d85f..7ca22e6c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ -## 8.0.2 (2020-08-12) +## 8.0.3 (2020-08-12) +* [Bumped Version] 8.0.2 ([84598a5](https://github.com/maximegris/angular-electron/commit/84598a5)) +* fix/ e2e tests with Spectron ([472afc8](https://github.com/maximegris/angular-electron/commit/472afc8)) * fix/ require error with nodeIntegration = false ([61c5c6b](https://github.com/maximegris/angular-electron/commit/61c5c6b)) +* misc/ Upgrade Angular (10.0.9) and Electron (9.2.0) ([e3d2fca](https://github.com/maximegris/angular-electron/commit/e3d2fca)) diff --git a/README.md b/README.md index be8f329ab..ae9613245 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,8 @@ Bootstrap and package your project with Angular 10 and Electron 8 (Typescript + Currently runs with: -- Angular v10.0.7 -- Electron v9.1.2 +- Angular v10.0.9 +- Electron v9.2.0 - Electron Builder v22.8.0 With this sample, you can : @@ -84,6 +84,17 @@ YES! You can do it! Just by importing your library in npm dependencies section ( Maybe you want to execute the application in the browser with hot reload ? Just run `npm run ng:serve:web`. **Note that you can't use Electron or NodeJS native libraries in this case.** Please check `providers/electron.service.ts` to watch how conditional import of electron/Native libraries is done. +# E2E Testing + +E2E Test scripts can be found in `e2e` folder. + +|Command|Description| +|--|--| +|`npm run e2e`| Execute end to end tests | + +Note: To make it work behind a proxy, you can add this proxy exeption in your terminal +`export {no_proxy,NO_PROXY}="127.0.0.1,localhost"` + ## Branch & Packages version - Angular 4 & Electron 1 : Branch [angular4](https://github.com/maximegris/angular-electron/tree/angular4) diff --git a/e2e/main.e2e.ts b/e2e/main.e2e.ts index 780249e18..23cd9cc1f 100644 --- a/e2e/main.e2e.ts +++ b/e2e/main.e2e.ts @@ -9,9 +9,7 @@ describe('angular-electron App', function () { let client: SpectronClient; - beforeEach(async function() { - await this.app.start(); - + beforeEach(function() { client = this.app.client; });