mirror of
https://github.com/frappe/lms.git
synced 2026-05-02 13:39:31 +03:00
test: fixed category input selection in course creation test
This commit is contained in:
@@ -65,7 +65,7 @@ describe("Course Creation", () => {
|
||||
.contains("Category")
|
||||
.parent()
|
||||
.within(() => {
|
||||
cy.get("button").click();
|
||||
cy.get("input").click();
|
||||
});
|
||||
cy.get("[id^=headlessui-combobox-option-")
|
||||
.should("be.visible")
|
||||
|
||||
@@ -149,7 +149,6 @@ const valuePropPassed = computed(() => 'value' in attrs)
|
||||
|
||||
watch(selectedValue, (val) => {
|
||||
query.value = ''
|
||||
console.log(val)
|
||||
emit(valuePropPassed.value ? 'change' : 'update:modelValue', val)
|
||||
})
|
||||
|
||||
|
||||
@@ -80,7 +80,7 @@ const props = defineProps({
|
||||
required: true,
|
||||
},
|
||||
membership: {
|
||||
type: Object,
|
||||
type: Object || null,
|
||||
required: false,
|
||||
},
|
||||
})
|
||||
|
||||
@@ -76,7 +76,7 @@
|
||||
<CourseReviews
|
||||
:courseName="course.data.name"
|
||||
:avg_rating="course.data.rating"
|
||||
:membership="course.data.membership"
|
||||
:membership="course.data.membership || null"
|
||||
/>
|
||||
</div>
|
||||
<div class="hidden md:block">
|
||||
|
||||
Reference in New Issue
Block a user