Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Rolf Erik Sesseng Aas
tdt4242-base
Commits
8a78ceb2
Commit
8a78ceb2
authored
Apr 20, 2021
by
Rolf Aas
Browse files
Another hotfix
parent
cde5c283
Pipeline
#129867
failed with stages
in 3 minutes and 50 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
frontend/cypress/integration/diet.spec.js
View file @
8a78ceb2
...
...
@@ -28,28 +28,6 @@ describe('tests diets page', () => {
cy
.
get
(
'
#btn-create-account
'
)
.
click
()
.
wait
(
1000
)
.
then
(()
=>
{
cy
.
get
(
'
#navbarNavAltMarkup
'
)
.
get
(
'
#nav-diets
'
)
.
click
()
.
then
(()
=>
{
cy
.
get
(
'
#btn-create-diet
'
)
.
click
()
.
then
(()
=>
{
cy
.
get
(
'
#inputName
'
)
.
type
(
generateStringWithLengthX
(
10
));
cy
.
get
(
'
#inputDescription
'
)
.
type
(
generateStringWithLengthX
(
10
));
cy
.
get
(
'
#inputUnit
'
)
.
type
(
'
10
'
);
cy
.
get
(
'
#btn-ok-diet
'
)
.
click
();
});
});
});
});
let
username
=
''
;
...
...
@@ -68,9 +46,14 @@ describe('tests diets page', () => {
cy
.
get
(
'
#btn-create-account
'
)
.
click
()
.
wait
(
1000
)
.
then
(()
=>
{
cy
.
get
(
'
#btn-create-diet
'
)
.
click
();
cy
.
get
(
"
#nav-diets
"
)
.
click
()
.
then
(()
=>
{
cy
.
get
(
'
#btn-create-diet
'
)
.
click
();
});
});
});
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment