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
Admin message
A compter du 1er avril, attention à vos pipelines :
Nouvelles limitations de Docker Hub
Show more breadcrumbs
Cassiopée
nghyd
Commits
5f8fe938
Commit
5f8fe938
authored
4 years ago
by
Mathias Chouet
Committed by
mathias.chouet
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add e2e test for Solveur selectors interdependence
parent
2671321e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
e2e/solveur.e2e-spec.ts
+9
-0
9 additions, 0 deletions
e2e/solveur.e2e-spec.ts
with
9 additions
and
0 deletions
e2e/solveur.e2e-spec.ts
+
9
−
0
View file @
5f8fe938
...
...
@@ -52,6 +52,10 @@ describe("Solveur - ", () => {
const
ntc
=
calcPage
.
getSelectById
(
"
select_target_nub
"
);
const
ntcV
=
await
calcPage
.
getSelectValueText
(
ntc
);
expect
(
ntcV
).
toContain
(
"
PAB : puissance / Puissance dissipée (PV)
"
);
// check targetted result
const
ntt
=
calcPage
.
getSelectById
(
"
select_target_result
"
);
const
nttV
=
await
calcPage
.
getSelectValueText
(
ntt
);
expect
(
nttV
).
toContain
(
"
Puissance dissipée (PV)
"
);
// check searched Parameter
const
sp
=
calcPage
.
getSelectById
(
"
select_searched_param
"
);
const
spV
=
await
calcPage
.
getSelectValueText
(
sp
);
...
...
@@ -66,6 +70,11 @@ describe("Solveur - ", () => {
// check that result is not empty
const
hasResults
=
await
calcPage
.
hasResults
();
expect
(
hasResults
).
toBe
(
true
);
// change targetted Nub, check that targetted result changes too
await
calcPage
.
changeSelectValue
(
ntc
,
0
);
const
nttV2
=
await
calcPage
.
getSelectValueText
(
ntt
);
expect
(
nttV2
).
not
.
toContain
(
"
Puissance dissipée (PV)
"
);
});
it
(
"
create > feed > calculate > clone > calculate clone
"
,
async
()
=>
{
...
...
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