This commit is contained in:
0ko 2025-03-30 17:37:25 +05:00
parent f92faf9a02
commit 907ccf28f3
2 changed files with 27 additions and 3 deletions

View file

@ -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

View 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);
});
});