mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-02 08:38:11 +08:00
add and check system arg to state auth type in e2e test(#1924)
* add and check system arg to state auth type * add tolower Co-authored-by: czimergebot <35308261+czimergebot@users.noreply.github.com>
This commit is contained in:
co-authored by
czimergebot
parent
86ff48ae36
commit
beb46bf3df
@@ -522,7 +522,12 @@ test("lasso moves after pan", async () => {
|
||||
expect(panCount).toBe(initialCount);
|
||||
});
|
||||
|
||||
describe("auth buttons", () => {
|
||||
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 () => {
|
||||
|
||||
Reference in New Issue
Block a user