- #136
Note about resilient E2E testing cross teams
Notes on the team’s ideas and evaluation for introducing automated testing
- Background:A lot of time needs to be spent on manual testing, and existing tests cannot be applied immediately.
- Problems:
- Manual testing is time-consuming and costly
- Relies on individuals’ understanding of the product for testing
- Automated testing usually requires writing code
- The old UI is planned to be replaced in the future; if tests are tightly coupled to the implementation that will be a problem (but the replacement may be a long way off)
- Solutions:
- Let AI automate tests
- Make testers and developers jointly build specifications together
- Describe specifications in natural language
Describe specs in natural language and have AI handle test execution. ByteDance’s open-source AI testing tool: Midscene.js seems worth trying.
-
RD’s direction:
- How to build a proper test environment? (login state, DB Seed)
- Execute tests in JS
- CI automated verification
- Use local models to reduce latency and cost
-
Testers’ direction:
- Try the Chrome extension first to get a feel for it
- Write test specs using YAML; maybe create a repo to centrally manage specs
-
Experiment: as in the video, use their CLI + configure the gemini-3.1-flash-lite-preview model + cache.
-
Conclusion: The fastest way to adopt it is probably to use the existing test environment directly, log into the local browser to obtain the session, then execute the test specs via Bridge Mode.
- #135
- #134
- #133
- #132
- #131
- #130
- #129
- #128
- #127
- #126
- #125
- #124
- #123
- #122
- #121
- #120
- #119
- #118
- #117
- #116
- #115
- #114
- #113
- #112
- #111
- #110
- #109
- #108
- #107
- #106
- #105
- #104
- #103
- #102
- #101
- #100
- #99
- #98
- #97
- #96
- #95
- #94
- #93
- #92
- #91
- #90
- #89
- #88
- #87
- #86
- #85
- #84
- #83
- #82
- #81
- #80
- #79
- #78
- #77
- #76
- #75
- #74
- #73
- #72
- #71
- #70
- #69
- #68
- #67
- #66
- #65
- #64
- #63
- #62
- #61
- #60
- #59
- #58
- #57
- #56
- #55
- #54
- #53
- #52
- #51
- #50
- #49
- #48
- #47
- #46
- #45
- #44
- #43
- #42
- #41
- #40
- #39
- #38
- #37
- #36
- #35
- #34
- #33
- #32
- #31
- #30
- #29
- #28
- #27
- #26
- #25
- #24
- #23
- #22
- #21
- #20
- #19
- #18
- #17
- #16
- #15
- #14
- #13
- #12
- #11
- #10
- #9
- #8
- #7
- #6
- #5
- #4
- #3
- #2
- #1