Fix E2E tests + Skip chromatic (#16838)

- Always skip chromatic job (we dont check the outcome)
- Fix workflow creation test
- Run E2E tests before merge (to enable through repo rulesets)
This commit is contained in:
Marie
2025-12-30 16:57:38 +01:00
committed by GitHub
parent 1128331cc1
commit 64d75d0b79
3 changed files with 9 additions and 5 deletions
@@ -4,7 +4,8 @@ test('Create Industry Select Field', async ({ page }) => {
await page.getByRole('link', { name: 'Settings' }).click();
await page.getByRole('link', { name: 'Data model' }).click();
await page.getByRole('link', { name: 'Opportunities' }).click();
await page.getByRole('button', { name: 'Add Field' }).click();
await expect(page.getByRole('button', { name: 'New Field' })).toBeVisible();
await page.getByRole('button', { name: 'New Field' }).click();
await page.getByRole('link', { name: 'Select', exact: true }).click();
await page.getByRole('textbox', { name: 'Employees' }).click();
await page.getByRole('textbox', { name: 'Employees' }).fill('Industry');
@@ -28,7 +28,9 @@ test('Create workflow', async ({ page }) => {
createWorkflowButton.click()
]);
const recordName = page.getByTestId('top-bar-title').getByText('Untitled');
const recordName = page.getByTestId('top-bar-title').getByPlaceholder('Name');
await expect(recordName).toBeVisible();
await recordName.click();
const nameInput = page.getByTestId('top-bar-title').getByRole('textbox');