Skip to content

Commit 426c7d1

Browse files
BenjaminCharmesml-evs
authored andcommitted
Update getBatchTemplateCell for date
1 parent 5cd6596 commit 426c7d1

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

webapp/cypress/e2e/batchSampleFeature.cy.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ describe("Batch sample creation", () => {
465465
it("uses the template id, name, date, copyFrom, and components", () => {
466466
cy.contains("Add batch of items").click();
467467
getBatchTemplateCell("id", "input.form-control").type("test_{{}#{}}");
468-
getBatchTemplateCell("name", "input.form-control").type("this is the test sample #{#}");
468+
getBatchTemplateCell("name", "input.form-control").type("this is the test sample #{{}#{}}");
469469
getBatchTemplateCell("date", "input.form-control").type("1980-02-01T23:59");
470470

471471
// select copyFrom sample, check that it is applied correctly
@@ -652,15 +652,11 @@ describe("Batch sample creation", () => {
652652
});
653653

654654
it("checks errors on the row", () => {
655-
cy.wait(10000);
656655
cy.contains("Add batch of items").click();
657-
cy.wait(10000);
658656
getBatchTemplateCell("id", "input.form-control").type("test10{{}#{}}");
659-
cy.wait(10000);
660657

661658
cy.wait(100);
662659
getSubmitButton().should("be.disabled");
663-
cy.wait(10000);
664660

665661
getBatchAddError(1).should("have.text", "test101 already in use.");
666662
getBatchAddError(2).should("have.text", "test102 already in use.");

0 commit comments

Comments
 (0)