mirror of
https://github.com/frappe/lms.git
synced 2026-05-02 13:39:31 +03:00
ci: get payments app in ui tests
(cherry picked from commit 7c20b9c728)
This commit is contained in:
@@ -11,6 +11,7 @@ cd ./frappe-bench || exit
|
|||||||
bench -v setup requirements
|
bench -v setup requirements
|
||||||
|
|
||||||
echo "Setting Up LMS App..."
|
echo "Setting Up LMS App..."
|
||||||
|
bench get-app "https://github.com/frappe/payments"
|
||||||
bench get-app lms "${GITHUB_WORKSPACE}"
|
bench get-app lms "${GITHUB_WORKSPACE}"
|
||||||
|
|
||||||
echo "Setting Up Sites & Database..."
|
echo "Setting Up Sites & Database..."
|
||||||
|
|||||||
@@ -199,11 +199,16 @@ const evaluator = createResource({
|
|||||||
if (data.slots.unavailable_from) from.value = data.slots.unavailable_from
|
if (data.slots.unavailable_from) from.value = data.slots.unavailable_from
|
||||||
if (data.slots.unavailable_to) to.value = data.slots.unavailable_to
|
if (data.slots.unavailable_to) to.value = data.slots.unavailable_to
|
||||||
},
|
},
|
||||||
|
onError(err) {
|
||||||
|
toast.error(err.messages?.[0] || err)
|
||||||
|
console.error(err)
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
const createSlot = createResource({
|
const createSlot = createResource({
|
||||||
url: 'frappe.client.insert',
|
url: 'frappe.client.insert',
|
||||||
makeParams(values) {
|
makeParams(values) {
|
||||||
|
console.log(evaluator.data)
|
||||||
return {
|
return {
|
||||||
doc: {
|
doc: {
|
||||||
doctype: 'Evaluator Schedule',
|
doctype: 'Evaluator Schedule',
|
||||||
|
|||||||
@@ -1941,6 +1941,7 @@ def get_admin_evals():
|
|||||||
{
|
{
|
||||||
"evaluator": frappe.session.user,
|
"evaluator": frappe.session.user,
|
||||||
"date": [">=", getdate()],
|
"date": [">=", getdate()],
|
||||||
|
"status": "Upcoming",
|
||||||
},
|
},
|
||||||
[
|
[
|
||||||
"name",
|
"name",
|
||||||
|
|||||||
Reference in New Issue
Block a user