Skip to content

Commit 5d57305

Browse files
henrikgrubbeHenrik Herbst Grubbevlio20
authored
Feature/angular 17 (#640)
* Update to angular 17 * Update peer dependencies * fixing e2e * chrome version * moving to playwrite 1 * playwright 2 * playwright 3 * playwrite 4 * playwrite 5 * playwrite 6 * playwrite 7 * playwrite 7 * playwrite 8 * playwrite 9 * playwrite 10 * playwrite 11 * playwrite 12 * playwrite 13 * playwrite 14 * playwrite 15 * changelog update --------- Co-authored-by: Henrik Herbst Grubbe <hhb@bankdata.dk> Co-authored-by: Vlad Ioffe <vlio20@gmail.com>
1 parent 8df2948 commit 5d57305

28 files changed

+7001
-5508
lines changed

.github/workflows/test.yaml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,14 @@ name: CI
22

33
on: [pull_request]
44

5+
env:
6+
CI: true
7+
58
jobs:
69
build:
710
runs-on: ubuntu-latest
811

912
steps:
10-
- name: Chrome Update
11-
run: |
12-
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
13-
echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list
14-
sudo apt-get update
15-
sudo apt-get install google-chrome-stable
16-
google-chrome --version
17-
1813
- uses: actions/checkout@v2
1914

2015
- name: Cache node modules
@@ -33,14 +28,17 @@ jobs:
3328
- name: install deps
3429
run: npm ci
3530

31+
- name: Install Playwright Browsers
32+
run: npx playwright install --with-deps
33+
3634
- name: run lint
3735
run: npm run lint
3836

3937
- name: run unit tests
4038
run: npm run test:ci
4139

42-
- name: run tests
43-
run: npm run e2e:headless
40+
- name: run e2e tests
41+
run: npm run e2e
4442

4543
- name: run build test
4644
run: npm run build:demo

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,7 @@ Thumbs.db
3838

3939
dist
4040
bin.tgz
41+
/test-results/
42+
/playwright-report/
43+
/blob-report/
44+
/playwright/.cache/

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
33

4+
# [17.0.0] (2023-12-10)
5+
6+
### Improvements
7+
- Update to Angular 17 ([640](https://github.com/vlio20/angular-datepicker/pull/640)) closes [#638](https://github.com/vlio20/angular-datepicker/issues/638) - PR by [@henrikgrubbe](https://github.com/henrikgrubbe)
8+
- Move from protractor to Playwrite ([640](https://github.com/vlio20/angular-datepicker/pull/640)) closes [#554](https://github.com/vlio20/angular-datepicker/issues/554)
9+
10+
411
# [16.0.0] (2023-05-20)
512

613
### Improvements

angular.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,18 +60,18 @@
6060
"serve": {
6161
"builder": "@angular-devkit/build-angular:dev-server",
6262
"options": {
63-
"browserTarget": "ng2-date-picker-demo:build"
63+
"buildTarget": "ng2-date-picker-demo:build"
6464
},
6565
"configurations": {
6666
"production": {
67-
"browserTarget": "ng2-date-picker-demo:build:production"
67+
"buildTarget": "ng2-date-picker-demo:build:production"
6868
}
6969
}
7070
},
7171
"extract-i18n": {
7272
"builder": "@angular-devkit/build-angular:extract-i18n",
7373
"options": {
74-
"browserTarget": "ng2-date-picker-demo:build"
74+
"buildTarget": "ng2-date-picker-demo:build"
7575
}
7676
},
7777
"test": {

0 commit comments

Comments
 (0)