Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
5e78fe7f
Commit
5e78fe7f
authored
Dec 17, 2013
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adjusted tests to run on php browser and selenium
parent
4acd2c00
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
ContactCept.php
apps/basic/tests/acceptance/ContactCept.php
+3
-1
LoginCept.php
apps/basic/tests/acceptance/LoginCept.php
+3
-1
No files found.
apps/basic/tests/acceptance/ContactCept.php
View file @
5e78fe7f
...
...
@@ -42,6 +42,8 @@ $contactPage->submit([
'body'
=>
'test content'
,
'verifyCode'
=>
'testme'
,
]);
$I
->
wait
(
3
);
if
(
method_exists
(
$I
,
'wait'
))
{
$I
->
wait
(
3
);
// only for selenium
}
$I
->
dontSeeElement
(
'#contact-form'
);
$I
->
see
(
'Thank you for contacting us. We will respond to you as soon as possible.'
);
apps/basic/tests/acceptance/LoginCept.php
View file @
5e78fe7f
...
...
@@ -22,6 +22,8 @@ $I->see('Incorrect username or password.');
$I
->
amGoingTo
(
'try to login with correct credentials'
);
$loginPage
->
login
(
'admin'
,
'admin'
);
$I
->
wait
(
3
);
if
(
method_exists
(
$I
,
'wait'
))
{
$I
->
wait
(
3
);
// only for selenium
}
$I
->
expectTo
(
'see user info'
);
$I
->
see
(
'Logout (admin)'
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment