Skip to content

Commit

Permalink
Try to reduce test complexity to see what's wrong (#34)
Browse files Browse the repository at this point in the history
* Try to reduce test complexity to see what's wrong

* Fix error message and warning

* Reduce test even more

* Attempt different zoom

* Another attempt...

* move language switch to be last

* Ignore logs on first test

* Do not use logs at all

* Missing comment

* Revert changes

* Ignore console warning

* Update browserlist to remove IE 11 warning

* Fix typo?

* Ignore GPU warning in first test

* Revert CI to bring back lint and unit tests
  • Loading branch information
HarelM authored Jan 25, 2022
1 parent 8dabb42 commit 8d518ff
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
architecture: x64

- name: Prepare
run: npm install
run: npm ci

- name: Build
run: npm run build
Expand Down
6 changes: 2 additions & 4 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@
"scripts": [
"node_modules/marked/lib/marked.js",
"node_modules/prismjs/prism.js"
],
"showCircularDependencies": false
]
},
"configurations": {
"production": {
Expand All @@ -94,8 +93,7 @@
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"showCircularDependencies": false
"buildOptimizer": true
}
}
},
Expand Down
1 change: 1 addition & 0 deletions projects/showcase-e2e/src/language-switch.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ describe('Language switch', () => {

beforeEach(() => {
logs = browserLogs(browser);
logs.ignore(logs.WARNING);
});

afterEach(() => {
Expand Down
11 changes: 6 additions & 5 deletions projects/showcase/.browserslistrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# This file is currently used by autoprefixer to adjust CSS to support the below specified browsers
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries
# For IE 9-11 support, please uncomment the last line of the file and adjust as needed
> 0.5%
last 2 versions
last 1 Chrome version
last 1 Firefox version
last 2 Edge major versions
last 2 Safari major versions
last 2 iOS major versions
Firefox ESR
not dead
# IE 9-11
not IE 11 # Angular supports IE 11 only as an opt-in. To opt-in, remove the 'not' prefix on this line.

0 comments on commit 8d518ff

Please sign in to comment.