Commit d96432e
authored
[test] Add testing for v1 and v2 (#41)
### TL;DR
Added matrix testing for multiple Streamlit versions and updated Playwright tests to support both Custom Component v1 and v2 APIs.
### What changed?
- Modified the GitHub workflow to test against both Streamlit 1.50.0 and the latest version
- Updated the Playwright test framework to detect and handle both Custom Component v1 and v2 APIs
- Added new snapshot references for v2 API rendering
- Enhanced test selectors to work with both iframe-based (v1) and inline (v2) component rendering1 parent c33bf59 commit d96432e
File tree
100 files changed
+67
-54
lines changed- .github/workflows
- e2e_playwright
- __snapshots__/linux/bokeh_chart_basics_test
- streamlit_bokeh
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
100 files changed
+67
-54
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
24 | 28 | | |
25 | 29 | | |
26 | 30 | | |
| |||
32 | 36 | | |
33 | 37 | | |
34 | 38 | | |
35 | | - | |
| 39 | + | |
36 | 40 | | |
37 | 41 | | |
38 | 42 | | |
39 | 43 | | |
40 | | - | |
| 44 | + | |
41 | 45 | | |
42 | 46 | | |
43 | 47 | | |
| |||
46 | 50 | | |
47 | 51 | | |
48 | 52 | | |
49 | | - | |
50 | | - | |
51 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
52 | 56 | | |
53 | 57 | | |
54 | 58 | | |
| |||
88 | 92 | | |
89 | 93 | | |
90 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
91 | 100 | | |
92 | 101 | | |
93 | 102 | | |
| |||
98 | 107 | | |
99 | 108 | | |
100 | 109 | | |
101 | | - | |
| 110 | + | |
102 | 111 | | |
0 commit comments