The client is described by industry and scale, without a name. KPI figures are targets agreed with the client after a baseline measurement.
In brief
- Problem
- Manual regression takes several days and ties up testers from many teams, so releases slip or ship with a reduced test scope.
- Approach
- We propose a single shared framework for all teams, with a step library that speaks the language of the domain (log in, place a transfer, block a card).
- Goal
- Full regression time: from days to hours, target ≤ 8 h; Share of automated regression cases: ≥ 70% of critical paths.
Client context
The Polish banking sector is highly digitized and at the same time operates under strict supervision by the KNF (Polish Financial Supervision Authority). Every change to a system used by customers must go through change control, testing and an acceptance process that can be shown to an auditor. The client is a retail bank whose mobile app is the main channel of contact with customers. Releases every two weeks, with a dozen or so product teams working on a single app.
Challenge
Manual regression takes several days and ties up testers from many teams, so releases slip or ship with a reduced test scope. There is no consistent framework: each team automates in its own way, and some tests have been failing for months.
Requirements and constraints
- Recommendation D of the KNF sets out the supervisor's expectations for managing information technology and the security of the ICT environment in banks: separation of environments, change control, access management and business continuity. Every change in the system must go through a test and acceptance path that can be shown to an auditor. (source)
- PSD2 and the RTS on strong customer authentication (SCA) require strong customer authentication, secure interfaces for third-party providers (TPPs) and transaction monitoring for fraud. Every change to a payment path requires tests of SCA exemptions and of API availability compliance. (source)
- The European Accessibility Act (Directive 2019/882) and the Polish act on ensuring accessibility requirements have applied since June 28, 2025 to, among others, consumer banking, e-commerce and communications services. Digital channels must meet accessibility requirements, and failing to do so means a risk of fines and inspections by the market surveillance authority. (source)
- GDPR, Regulation (EU) 2016/679, requires data minimization, a legal basis for processing, processing agreements and, for high-risk processing, an impact assessment (DPIA). In practice it rules out copying production data into test environments without anonymization or pseudonymization. (source)
- Project constraints: work only on anonymized or synthetic data outside production, access to systems through the client's infrastructure, every deliverable handed over with documentation the client's team can take over.
Approach and architecture
We build automation following the test pyramid: the most tests at the unit and API level, fewer at the UI level, and end-to-end scenarios only for critical business paths. The framework is built as a product (with code reviews, versioning and documentation) and runs in the CI pipeline from the first sprint, so the development team gets feedback in minutes, not after a week.
We propose a single shared framework for all teams, with a step library that speaks the language of the domain (log in, place a transfer, block a card). Tests run on a device farm with real phones and emulators, and the suites are split into smoke (on every merge), regression (nightly) and full (before release). Product teams add tests on their own, while our team maintains the core of the framework.
Key elements of the solution:
- Appium + Kotlin framework using the Screenplay pattern
- Device farm: real devices running popular OS versions, plus emulators
- API tests as a data preparation layer
- Test stability trend report for each team
Team and roles
| Role | Count | Responsibility |
|---|---|---|
| QA lead | 1 | organizing the testers' work, case reviews, defect metrics |
| Test automation engineer | 4 | framework, scripts, CI integration |
| Test analyst (ISTQB) | 1 | designing and executing cases, reporting defects |
| DevOps engineer | 1 | CI/CD pipeline, infrastructure as code |
| Product owner and domain experts (client side) | as needed | priorities, business decisions, acceptance |
Phased schedule
| Phase | Weeks | Deliverable |
|---|---|---|
| 1. Regression audit and candidate selection | 1–3 | automation map, cost-benefit analysis |
| 2. Framework build and CI integration | 4–8 | framework, pipeline, test code standard |
| 3. Automation of critical paths | 9–16 | smoke and regression suites |
| 4. Stabilization and reporting | 17–21 | quality dashboard, quarantine for flaky tests |
| 5. Handover and team training | 22–24 | documentation, workshops, maintenance plan |
Technology stack
Appium, Kotlin, Espresso, XCUITest, REST Assured, BrowserStack or an in-house farm, Allure, Jenkins, Jira Xray.
Risks and how we mitigate them
| Risk | How we mitigate it |
|---|---|
| Flaky automated tests | test quarantine, root cause analysis, stable selectors and independent data |
| Test environments unavailable or unstable | environment booking schedule, virtualization of external services (mocks), daily environment smoke test |
| No test data free of personal data | synthetic data generator and masking that preserves referential integrity; no copying production into test |
| Low user adoption | champions in each department, training on their own cases, usage measured from day one |
Measurable goals and KPIs
The values below are targets that we set with the client after a baseline measurement in the first phase.
| KPI | Target | How it is measured |
|---|---|---|
| Full regression time | from days to hours, target ≤ 8 h | suite execution time in CI |
| Share of automated regression cases | ≥ 70% of critical paths | test repository |
| Share of flaky tests | < 2% | pipeline report (tests with inconsistent results) |
| Mobile app crash-free sessions | ≥ 99.8% | crash reporting tool |
Lessons learned and good practices
A shared language of test steps made the tests readable for business analysts, not just for automation engineers. Accessibility (EAA) is worth checking automatically in the same tests that walk through the screens. A flaky test is worse than no test, because it undermines trust in the whole suite.
Why B2B.net
B2B.net S.A. has been operating since 2015 and has worked for more than 50 brands, mostly where audits are part of daily life: in banks, insurance and critical infrastructure. We are an accredited exam center, so testing methodology is not a claim for us but a working standard. We give a first proposal of engineers within 24 hours, and a team can start within 5 business days.
Next step
Let's talk about your project. Within 24 hours we will get back to you with a quote or a proposal of engineers; a team can start within 5 business days. Contact: office@b2bnetwork.pl.
What would this look like for you?
Book a 30-minute call. We will prepare a plan for the first weeks and a team matched to your system.
Let's talkB2Bnetwork · B2B.net S.A. · accredited exam center. We describe clients by industry and scale, without names.