= Session=
* Track: Testing
* Topic: System level testing: patterns and antipatterns with Selenium
* Scheduled for [[ https://www.mediawiki.org/wiki/Wikimedia_Technical_Conference/2019/Program#Day_1_-_Tuesday_November_12th | Day 1 - Tuesday November 12th ]] 14:45-15:30 (45 minutes)
=Description=
Testing at the system level is fraught with unforeseen issues. This session is an overview of the current system level testing framework with a focus on anti-patterns and patterns to follow.
=Questions to answer and discuss=
**Question:** Should a repository have as little as possible or as much as possible Selenium tests?
**Significance:** Not enough tests means critical bugs might be missed. Many tests require a lot of maintenance.
**Question:** Is page object pattern useful?
**Significance:** It's another layer of complexity. Does it have a positive impact, or just complicates things.
**Question:** Should the API be used to speed up tests and make them more robust?
**Significance:**
= Related Issues =
* {T223625}
* ...
=Pre-reading for all Participants=
* https://www.mediawiki.org/wiki/Selenium/Node.js
* https://www.mediawiki.org/wiki/Selenium/Node.js/Stack#Page_object
* https://www.mediawiki.org/wiki/Selenium/Node.js/MediaWiki_API
----
=Notes document(s)=
https://etherpad.wikimedia.org/p/WMTC19-T234635
=Notes and Facilitation guidance=
https://www.mediawiki.org/wiki/Wikimedia_Technical_Conference/2019/NotesandFacilitation
----
=Session Leader(s)=
* @zeljkofilipin
* @Krinkle
=Session Scribes=
* [name]
* [name]
=Session Facilitator=
* @Jdforrester-WMF
=Session Style / Format=
* [what type of format will this session be?]
----
**Session Leaders** please:
[] Add more details to this task description.
[] Coordinate any pre-event discussions (here on Phab, IRC, email, hangout, etc).
[] Outline the plan for discussing this topic at the event.
[] Optionally, include what this session will //not// try to solve.
[] Update this task with summaries of any pre-event discussions.
[] Include ways for people not attending to be involved in discussions before the event and afterwards.
----
Post-event summary:
* ...
Post-event action items:
* ...