The goal is to create a Google Sheet that can track the historical PageSpeed Insights (PSI) perfomance data of one or more pages/URLs. You will use JavaScript code to call the PageSpeed Insights API and store the result in your sheet.
Tag: testing
Categories
Framework review: Robot
Robot Framework is a test automation framework for acceptance testing (…) it utilises the keyword-driven testing approach. Its testing capabilities can be extended by Python test libraries.
Categories
Framework review: Playwright
Playwright enables end-to-end testing. Test modern single page apps, across all modern browsers, using in your preferred language (JS, TS, Java, C#, Python).
Categories
Introduction to Testing
What is Testing? What does a Tester do?
Categories
Tips & Tricks for Cypress
🏆 This post was featured in Software Testing Weekly, issue 55
This is a collection of simple and recurring scenarios when writing Cypress tests. For more complex recipes, check the official doc.
- Setup
- Abort cypress after first failed test
- Read a test file from fixtures
- Assertions
- Assert the text of a page (string or number)
- Assert the number of elements selected
- Assert the result of two Cypress commands
- Actions
- Upload a file
- Selectors
- Given a list, return row that contains specific text
- Selector is flaky due to page redesigns
- Type text into input field and press enter
- Select element inside iframe
- Use selector X to narrow down area, and then use selector Y to find element
- Waits
- Wait until a network (ie. HTTP/XHR) request resolves
- Wait until a condition becomes true
- Mocks
- Force a specific response to an HTTP request