Page MenuHomePhabricator

We want to be able to test the tool by logging in
Closed, ResolvedPublic

Description

Acceptance criteria

  1. It should be possible to test the tool by logging in

Event Timeline

Currently we use the Beta cluster as a way of logging in to the application for testing. Unfortunately, there have been a lot of problems with the Beta cluster (see T420833 – Beta cluster is being crawled to death by bot traffic coming from residential proxies), and as a result it's often impossible to test how the tool works for logged-in users.

We already have a solution for testing the tool anonymously (T427891), but we now need a way forward to be able to test that logged-in users can use the tool as expected too.

One direction we're currently exploring is setting up our own test wiki with Extension:OAuth configured as an OAuth2 provider, so that testing the login flow doesn't depend on the Beta cluster's stability.

We've earlier set up our own test wiki (wikispeech-test.wmcloud.org), and to solve the Beta-Meta issue, I installed Extension:OAuth as an OAuth2 provider, and pointed both local dev and wikispeech-sdc.toolforge.org at it. Login now works against our own wiki instead of Beta Commons.