Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nghyd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Cassiopée
nghyd
Commits
51eee443
Commit
51eee443
authored
2 years ago
by
David Dorchies
Committed by
François Grand
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
test: add test that currently fails on critical flow calculation
Refs
#528
parent
eac40683
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!133
Release version 4.15.0
,
!125
Resolve "Sections: non convergence du calcul du tirant d'eau critique"
Pipeline
#139435
passed
2 years ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
e2e/remous.e2e-spec.ts
+23
-0
23 additions, 0 deletions
e2e/remous.e2e-spec.ts
with
23 additions
and
0 deletions
e2e/remous.e2e-spec.ts
+
23
−
0
View file @
51eee443
...
...
@@ -47,4 +47,27 @@ describe("ngHyd − remous", () => {
// 5. there should still be 6 messages in the log
expect
(
await
calcPage
.
nbLogEntries
()).
toBe
(
6
);
});
it
(
"
Calculation with large bed width should run successfully
"
,
async
()
=>
{
await
navBar
.
clickNewCalculatorButton
();
// 1. create new Remous
await
listPage
.
clickMenuEntryForCalcType
(
4
);
await
browser
.
sleep
(
300
);
// 2. Set to trapezoidal section with bank slope of 2m/m and 20 meter width bed
await
calcPage
.
changeSelectValue
(
calcPage
.
getSelectById
(
"
select_section
"
),
2
);
await
browser
.
sleep
(
300
);
await
calcPage
.
getInputById
(
"
LargeurFond
"
).
clear
();
await
browser
.
sleep
(
300
);
await
calcPage
.
getInputById
(
"
LargeurFond
"
).
sendKeys
(
"
20
"
);
await
calcPage
.
getInputById
(
"
Fruit
"
).
clear
();
await
browser
.
sleep
(
300
);
await
calcPage
.
getInputById
(
"
Fruit
"
).
sendKeys
(
"
2
"
);
// 3. Calculate, the calculation should succeed
await
calcPage
.
getCalculateButton
().
click
();
const
hasResults
=
await
calcPage
.
hasResults
();
expect
(
hasResults
).
toBe
(
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