OpenAI, Playwright, Pipelines of the Future, and More!
Joe Colantonio
Test Automation with Industry Experts & Founder of Test Guild | DevOps | Software Testing | Join our 40K Community | Podcast Host & Speaker | Follow?? #TestGuild | Become a TestGuild Sponsor ??
What are the top automation and testing trends you need to know for 2023?
How do you futureproof your automation pipelines?
And will chat GPT or open AI change software testing?
You can find out in this episode of the Test Guild DevSecOps New Show for the week of January 8th.
Step Up Your Automation in 2023 with Applitools
The awesome folks at Applitools sponsor this Test Guild News Show episode. This year, more than ever, you need to learn the difference between functional and visual testing gaps that functional testing misses and how visual testing helps you deliver a better user experience, which is more important now than ever. Try it for yourself now by taking advantage of their ?????? limited-time FREE account offer!
Automation Testing News.?
Create mock APIs for free
Want to discover how to create mock APIs for free? Mohammad Faisal Khatri posted on LinkedIn that he found a good website for mocking APIs, and it's free. And he also tried using it to create some sample code and claims it is incredible. The resource is called ?? API Mocha. All you need to do is enter your base URL, which goes over how you can use Mock API to help speed up your development time by mocking APIs. It can roughly prototype APIs for building your final solution. You can download mocked requests as a postman collection with a single click. So if you do anything with APIs, this is an excellent resource to check out.
Cypress Automation of GraphQL
A popular API that came into vogue a few years ago is GraphQL, so if you need to also test like GraphQL and want to use Cypress, I found another resource that could help you with this. I found it in a LinkedIn post by Cypress, and they talk about how ?? working with GraphQL requires learning an assortment of best practices. I'm just wondering if you're up for the challenge :) This guide shows you the best practices for using multiple graph queries and mutations for a group of tests and how to override an existing intercept to modify the query or mutation responses. It also has a bunch of examples in code using Cypress as well.?
ChatGPT + Playwright
Much talk has been going on at the end of last year around Open AI Chat GPT. This resource comes your way via Butch Mayhew on LinkedIn, which shows ?? the power of using ChatGPT combined with Playwright. The post points to an article by Ben Fellows on using ChatGPT to help write page object classes in Playwright. It goes over how this method helped 10x to scale their efforts in creating page objects. It includes a video and talks about Chat GPT and how Chat GPT can help with some examples. A step-by-step case study with examples of how Ben leveraged Chat GPT to help create these page objects.
Joe ChatGPT Rant
Maybe it's me, but I'm blown away by Chat GPT. This is just the beginning, and it's one of the first few versions. Just think of Chat GPT versions four, five, and six. It's going to replace things like Google, and it's going to help replace many of the repetitive things we've been doing currently. It will do much of the heavy lifting regarding software development and testing.
s it perfect now? No! Is it always accurate? No! It's just a tool that will help us create rapidly better programming for our automated tests and many other things. So definitely check this out. Please don't fall asleep on Chat GPT because it is the real deal and will only get more powerful.?
Puppeteer e2e Testing Example
So speaking of Playright, how about its now much-overlooked predecessor, Puppeteer? I found a compelling use case on ?? how to do end-to-end testing of a Chrome extension, which can be challenging, and how they achieved it using Puppeteer. So this article is by Viv Richards, which goes over how to do end-to-end testing against a chrome extension using Puppeteer. Viv goes over how we came across this particular challenge, what he was doing before and why it was frustrating. And then, he shows some options he had considered and then discusses why he decided to use Puppeteer. So he has code examples in a bunch more.
Fix Your Automation Pipeline
Would you like to know ?? how to fix your automation pipeline? If so, check out this free webinar by the folks at Applitools. It will show you how automation testing Applitools and Cypress can help reduce minimal testing costs, allowing for greater efficiency and scalability. They will also demonstrate how to use these tools to create a robust, easy-to-maintain, and future-proof test automation pipeline. Andrew Knight and Ely Lucas will share many examples and best practices for creating end-to-end automated tests that leverage CI/CD to test in parallel and explore some reports and analytics provided by both Cypress and Applitools that will help improve your decision-making. Some key takeaways are learning how to best utilize the power of Cypress and Applitools for maximum scalability and reliability. This a must-attend webinar that you definitely should register for.
领英推荐
Top 13 automation predictions for 2023
I took the past three weeks off for the holidays, but I'm back. Did you see my ?? top 13 automation predictions for 2023? Here are the top 13 automation trends you need to know about in 2023:
Also, we'll cover many of these trends in detail with some of the top automation experts in the industry at our ?? 7th annual online Automation Guild that's going on from February 6th to the 10th.?
So if you want to dive deeper into each of these areas and help learn some skills to help recession-proof your career in these troubled times, ?????? Register today. I look forward to seeing you there.?
Will OpenAPI (or ChatGPT) Change Software Testing?
As I mentioned above, one of my trends was AI-assisted technology. So I found this resource by Daniel that goes over his view on ?? Will OpenAPI (or ChatGPT) Change Software Testing. Daniel gives me a shot-out for the special edition episode I did on ChatGPT last year. But I love hearing what others think. Check out this resource, and then let us know your thoughts in the comments below.?
Next up is Performance and Site Reliability News.?
If you use AWS Cloud Watch, you probably need help keeping track of specific metrics, so I found a tremendous open-source resource that can help you do this by Harinder Seera. He created an open-source solution called the ?? Cloud Watch Dashboard Builder that lets you build a cloud watch dashboard template out of different AWS namespaces. And this particular open-source version of the tool includes AWS SQL query expressions for cloud watch metrics. So now you can build cloud watch dashboards for AWS metrics using simple query expressions. So an excellent tool you should check.
Next up, security testing news.
So we've covered this multiple times on the News Show, but it is API testing, especially how you need to make your APIs more secure. And it's a growing era that many hackers are exploiting because many people aren't putting proper security measures when they're doing APIs when the testing API is to test them for security. So this next news story is just a cautionary tale of why we need to do more security testing, especially for your APIs.
So this article goes over how a Twitter data breach shows APIs are a goldmine for social engineering. It talks about how a Twitter API vulnerability shipped in June 2021 and was later patched and how it has come back to haunt organizations. So in December, one hacker claimed to have the personal data of 400 million users for sale on the dark web. And just yesterday, attackers released the account details and email addresses of 235 million users for free. And the article goes into more detail on how social media giants offer cybercriminals a goldmine of information they can use to conduct social engineering scams. It also goes into detail on the link between social engineering API hacks and how to protect your APIs as well. So a critical area you need to ensure you're testing, especially as we enter the new year.?
That's a Wrap
So that's it for this Test Guild News Show Newsletter edition.?
I'm Joe Colantonio, and my mission is to help you succeed in creating end-to-end full-stack DevSecops automation awesomeness.?
As always, test everything and keep the good. Cheers.
Let's Start a Conversation
I think we should keep the conversation going. Join me at our 2023 Automation Guild conference and get access to 2600+ of some of the brightest, most helpful testers in our private Slack channel.?
?????? Register now
?? Sounds like an incredible roundup of automation insights! As Steve Jobs once said, "Innovation distinguishes between a leader and a follower." Your newsletter is leading the way in keeping the community informed and inspired! ?? Don't forget to subscribe, folks! #InnovationInAutomation
Founder at Rayrun
11 个月Hey Joe! You might find this very interesting and very relevant https://ray.run/blog/auto-playwright The project is completely open-source https://github.com/lucgagan/auto-playwright I think this is the first instance of AI actually accelerating integration test development as engineers no longer need to worry about syntax, selector or document markup changing over time.