Commit 8a78ceb2 authored by Rolf Aas's avatar Rolf Aas
Browse files

Another hotfix

parent cde5c283
Pipeline #129867 failed with stages
in 3 minutes and 50 seconds
......@@ -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();
});
});
});
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment