Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
wcms_tests
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WCMS
wcms_tests
Commits
07692195
Commit
07692195
authored
3 months ago
by
Eric Bremner
Browse files
Options
Downloads
Patches
Plain Diff
ISTWCMS-7160: fix test list parity
parent
31d44d08
No related branches found
Branches containing commit
No related tags found
2 merge requests
!83
ISTWCMS-7160 Fix service content type in testAutomaticListBlocksSettings in...
,
!81
ISTWCMS-7160 Make existing Codeception tests pass
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
acceptance/WcmsTestsBlocksListingsCest.php
+10
-0
10 additions, 0 deletions
acceptance/WcmsTestsBlocksListingsCest.php
with
10 additions
and
0 deletions
acceptance/WcmsTestsBlocksListingsCest.php
+
10
−
0
View file @
07692195
...
...
@@ -67,6 +67,7 @@ class WcmsTestsBlocksListingsCest {
$i
->
see
(
'Edit layout for '
.
$this
->
nodesUsed
[
'Multi Type List Block'
]
->
getTitle
());
// Add a block.
$i
->
waitForText
(
'Add block'
);
$i
->
click
(
'Add block'
);
$i
->
waitForText
(
'Choose a block'
);
...
...
@@ -170,6 +171,7 @@ class WcmsTestsBlocksListingsCest {
$i
->
see
(
'Edit layout for '
.
$this
->
nodesUsed
[
'Automatic List Block'
]
->
getTitle
());
// Add a block.
$i
->
waitForText
(
'Add block'
);
$i
->
click
(
'Add block'
);
$i
->
waitForText
(
'Choose a block'
);
...
...
@@ -212,6 +214,7 @@ class WcmsTestsBlocksListingsCest {
$i
->
see
(
'Edit layout for '
.
$this
->
nodesUsed
[
'Manual List Block'
]
->
getTitle
());
// Add a block.
$i
->
waitForText
(
'Add block'
);
$i
->
click
(
'Add block'
);
$i
->
waitForText
(
'Choose a block'
);
...
...
@@ -366,6 +369,7 @@ class WcmsTestsBlocksListingsCest {
$i
->
see
(
'Edit layout for '
.
$this
->
nodesUsed
[
'Waterloo Events Block'
]
->
getTitle
());
// Add a block.
$i
->
waitForText
(
'Add block'
);
$i
->
click
(
'Add block'
);
$i
->
waitForText
(
'Choose a block'
);
...
...
@@ -450,6 +454,7 @@ class WcmsTestsBlocksListingsCest {
$i
->
waitforText
(
'Edit layout for testpage'
);
// Add an automatic list block.
$i
->
waitForText
(
'Add block'
);
$i
->
click
(
'Add block'
);
$i
->
waitForText
(
'Choose a block'
);
$i
->
click
(
'Automatic list'
);
...
...
@@ -463,6 +468,7 @@ class WcmsTestsBlocksListingsCest {
$i
->
waitForElement
(
'.uw-admin-label'
);
// Add an manual list block.
$i
->
waitForText
(
'Add block'
);
$i
->
click
(
'Add block'
);
$i
->
waitForText
(
'Choose a block'
);
$i
->
click
(
'Manual list'
);
...
...
@@ -950,6 +956,7 @@ class WcmsTestsBlocksListingsCest {
$i
->
waitForText
(
'Automatic list'
);
$i
->
waitForElement
(
'.views-field-field-uw-service-summary'
);
$this
->
removeAddFirstSection
(
$i
);
$i
->
waitForText
(
'Add block'
);
$i
->
click
(
'Add block'
);
$i
->
waitForText
(
'Choose a block'
);
$i
->
click
(
'Automatic list'
);
...
...
@@ -1040,6 +1047,7 @@ class WcmsTestsBlocksListingsCest {
break
;
case
'catalog'
:
$i
->
waitForText
(
'Add block'
);
$i
->
click
(
'Add block'
);
$i
->
waitForText
(
'Choose a block'
);
$i
->
click
(
'Automatic list'
);
...
...
@@ -1134,6 +1142,7 @@ class WcmsTestsBlocksListingsCest {
break
;
case
'service'
:
$i
->
waitForText
(
'Add block'
);
$i
->
click
(
'Add block'
);
$i
->
waitForText
(
'Choose a block'
);
$i
->
click
(
'Automatic list'
);
...
...
@@ -1228,6 +1237,7 @@ class WcmsTestsBlocksListingsCest {
int
$limit
=
3
,
)
{
$i
->
waitForText
(
'Add block'
);
$i
->
click
(
'Add block'
);
$i
->
waitForText
(
'Choose a block'
);
$i
->
click
(
$block_type
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment