Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intergration tests for fullCalendar

I love fullCalendar. Its an awesome plugin. However one thing that I have found hard is testing. I am using rails, cucumber, capybera and selenium. I spent a good part of yesterday using the selenium IDE and could not for the life of me get selenium to simulate a click on fullcalendar's interface. I was wondering if anyone else has this problem or has got a testing plan outlined for fullCalendar?

like image 400
Stewart Avatar asked Oct 14 '10 07:10

Stewart


People also ask

Is FullCalendar an API?

FullCalendar provides settings, methods, and callbacks for interacting with and switching the current view. The initial view when the calendar loads. A View object contains information about a calendar view, such as title and date range.

How do I get the date from FullCalendar?

Calendar::getDate Returns a Date for the current date of the calendar. For month view, it will always be some time between the first and last day of the month.

How do I select multiple dates in FullCalendar?

Detect when the user clicks on dates or times. Give the user the ability to select multiple dates or time slots with their mouse or touch device. Allows a user to highlight multiple days or timeslots by clicking and dragging.

What is FullCalendar?

FullCalendar is a JavaScript library that seamlessly integrates with such popular JavaScript frameworks as Vue, React, Angular. Thanks to its excellent documentation, one won't have trouble incorporating the library into projects.


1 Answers

i was working on fullCalendar for the last couple of days and i have some rspecs if that would help out.

you can check what i have at https://github.com/mzararagoza/rails-fullcalendar-icecube

like image 94
MZaragoza Avatar answered Sep 18 '22 15:09

MZaragoza