Posts

Showing posts with the label two-factor-authentication

Behat, Form Filed with … not found, andTwo Factor Authentication (TFA)

Image
Clash Royale CLAN TAG #URR8PPP Behat, Form Filed with … not found, andTwo Factor Authentication (TFA) I'm trying to run Behat tests with the Drupal Extension but am running into some issues. I am able to access my site properly by being on the same server and the Gherkin language recognizes different elements of the page, however, when it comes to filling in different fields on the page, the test fails. E.g. Sucessful: Given I am logged in as an "administrator" And I got to "/node/add/about_us" Then I should see "Title" But fails: ... And I fill in "Title" with "test title" After inspecting a few things, it looks like I wasn't able to access as much of the page as I thought I was because the html report showed I needed TFA set up. I looked into this link but not sure where the code would go TFA. Does anyone have a workaround for this issue or know how to implement a good TFA Behat extension? Behat 3.0+, Mink 1.5+, Drupal Extensi...