Recently, I was tasked to deploy a WordPress culster to AWS using ECS and Fargate.
Not going to bother you with all the details, but I did came across an issue after it was all set-up and ready to go.
The issue was that we were not able to sign in to the admin section of the app.
After a login attempt, we were being redirected back to the login screen with a ‘reauth=1’ flag in the query string
There are lots of blog posts out there suggesting how to deal with this issue:
So many acronyms and buzzwords in a single title, so before we dive into the implementation let’s break it down:
BDD or Behavior-driven development according to Wikipedia:
is an Agile software development process that encourages collaboration among developers, QA and non-technical or business participants in a software project
The goal here is to allow non-developers to write test cases (or scenarios) that can be translated into actual deliverables — a fully functional end-to-end test.
First off, why would you even want to do that?
Well, there are some scenarios that might come in handy:
For example — let's say you have software that generates some sort of textual content on a schedule (stock analysis? weather statistics? product price tracking?), and you want to share that info/analysis with your Facebook friends, or with your Facebook group automatically.
This article is a follow up to my previous article — Facebook Login Using Selenium and C# (.NET Core), and we’ll basically pick up where we left off.
I will not talk about the basics of setting up the project and implementing the login call, all of which are covered in my previous article. In this article, we will add 2FA support to the code demonstrated earlier.
In the previous article, we successfully automated the process of logging into a Facebook account. …
It is important to note that even though this article is based on .NET Core 3.1, the following techniques and sample code should work on any .NET Core version, and with minimal changes, it should also work on a project based on the full .NET Framework.
Why use C# and .NET when you can implement Selenium automation using a multitude of other programming languages? Good question!
I am a .NET developer, working on a .NET Core-based project. My team is very well versed in .NET, …