This test suite is created to test the core functionality of Podium's user messaging app. It contains 11 tests (9 Positive and a 2 Negative cases) and also included a Docker File to build from. The suite should take around 67 seconds to complete.
It's structured using the Page Object Model, the page objects file can be found in cypress/page-objects.
Thanks so much for reviewing my code! I learned a lot from it. More notes below!
Smoke
- Verify Gandalf Text (from Chapter 2 of Fellowship/Moria sequence in the movies)
- Verify Image URL loaded
- Verify Messaging Icon is Present
- Verify User can click on Podium Bubble to see Location Selector
- Verify User can type in to search box
- Verify Length of Location list
- Verify User can click on the link, type name, phone Number, and message, hit send, and message will send
Regression
- Verify Gandalf Text
- Verify Gandalf Text is NOT the text from his passage re: Bilbo's Pity and Gollum (also from Chapter 2 of Fellowship/Moria sequence in the movies)
- Verify URL Image does NOT link to the Cult of the Party Parrot Website
- Verify Image URL Loaded
- Verify Messaging Icon is Present
- Verify User can click on Podium Bubble to see Location Selector
- Verify User can type in to search box
- Verify Length of Location list
- Verify User can click on the link, type name, phone Number, and message, hit send, and message will send
-
Only 3 Locations Showed Up When Looking at The Location Selector **
-
- Load Page
- Tap on Podium Messaging Icon
- Review Locations List
-
- Locations List only has 3 locations
-
- Locations List should have 4
- Consistent
-
-
Podium Button and Prompt do not show up in the same place **
-
- Load Page
- Verify Podium Button and Prompt Position
- Reload Page
-
- Button will appear on the opposite corner from previous position
-
- Position should be consistent
- Inconsistent
-
-
Podium Button and Prompt Switches Colors and Image **
-
- Load Page
- Verify Podium Button and Prompt Color (Red or Purple)
- Verify Purple Icon is Podium Logo OR Red Icon is generic Phone Logo
- Clear Cache
- Reload Page
-
- Button will sometimes switch color between Red and Purple
- Button will sometimes switch icons to Podium or Generic Phone Logo
-
- Color should be static
- Inconsistent
-
-
Successive runs did not delete the previous message sent **
-
- Go to Message Form and Type a message, press send
- Reload page and go back again
-
- Previous message steps will appear
-
- Message field should be empty
-
- Consistent
-
-
Is there a good way to extract an xlmns vlaue from a nested.svg? I had a really hard time figuring out to do that in Cypress which led to a missed opportunity for me to catch the icon bugs with automation
-
One thing I'd build on going from here is adding more custom ids and other identifiers to elements lists, might even include dome [data-cy] tags for easier cypress access but all that requires dev coordination