Merge pull request #34392 from sagarvora/fix-ui-test
This commit is contained in:
commit
c5cb8f6354
1 changed files with 2 additions and 2 deletions
|
|
@ -227,7 +227,7 @@ context("Control Link", () => {
|
|||
field_name: "assigned_by",
|
||||
property: "default",
|
||||
property_type: "Text",
|
||||
value: "Administrator",
|
||||
value: cy.config("testUser"),
|
||||
},
|
||||
true
|
||||
);
|
||||
|
|
@ -237,7 +237,7 @@ context("Control Link", () => {
|
|||
cy.save();
|
||||
cy.get(".frappe-control[data-fieldname=assigned_by_full_name] .control-value").should(
|
||||
"contain",
|
||||
"Administrator"
|
||||
"Frappe"
|
||||
);
|
||||
// if user clears default value explicitly, system should not reset default again
|
||||
cy.get_field("assigned_by").clear().blur();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue