Skip to content

Commit 4b0d7ee

Browse files
committed
test(e2e): the customize journey opens the Field layout tab
The Studio object page's Form tab is now Field layout (objectstack#36505); step 3 of studio-customize-journey clicks it by its new name. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufzhpykmQZe1yMupC2CU
1 parent a144b62 commit 4b0d7ee

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎ui/e2e/live/studio-customize-journey.spec.ts‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ import { test as base, expect, type APIRequestContext, type Page, type Request,
1212
* type's list) — not what the canvas draws.
1313
* 2. Restore package original: the pair's draft and row are deleted at the
1414
* pair, and the three reads serve the shipped column set again.
15-
* 3. Add `region__c`: Add field on the base object's Form, then the top
15+
* 3. Add `region__c`: Add field on the base object's Field layout tab
16+
* (字段布局, formerly Form; objectstack#36505), then the top
1617
* bar's Save (objectstack#36511), writes an `object_extension` into the
1718
* pair and publishes that one item there, so the base object is served
1819
* with the field at once and the pair's own read and export carry it.
@@ -226,7 +227,7 @@ test('a read-only base is customized, restored and extended through Studio, and
226227

227228
await test.step(`Add ${FIELD.name}: an extension in the pair, served on the base object`, async () => {
228229
await page.goto(`/studio/${BASE}/data?surface=${encodeURIComponent(`object:${OBJECT}`)}`);
229-
await page.getByTestId('data-object-header').getByRole('button', { name: 'Form', exact: true }).click();
230+
await page.getByTestId('data-object-header').getByRole('button', { name: 'Field layout', exact: true }).click();
230231
await page.getByTestId('data-form-add-extension-field').click();
231232
await page.getByTestId('add-field-label-input').fill(FIELD.label);
232233
await expect(page.getByTestId('add-field-api-name-preview')).toContainText(FIELD.name);

0 commit comments

Comments
 (0)