The following test case is for the website "Event dates with register buttons" add-on.
Test 1
Point your control at our test API server for events
- Modify your page init script for the control to point at our test platform at
theme-test
. The test cases for the events in this section are run with Template codeECO
, so the control needs to be configured with a filter for this template.
The key parts of your code you need to change are highlighted below. Remove any existing filters you have, and leave only the filter indicated below. You can leave any other existing configuration or customisations in your code.
jQuery(document).ready(function () { new LS.EventScheduleListControl({ platformID: "theme-test", filter: { templateCode: "ECO" }, ... }).init(); });
- Your control should show a list of upcoming events after you change the configuration. If it shows the empty message (no upcoming events), make sure you remove any existing filters and include only the
templateID
filter indicated above.
Tests
- Verify that each of the items highlighted below (1,2...) are displayed correctly.
Test 2
Point your control at our test API server for advanced events
- Modify your page init script for the control to point at our test platform at
theme-test
. The test cases for the events in this section are run with Template codePROJ
, so the control needs to be configured with a filter for this template.
The key parts of your code you need to change are highlighted below. Remove any existing filters you have, and leave only the filter indicated below. You can leave any other existing configuration or customisations in your code.
jQuery(document).ready(function () { new LS.EventScheduleListControl({ platformID: "theme-test", filter: { templateCode: "PROJ" }, ... }).init(); });
- Your control should show a list of upcoming events after you change the configuration. If it shows the empty message (no upcoming events), make sure you remove any existing filters and include only the
templateID
filter indicated above.
Tests
- Click on Show details
- Verify that each of the items highlighted below (1,2...) are displayed correctly.
Test 3
Point your control at our test API server for webinar events
- Modify your page init script for the control to point at our test platform at
theme-test
. The test cases for webinars are run with Template IDBUIL
, so the control needs to be configured with a filter for this template.
The key parts of your code you need to change are highlighted below. Remove any existing filters you have, and leave only the filter indicated below. You can leave any other existing configuration or customisations in your code.
jQuery(document).ready(function () { new LS.EventScheduleListControl({ platformID: "theme-test", filter: { templateID: "BUIL" }, ... }).init(); });
- Your control should show a list of upcoming live online events after you change the configuration. If it shows the empty message (no upcoming live online events), make sure you remove any existing filters and include only the
templateID
filter indicated above.
Tests
- Verify that each of the items highlighted below (1,2...) are displayed correctly.
Other articles that may be helpful
- Add list of event dates with register buttons (designed to add to an event page hosted of a separate site)
- Website integration add-ons
- Website integration options