mirror of
https://github.com/frappe/lms.git
synced 2026-04-19 22:52:29 +03:00
ci: get payments app in ui tests
This commit is contained in:
1
.github/helper/install.sh
vendored
1
.github/helper/install.sh
vendored
@@ -11,6 +11,7 @@ cd ./frappe-bench || exit
|
||||
bench -v setup requirements
|
||||
|
||||
echo "Setting Up LMS App..."
|
||||
bench get-app "https://github.com/frappe/payments"
|
||||
bench get-app lms "${GITHUB_WORKSPACE}"
|
||||
|
||||
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_to) to.value = data.slots.unavailable_to
|
||||
},
|
||||
onError(err) {
|
||||
toast.error(err.messages?.[0] || err)
|
||||
console.error(err)
|
||||
},
|
||||
})
|
||||
|
||||
const createSlot = createResource({
|
||||
url: 'frappe.client.insert',
|
||||
makeParams(values) {
|
||||
console.log(evaluator.data)
|
||||
return {
|
||||
doc: {
|
||||
doctype: 'Evaluator Schedule',
|
||||
|
||||
@@ -1941,6 +1941,7 @@ def get_admin_evals():
|
||||
{
|
||||
"evaluator": frappe.session.user,
|
||||
"date": [">=", getdate()],
|
||||
"status": "Upcoming",
|
||||
},
|
||||
[
|
||||
"name",
|
||||
|
||||
Reference in New Issue
Block a user