mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-04-17 03:01:35 +02:00
wip
This commit is contained in:
parent
f92faf9a02
commit
907ccf28f3
2 changed files with 27 additions and 3 deletions
|
@ -24,10 +24,10 @@ import (
|
|||
// the following entries define the full file content over time
|
||||
type FileChanges struct {
|
||||
Filename string
|
||||
CommitMsg string
|
||||
CommitMsg string // Defaults to a unique message
|
||||
Versions []string
|
||||
OldBranch string
|
||||
NewBranch string
|
||||
OldBranch string // Defaults to `main`
|
||||
NewBranch string // Defaults to `main`
|
||||
}
|
||||
|
||||
// put your Git repo declarations in here
|
||||
|
|
24
tests/e2e/pr-merge.test.e2e.ts
Normal file
24
tests/e2e/pr-merge.test.e2e.ts
Normal file
|
@ -0,0 +1,24 @@
|
|||
// @watch start
|
||||
// //todo
|
||||
// @watch end
|
||||
|
||||
import {expect} from '@playwright/test';
|
||||
import {test, save_visual} from './utils_e2e.ts';
|
||||
//import {validate_form} from './shared/forms.ts';
|
||||
|
||||
test.use({user: 'user2'});
|
||||
|
||||
test.describe('PR: merge', () => {
|
||||
test('with merge commit', async ({page}, {project}) => {
|
||||
//test.skip(project.name === 'Mobile Safari', 'Cannot get it to work - as usual');
|
||||
const response = await page.goto('/user2/pr-def-merge-style-merge');
|
||||
expect(response?.status()).toBe(200);
|
||||
|
||||
//await validate_form({page}, 'fieldset');
|
||||
|
||||
// verify header is new
|
||||
await expect(page.locator('h4')).toContainText('new'); //
|
||||
await page.locator('input[name="rule_name"]').fill('testrule'); //
|
||||
//await save_visual(page);
|
||||
});
|
||||
});
|
Loading…
Add table
Reference in a new issue