0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-04-14 17:54:39 +02:00
Myers Carpenter 9035a92761 Add E2E test for project column picker
Tests the full workflow: create project with Basic Kanban template,
assign issue to project, verify column picker appears, select a
different column, reload and verify it persisted.
2026-03-29 23:48:44 +00:00
..
2026-02-20 16:26:47 -08:00
2026-02-20 16:26:47 -08:00
2026-02-20 16:26:47 -08:00
2026-02-20 16:26:47 -08:00
2026-02-20 16:26:47 -08:00
2026-02-20 16:26:47 -08:00
2026-02-20 16:26:47 -08:00
2026-03-28 13:10:51 +00:00

import {env} from 'node:process';
import {test, expect} from '@playwright/test';
import {apiCreateRepo, apiDeleteRepo} from './utils.ts';

test('repo readme', async ({page}) => {
  const repoName = `e2e-readme-${Date.now()}`;
  await apiCreateRepo(page.request, {name: repoName});
  await page.goto(`/${env.GITEA_TEST_E2E_USER}/${repoName}`);
  await expect(page.locator('#readme')).toContainText(repoName);
  await apiDeleteRepo(page.request, env.GITEA_TEST_E2E_USER, repoName);
});