Skip to content

Commit 6ac0d7b

Browse files
committed
drop 375px percy snapshot
1 parent e5b8899 commit 6ac0d7b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ This project adheres to [Semantic Versioning](https://semver.org/).
44

55
## [Unreleased]
66

7+
### Changed
8+
9+
- [#2016](https://github.com/plotly/dash/pull/2016) Drop the 375px width from default percy_snapshot calls, keep only 1280px
10+
711
### Updated
812
- [#2016](https://github.com/plotly/dash/pull/2016) Widespread dependency upgrades
913
- Upgrade Plotly.js to v2.11.1 (from v2.11.0). Patch release [2.11.1](https://github.com/plotly/plotly.js/releases/tag/v2.11.1) fixes regl-based traces in strict CSP mode, however you must manually switch to the strict bundle to use this.

dash/testing/browser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,10 @@ def percy_snapshot(
148148
- widths: a list of pixel widths for percy to render the page with. Note
149149
that this does not change the browser in which the DOM is constructed,
150150
so the width will only affect CSS, not JS-driven layout.
151-
Defaults to [375, 1280]
151+
Defaults to [1280]
152152
"""
153153
if widths is None:
154-
widths = [375, 1280]
154+
widths = [1280]
155155
snapshot_name = f"{name} - py{sys.version_info.major}.{sys.version_info.minor}"
156156
logger.info("taking snapshot name => %s", snapshot_name)
157157
try:

0 commit comments

Comments
 (0)