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
dfe689d8
Commit
dfe689d8
authored
2 years ago
by
François Grand
Browse files
Options
Downloads
Patches
Plain Diff
test(e2e): check that an added structure has empty fields after the first structure is modified
refs
#536
parent
ec828fee
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!136
Resolve "Lois d'ouvrages: les champs ne sont pas vide à l'ajout d'un ouvrage"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
e2e/ouvrages-empty-fields.e2e-spec.ts
+19
-0
19 additions, 0 deletions
e2e/ouvrages-empty-fields.e2e-spec.ts
with
19 additions
and
0 deletions
e2e/ouvrages-empty-fields.e2e-spec.ts
+
19
−
0
View file @
dfe689d8
...
...
@@ -163,4 +163,23 @@ describe("ngHyd - check that created/cloned structures have empty fields - ", ()
const
emptys
=
[
true
,
true
,
true
];
await
checkFields
(
inputIds
,
emptys
);
});
it
(
"
when a structure is modified (input) and then a structure is added
"
,
async
()
=>
{
await
setup
();
// fill
const
inp
=
calcPage
.
getInputById
(
"
0_ZDV
"
);
await
inp
.
clear
();
await
inp
.
sendKeys
(
"
1
"
);
// copy structure
const
addStruct
=
calcPage
.
getAddStructureButton
();
await
addStruct
.
click
();
await
browser
.
sleep
(
200
);
// check empty fields
const
inputIds
=
[
"
1_ZDV
"
,
"
1_L
"
,
"
1_W
"
,
"
1_CdGR
"
];
const
emptys
=
[
true
,
true
,
true
,
false
];
await
checkFields
(
inputIds
,
emptys
);
});
});
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