Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Add empty file test case
Sebastian Martinez committed 2 years ago
commit 6151729a6d4555076a903e415762ffcc8d9a6e79
parent e4a051b17ac0ffdf54df124a8061e4552894caef
1 file changed +9 -0
modified tests/e2e/project.spec.ts
@@ -216,6 +216,15 @@ test("binary files", async ({ page }) => {
  await expect(page.locator("text=Binary content")).toBeVisible();
});

+
test("empty files", async ({ page }) => {
+
  await page.goto(sourceBrowsingUrl);
+

+
  await page.getByText("special/").click();
+
  await page.getByText("_underscore_").click();
+

+
  await expect(page.getByText("Empty file")).toBeVisible();
+
});
+

test("hidden files", async ({ page }) => {
  await page.goto(sourceBrowsingUrl);