| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| Expand Up | @@ -14,4 +14,4 @@ node-* | |
| /plugins | ||
| /lib/coder-cloud-agent | ||
| .home | ||
| coverage | ||
| coverage | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| import { chromium, Page, Browser } from "playwright" | ||
|
|
||
| let browser: Browser | ||
| let page: Page | ||
|
|
||
| beforeAll(async () => { | ||
| browser = await chromium.launch() | ||
| }) | ||
| afterAll(async () => { | ||
| await browser.close() | ||
| }) | ||
| beforeEach(async () => { | ||
| page = await browser.newPage() | ||
| }) | ||
| afterEach(async () => { | ||
| await page.close() | ||
| }) | ||
|
|
||
| it("should see the login page", async () => { | ||
| await page.goto("http://localhost:8080") | ||
| // It should send us to the login page | ||
| expect(await page.title()).toBe("code-server login") | ||
| }) | ||
| Back | FazBrowse Home | New Git URL |
Uh oh!
There was an error while loading. Please reload this page.