Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
swh-web
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Pierre-Yves David
swh-web
Commits
6ea2b482
Commit
6ea2b482
authored
11 months ago
by
Antoine Lambert
Committed by
Antoine Lambert
10 months ago
Browse files
Options
Downloads
Patches
Plain Diff
cypress/mailmap: Fix some wait conditions
parent
05f90d17
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cypress/e2e/mailmap.cy.js
+7
-4
7 additions, 4 deletions
cypress/e2e/mailmap.cy.js
with
7 additions
and
4 deletions
cypress/e2e/mailmap.cy.js
+
7
−
4
View file @
6ea2b482
...
...
@@ -138,7 +138,7 @@ describe('Test mailmap administration', function() {
cy
.
get
(
'
#swh-mailmap-form :invalid
'
).
should
(
'
not.exist
'
);
// ensure table redraw before next check
cy
.
contains
(
fromEmail
);
cy
.
contains
(
fromEmail
)
.
should
(
'
be.visible
'
)
;
cy
.
get
(
'
#swh-mailmap-form
'
)
.
should
(
'
not.be.visible
'
);
...
...
@@ -181,7 +181,7 @@ describe('Test mailmap administration', function() {
cy
.
get
(
'
#swh-mailmap-form :invalid
'
).
should
(
'
not.exist
'
);
// ensure table redraw before next check
cy
.
contains
(
fromEmail
);
cy
.
contains
(
fromEmail
)
.
should
(
'
be.visible
'
)
;
cy
.
get
(
'
#swh-mailmap-form
'
)
.
should
(
'
not.be.visible
'
);
...
...
@@ -195,7 +195,7 @@ describe('Test mailmap administration', function() {
cy
.
get
(
'
#swh-mailmap-form :invalid
'
).
should
(
'
not.exist
'
);
// ensure table redraw before next check
cy
.
contains
(
fromEmail
);
cy
.
contains
(
fromEmail
)
.
should
(
'
be.visible
'
)
;
cy
.
get
(
'
#swh-mailmap-form
'
)
.
should
(
'
not.be.visible
'
);
...
...
@@ -214,13 +214,16 @@ describe('Test mailmap administration', function() {
cy
.
wait
(
'
@mailmapAdd
'
);
// ensure table redraw before next check
cy
.
contains
(
fromEmail
);
cy
.
contains
(
fromEmail
)
.
should
(
'
be.visible
'
)
;
checkMailmapRow
(
fromEmail
,
displayName
,
true
,
false
);
cy
.
task
(
'
db:user_mailmap:mark_processed
'
);
cy
.
visit
(
this
.
url
);
// ensure table redraw before next check
cy
.
contains
(
fromEmail
).
should
(
'
be.visible
'
);
checkMailmapRow
(
fromEmail
,
displayName
,
true
,
true
);
});
...
...
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