ケイラ
98213d7fc4
chore: improve playwright logging ( #19899 )
2025-09-22 10:17:03 -06:00
Danny Kopping
2d36b587c0
chore(site): log errors when page fails with not_available in e2e tests ( #16219 )
...
https://github.com/coder/internal/issues/279 tracks a flake we've been
seeing of late.
I noticed log lines like these:
```
[onResponse] url=http://localhost:3111/api/v2/workspaces/2fedd3ad-58a9-49be-9e61-177878be7611/watch status=200 body=not_available
[onResponse] url=http://localhost:3111/api/v2/workspaceagents/753ee86d-46cb-4641-97f6-7b4c9c9a9e27/watch-metadata status=200 body=not_available
```
No other debugging info seems to be available for these responses, so
let's add some.
Signed-off-by: Danny Kopping <danny@coder.com >
2025-01-22 10:27:03 +02:00
ケイラ
962608cde0
chore: allow signing in as non-admin users in e2e tests ( #15892 )
...
Closes coder/internal#168
Gets rid of the "global state" authentication, and adds a `login` helper
which should be called at the beginning of each test. This means that
not every test needs to authenticated as admin, and we can even have
tests that encompass multiple permission levels.
We also now create more than just the single admin user during setup, so
that we can have a set of users to pick from as appropriate.
2024-12-19 16:16:34 -07:00
Kayla Washburn-Love
7142cbb9e6
chore: enable noConsoleLog lint ( #14329 )
2024-08-16 10:12:06 -06:00
Kayla Washburn-Love
95a7c0c4f0
chore: use tabs for prettier and biome ( #14283 )
2024-08-15 14:53:53 -06:00
Kayla Washburn-Love
d15f16fa2e
chore: replace eslint with biome ( #14263 )
2024-08-15 13:26:29 -06:00
Danny Kopping
319fd5bf1d
chore: add e2e test against an external auth provider during workspace creation ( #12985 )
2024-04-18 19:43:10 +02:00
Kayla Washburn-Love
0fe109d517
chore: sort imports in our typescript code ( #12417 )
2024-03-05 16:31:22 -07:00
Marcin Tojek
4e7b208068
fix(site): e2e: print API backend calls ( #12051 )
2024-02-07 15:50:07 +01:00
Kayla Washburn
988c9af015
chore: format code with semicolons when using prettier ( #9555 )
2023-09-06 12:59:26 -06:00
Marcin Tojek
2377ab6624
test(site): improve E2E framework ( #9438 )
2023-08-30 15:34:45 +00:00