Commit 2ebce832 authored by Christian Keuerleber's avatar Christian Keuerleber
Browse files

TASK: registration test with mail

parent 5228c62b
Pipeline #7787 failed with stages
in 22 seconds
......@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "8cbe99742bbac1c8783515e855b25bcd",
"content-hash": "d5effc11ad84428f887e32a2c57353ca",
"packages": [
{
"name": "adoy/fastcgi-client",
......@@ -5920,6 +5920,88 @@
],
"time": "2019-08-09T12:45:53+00:00"
},
{
"name": "neos/utility-arrays",
"version": "6.0.3",
"source": {
"type": "git",
"url": "https://github.com/neos/utility-arrays.git",
"reference": "20c8a7e3a7e61f856b562eeb660e2b05fca39e16"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/neos/utility-arrays/zipball/20c8a7e3a7e61f856b562eeb660e2b05fca39e16",
"reference": "20c8a7e3a7e61f856b562eeb660e2b05fca39e16",
"shasum": ""
},
"require": {
"neos/utility-objecthandling": "*",
"php": "^7.2"
},
"require-dev": {
"mikey179/vfsstream": "~1.6",
"phpunit/phpunit": "~8.1"
},
"type": "library",
"extra": {
"neos": {
"package-key": "Neos.Utility.Arrays"
}
},
"autoload": {
"psr-4": {
"Neos\\Utility\\": "Classes"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"description": "Flow Array Utilities",
"homepage": "http://flow.neos.io",
"time": "2019-08-08T08:09:04+00:00"
},
{
"name": "neos/utility-objecthandling",
"version": "6.0.3",
"source": {
"type": "git",
"url": "https://github.com/neos/utility-objecthandling.git",
"reference": "eaed34b1c0560bedfd15bc69a8fe1393aad44cbd"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/neos/utility-objecthandling/zipball/eaed34b1c0560bedfd15bc69a8fe1393aad44cbd",
"reference": "eaed34b1c0560bedfd15bc69a8fe1393aad44cbd",
"shasum": ""
},
"require": {
"php": "^7.2"
},
"require-dev": {
"doctrine/common": "^2.4",
"doctrine/orm": "^2.6",
"phpunit/phpunit": "~8.1"
},
"type": "library",
"extra": {
"neos": {
"package-key": "Neos.Utility.ObjectHandling"
}
},
"autoload": {
"psr-4": {
"Neos\\Utility\\": "Classes"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"description": "Flow array/object property and type utilities",
"homepage": "http://flow.neos.io",
"time": "2019-09-20T08:29:45+00:00"
},
{
"name": "phar-io/manifest",
"version": "1.0.3",
......
<?php
use PunktDe\Codeception\Mailhog\ActorTraits\Mailhog;
use PunktDe\Codeception\Webdriver\ActorTraits\Webdriver;
......@@ -23,4 +24,5 @@ class AcceptanceTester extends \Codeception\Actor
use _generated\AcceptanceTesterActions;
use Webdriver;
use Mailhog;
}
......@@ -7,7 +7,9 @@
actor: AcceptanceTester
modules:
enabled:
- Webdriver:
- PunktDe\Codeception\Mailhog\Module\Mailhog:
base_uri: http://my.typo3.org.ddev.site:8025
- WebDriver:
browser: chrome
url: https://my.typo3.org.ddev.site
restart: true
......
Feature:
As a new person interacting with TYPO3
in order to use all the funtionality
in order to use all the functionality
I need to be able to register to my.typo3.org
Background:
Given I clear my inbox
Scenario: Registration workflow
Given I am on "/"
Then I should see "Welcome to my.typo3.org"
When I click on "Login"
And I wait for 1 seconds
When I click on "._login > a"
Then I should see "Enter your credentials below to sign in"
#When I click on "Sign up"
When I am on "/?id=2"
And I fill in "Username" with "my_testuser"
And I fill in "Email" with "test@localdomain"
And I fill in "Email" with "test@localhost.localdomain"
And I fill in "Full Name" with "Little Miss Sunshine"
And I fill in "Password" with "aaaaaaaaaaaa"
And I fill in "Repeat Password" with "aaaaaaaaaaaa"
......@@ -19,3 +23,8 @@ Feature:
And I click on "Create Profile Now"
Then I should not see an ".femanager_error" element
And I should not see "Whoops"
And I should see "Thank you for registering at typo3.org."
And the inbox contains 1 mails
When I follow "sign-up" in the email
Then I should see "Double confirmation needed"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment