Bug 27826: (RM follow-up) Attempt to fix failing test
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
7a7a3ab2c6
commit
4f58ed8953
|
|
@ -16,10 +16,10 @@ describe("SCO", () => {
|
|||
it("Should not crash if barcode contains '+'", function () {
|
||||
const barcode = `+${this.objects.items[0].item_id}+`;
|
||||
cy.visitOpac("/cgi-bin/koha/sco/sco-main.pl?op=logout");
|
||||
cy.get("#patronlogin").type("kkoha"); // FIXME Why is the first character not displayed??
|
||||
cy.get("#patronlogin").should("be.visible").type("kkoha"); // FIXME Why is the first character not displayed??
|
||||
cy.get("#patronpw").type("koha");
|
||||
cy.get("#mainform button").click();
|
||||
cy.get("#barcode").type(barcode);
|
||||
cy.get("#barcode").should("be.visible").type(barcode);
|
||||
cy.get("#scan_form button[type='submit']").click();
|
||||
cy.get("div.alert-info")
|
||||
.contains(`Item checked out (${barcode})`)
|
||||
|
|
|
|||
Loading…
Reference in New Issue