Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
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
RadioObservatory
LOFAR
Commits
66c380e2
Commit
66c380e2
authored
1 year ago
by
Reinder Kraaij
Browse files
Options
Downloads
Patches
Plain Diff
add wait for report
parent
80836806
No related branches found
No related tags found
1 merge request
!1267
Tmss code cleanup part 4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
SAS/TMSS/frontend/tmss_webapp/src/tests/report.project.test.js
+5
-0
5 additions, 0 deletions
...MSS/frontend/tmss_webapp/src/tests/report.project.test.js
with
5 additions
and
0 deletions
SAS/TMSS/frontend/tmss_webapp/src/tests/report.project.test.js
+
5
−
0
View file @
66c380e2
...
...
@@ -77,6 +77,11 @@ describe('Project Report Render With Contents', () => {
expect
(
component
.
container
.
querySelector
(
'
.failureProgress
'
)).
toBeNull
();
},
{
timeout
:
5000
});
await
waitFor
(()
=>
{
const
element
=
component
.
container
.
querySelector
(
'
.report-div
'
);
expect
(
element
).
toBeInTheDocument
();
});
const
componentSnapshotAfterDataLoading
=
component
.
asFragment
();
expect
(
componentSnapshotAfterDataLoading
).
toMatchSnapshot
(
"
After data Loading
"
);
...
...
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