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

The name of the pictureThe name of the pictureThe name of the pictureClash 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 Extension 4. Please let me know if any other specs are needed.



Thanks









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Arduino Mega cannot recieve any sketches, stk500_recv() programmer is not responding

Visual Studio Code: How to configure includePath for better IntelliSense results

Better method to check all objects' parameters with a single call