Skip to content

Commit bb1f72a

Browse files
Fix failing visual tests (#735)
* fix some tests, add vt to tests * test: update visual tests to screenshot .main-content instead of documentation component * test: add some waitUntil to avoid test problems * test: update screenshots * test: update screenshots * build: static windows and macos versions * test: add some waitUntils * test: update screenshots * test: revert to screenshotting documentation element * test: screenshot body instead of documentation element * test: update screenshots * test: update screenshots * test: scroll to top before taking screenshots * test: fix some timeouts * test: adding more waitUntil because we love them * test: do not test scroll for endpoint and operation * test: add awaits * test: update screenshots
1 parent acfed89 commit bb1f72a

File tree

1,020 files changed

+53
-17
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,020 files changed

+53
-17
lines changed

.github/workflows/deployment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
strategy:
2222
fail-fast: false
2323
matrix:
24-
os: [ubuntu-20.04, windows-latest, macos-latest]
24+
os: [ubuntu-20.04, windows-2019, macos-10.15]
2525
runs-on: ${{ matrix.os }}
2626
steps:
2727
- uses: actions/checkout@v2

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
"format:eslint": "eslint --ext .js,.html . --fix --ignore-path .gitignore",
9898
"lint": "npm run lint:eslint",
9999
"format": "npm run format:eslint",
100-
"test": "web-test-runner test/*.test.js --coverage --node-resolve --playwright --browsers chromium firefox webkit",
100+
"test": "web-test-runner test/*.test.js --coverage --node-resolve --playwright --browsers chromium firefox webkit && npm run test:visual",
101101
"test:visual": "web-test-runner test/visual/*.test.js --coverage --node-resolve --playwright --browsers chromium firefox webkit",
102102
"test:watch": "web-test-runner test/*.test.js --node-resolve --watch",
103103
"test:visual:update": "web-test-runner test/**/*.test.js --coverage --node-resolve --playwright --browsers chromium firefox webkit --update-visual-baseline\n",
15.5 KB
2.2 KB
35.5 KB
1.22 KB
17.7 KB
1.62 KB
15.7 KB

0 commit comments

Comments
 (0)