Skip to content

Investigate local e2e test failure #2448

@mvandenburgh

Description

@mvandenburgh

Thanks for the review @mvandenburgh I've made the changes you suggested.

I am getting a failing test locally though logging a user in. I checked all the env vars, but its not really clear whats going wrong. Probably I missed a step :)

Error: locator.waitFor: Test timeout of 30000ms exceeded.
Call log:
  - waiting for getByRole('button', { name: 'AA' }) to be visible


   at utils.ts:73

  71 |   await page.getByPlaceholder("Password").fill("password");
  72 |   await page.getByRole("button", { name: "Sign In" }).click(); // GitHub sign in button
> 73 |   await page.getByRole("button", { name: TEST_USER_INITIALS }).waitFor({ state: "visible" });
     |                                                                ^
  74 |
  75 | }
  76 |
    at gotoAndLogin (/home/austin/devel/dandi/dandi/archive/e2e/utils.ts:73:64)
    at /home/austin/devel/dandi/dandi/archive/e2e/tests/account.spec.ts:17:5`

image

Originally posted by @asmacdo in #2411 (comment)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions