Page MenuHomePhabricator

Inject environment variable to indicate that Quibble is running with Apache
Closed, ResolvedPublic

Description

That way, browser tests can check for e.g. process.env.QUIBBLE_APACHE to see if the test can run, and if not the test can call this.skip(). That allows for writing tests that pass CI with built-in HTTP server as well as the experimental job with Apache.

Event Timeline

Change 745818 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[integration/quibble@master] BrowserTests: Set environment variable when Quibble is using Apache

https://gerrit.wikimedia.org/r/745818

Change 745818 merged by jenkins-bot:

[integration/quibble@master] BrowserTests: Set environment variable when Quibble is using Apache

https://gerrit.wikimedia.org/r/745818

Change 754524 had a related patch set uploaded (by Hashar; author: Hashar):

[integration/quibble@master] Release Quibble 1.3.0

https://gerrit.wikimedia.org/r/754524

Change 754524 merged by jenkins-bot:

[integration/quibble@master] Release Quibble 1.3.0

https://gerrit.wikimedia.org/r/754524