Skip to content

regression e2e search tests: Problems connecting to searcher

Created by: uwedeportivo

  • Sourcegraph version: 3.14
  • Platform information: single server docker container

Steps to reproduce:

Set up regression test suite environment as described here: https://github.com/sourcegraph/sourcegraph/tree/master/web/src/regression

  1. Launch instance
IMAGE=sourcegraph/server:3.14.1 ./dev/run-server-image.sh 
  1. Make yourself an admin account and set license key, external URL and get a admin super user token form the instance. Add the token and username to your .envrc

  2. Run this test suite

SLOWMO=10 KEEP_BROWSER=true yarn run test:regression:search 

It will set up lots of repos.

  1. Now run the same test suite but with just this particular test:
SLOWMO=10 KEEP_BROWSER=true yarn run test:regression:search --grep 'Text search non-master branch, large repository, many results'

Expected behavior:

It should pass

Actual behavior:

Screen Shot 2020-03-25 at 1 44 05 PM