Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
phd5-app
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dmstr
phd5-app
Commits
9055a49b
Commit
9055a49b
authored
Feb 15, 2024
by
Elias Luhr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Look for element instead of text to support potential custom error page.
parent
4b35ca03
Pipeline
#83860
passed with stage
in 16 minutes and 19 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
LanguagesEnCest.php
tests/codeception/e2e/app/en/LanguagesEnCest.php
+1
-1
SignupCest.php
tests/codeception/e2e/app/en/SignupCest.php
+1
-1
No files found.
tests/codeception/e2e/app/en/LanguagesEnCest.php
View file @
9055a49b
...
...
@@ -23,6 +23,6 @@ class LanguagesEnCest
$I
->
seeElement
(
'.site-error'
);
$I
->
amOnPage
(
'/en-us'
);
$I
->
see
(
'Not Found
'
);
$I
->
see
Element
(
'.site-error
'
);
}
}
tests/codeception/e2e/app/en/SignupCest.php
View file @
9055a49b
...
...
@@ -24,7 +24,7 @@ class SignupCest
$I
->
amOnPage
(
'/user/login'
);
$I
->
dontSeeLink
(
"Don't have an account? Sign up!"
,
'/en/user/register'
);
$I
->
amOnPage
(
'/user/register'
);
$I
->
see
(
'Not Found (#404)
'
);
$I
->
see
Element
(
'.site-error
'
);
}
}
}
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