mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-04 05:08:42 +08:00
refactor: update record automatic close message popup (#5408)
* refactor: update record automatic close message popup * fix: test
This commit is contained in:
parent
03a7294c5b
commit
b62dbb1cbc
@ -25,7 +25,7 @@ export const UpdateRecordActionInitializer = (props) => {
|
||||
'x-action-settings': {
|
||||
assignedValues: {},
|
||||
onSuccess: {
|
||||
manualClose: true,
|
||||
manualClose: false,
|
||||
redirecting: false,
|
||||
successMessage: '{{t("Updated successfully")}}',
|
||||
},
|
||||
|
@ -843,7 +843,6 @@ test.describe('actions schema settings', () => {
|
||||
|
||||
const expectNewValue = async (value: string) => {
|
||||
await page.getByLabel('action-Action.Link-Update record-customize:update-users2-table-0').click();
|
||||
await page.getByRole('button', { name: 'OK', exact: true }).click();
|
||||
await page.getByLabel('action-Action-Refresh-refresh').click();
|
||||
await expect(page.getByLabel('block-item-CardItem-users2-').getByText(value)).toBeVisible();
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user