fix(editor): plurals, trimmed names, default tab, parent drawing confirmation
This commit is contained in:
1 parent
b42c6ae844
commit
be4f468790
35 files changed
+385
-63
No files matched your search
@@ -154,6 +154,12 @@ test.describe('editor drawings (A2)', () => {
|
||||
await detail
|
||||
.getByRole('button', { name: dict['editor.views.drawing.use_parent'] })
|
||||
.click()
|
||||
await page
|
||||
.getByRole('dialog')
|
||||
.getByRole('button', {
|
||||
name: dict['editor.views.drawing.use_parent_confirm'],
|
||||
})
|
||||
.click()
|
||||
await expect(
|
||||
detail.getByText(dict['editor.views.drawing.inherited']),
|
||||
).toBeVisible()
|
||||
|
||||
@@ -229,6 +229,8 @@ test.describe('editor geometry (adversarial)', () => {
|
||||
requests.forbid(actor.account.email, actor.account.password)
|
||||
const seed = await seedDraft(actor, { drawing: null, shape: standardShape })
|
||||
await openEditor(page, dict, actor, seed.sheetId)
|
||||
// No measurable view: the draft opens on Général (C40).
|
||||
await selectTab(page, dict, 'annotations')
|
||||
await expect(
|
||||
page.getByText(dict['editor.annotations.unmeasured.hint'], {
|
||||
exact: false,
|
||||
|
||||
@@ -382,7 +382,7 @@ test.describe('editor journey (owner trial steps)', () => {
|
||||
const verification = page.getByTestId('editor-tab-verification')
|
||||
await expect(
|
||||
verification.getByText(
|
||||
dict['editor.verification.errors'].replace('{count}', '0'),
|
||||
dict['editor.verification.errors_one'].replace('{count}', '0'),
|
||||
),
|
||||
).toBeVisible()
|
||||
await expect(
|
||||
|
||||
Reference in new issue
Block a user