In order for Open Y dependencies being tested in a short timeframe, please follow steps below
Administrator
*Note: Webform is a very big contributed module that providess a lot of features. We need to check at least basic functions. *
- Login as admin
- Go to Structure -> Webforms (/admin/structure/webform)
- Verify you see a st of pages provided via module (Forms, Submissions, Options, Configuration, Add-ons, etc)
- Verify by defalt Open Y has one webform called ""Contact"" with a status Open
- Verify you can click on the webform title and see the form as independent page (ignore styles absence)
- Verify you can open the following pages for a specific webform (Results, Settings).
- Verify there are no errors while visiting webform related pages.
- Module webform is installed
- Pages for creating webforms works find and there are no errors
- There is a default webform called ""Contact""
- There are no errors while visiting specific webform pages
Administrator
- Login as admin
- Go to Structure -> Webforms (/admin/structure/webform)
- Click on the button ""Add webform""
- Enter title, description and choose status Open
- Verify you were redirected to the Build page
- TO CONTINUE WEBFORM UI MODULE SHOULD BE INSTALLED
- Make sure you are on the Elements tab
- Verify there are buttons such as ""Add element / Add Page / Add layout""
- Try adding 2-3 new elements
- Save the form
- Go to View tab
- Verify added elements rendered correctly.
- Administrator can create webforms
- Webform module provideds needed functionality to create webform and add different elements
Administrator
*Note: Open Y does not use webform pages as is insted it provides a paragraph that gives the possiblity insert webform as ablock to any page. *
- Login as admin
- Go to the Landing page creating form (Content -> Add Content -> Landing page)
- Open Content Area
- In the list of paragraphs find Webform component.
- Add it
- Verify paragraph form inserted
- Verify there is a dropdown with the possiblity select webform (default one -> Contact)
- Verify there are no errors while saving landing page
- Verify you can see webform rendered on the page
- There is a paragraph that gives the possiblity add webform to any page
- Paragraph is working without any errors
- Webform renders on the page after saving
Administrator / Anonymous
- Login as admin
- Create a new Landing page
- Add webform via paragraph
- Save the page.
- Log out
- Open just created page
- Verify you can see the webform
- Verify you can use the webform and it works properly
- Anonymous users can access the webform added to any page (landing page in the example)
- Anonymous users can use the webform without any issues
Administrator / Anonymous
-
Login as admin
-
Create a new Landing page
-
Add webform via paragraph
-
Save the page.
-
Log out
-
Open just created page
-
Submit the form 2-3 times
-
Login as admin
-
Go to Structure -> Webforms (/admin/structure/webform)
-
Verify the webform that was used has 2-3 results
-
Click on the results
-
Verify you can see submissions and the number of them is correct
-
Check submissions and verify they contain correct data (data that was used previously)
- Anonymous user can submit the form
- All results submitted via the form are present in the admin interface and contains correct data (submitted previously)
Administrator
- Login as admin
- Go to Structure -> Webforms (/admin/structure/webform)
- Choose Contact webform
- Go to Settings -> Emails / Handlers
- Add a new Email
- Enter your email in the Send To -> To email -> Custom To email address
- Save the form
- Go to View tab
- Submit the form
- Verify your inbox there should be aconfirmation email
- There are settings to configure who should receive email confirmation
- Forms for adding settings work correctnly without any issues
- Emails are sending after form submission
Administrator
- Login as Admin
- Go to Content page
- Verify while creating pages schedules is enabled for the following content types:
- Alert
- Blog Post
- Class
- Event
- Landing page
- News Post
- Program
- Program Subcategory
- Social Post
The following Open Y Content types support the ability to schedule page publishing:
- Alert
- Blog Post
- Class
- Event
- Landing page
- News Post
- Program
- Program Subcategory
- Social Post
Administrator
- Login as Admin
- Go to Content
- Start create a new content (any supported content type)
- Verify on the right sidebar there are scheduling options with two fields:
- publish on (date and time)
- unpublish on (date and time)
All supported by Scheduler content types provide the ability specify publish/unpublish date and time
Administrator
- Login as Admin
- Verify user timezone is the same as timezone where you do tests, if not change it and save user profile.
- Go to Content
- Create a new Alert
- Fill the form
- In the Scheduling options specify publish/unpublish on date and time
- Go to the page Content -> Scheduled (tab) or /admin/content/scheduled
- Verify you can see just created alert in the list
- Verify alert published on specified date and time
- Verify alert unpublished on specified date and time
Note: While testing you can specify the current date and time +5 minutes and run cron manually on the page (/admin/config/system/cron).
- Scheduled to be published on a specific date and time page is published.
- Scheduled to be unpublished on a specific date and time page is unpublished.