Dunitz/2308-remove hosted (#2399)

* remove code for and references to czi-hosted

* revert client change
This commit is contained in:
Madison Dunitz
2021-09-02 13:18:35 -04:00
committed by GitHub
parent 780852fd49
commit f9c744327a
154 changed files with 6 additions and 15809 deletions
-33
View File
@@ -16,7 +16,6 @@ import {
getTestId,
goToPage,
waitByID,
clickOnUntil,
} from "./puppeteerUtils";
import {
@@ -26,8 +25,6 @@ import {
getAllCategoriesAndCounts,
getCellSetCount,
selectCategory,
login,
logout,
} from "./cellxgeneActions";
const data = datasets[DATASET];
@@ -351,34 +348,4 @@ test("lasso moves after pan", async () => {
expect(panCount).toBe(initialCount);
});
const describeIfCalledByMakeFileTarget =
process.env.CXG_AUTH_TYPE?.toLowerCase() === "test"
? describe
: describe.skip;
describeIfCalledByMakeFileTarget("auth buttons", () => {
test("login then logout", async () => {
await goToPage(appUrlBase);
await clickOnUntil("log-in", async () => {
await page.waitForNavigation({ waitUntil: "networkidle0" });
await waitByID("user-info");
});
await logout();
});
});
const conditionalDescribe =
process.env.TEST_AUTH_INTEGRATION === "true" ? describe : describe.skip;
conditionalDescribe("AuthN Integration", () => {
it("logs in", async () => {
await login();
});
it("logs out", async () => {
await login();
await logout();
});
});
/* eslint-enable no-await-in-loop -- await in loop is needed to emulate sequential user actions */