Bug 32030: Fix Cypress tests - Fix '.'
In a previous revision of "Update I18N" we removed the '.' at the end of the error/warning/info messages Signed-off-by: Jonathan Field <jonathan.field@ptfs-europe.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
552656ddec
commit
39a47a924f
2 changed files with 5 additions and 5 deletions
|
@ -62,7 +62,7 @@ describe("Agreement CRUD operations", () => {
|
|||
// GET agreements returns empty list
|
||||
cy.intercept("GET", "/api/v1/erm/agreements*", []);
|
||||
cy.visit("/cgi-bin/koha/erm/agreements");
|
||||
cy.get("#agreements_list").contains("There are no agreements defined.");
|
||||
cy.get("#agreements_list").contains("There are no agreements defined");
|
||||
|
||||
// GET agreements returns something
|
||||
let agreement = get_agreement();
|
||||
|
@ -179,10 +179,10 @@ describe("Agreement CRUD operations", () => {
|
|||
//cy.contains("Select user").click();
|
||||
|
||||
cy.get("#agreement_licenses").contains(
|
||||
"There are no licenses created yet."
|
||||
"There are no licenses created yet"
|
||||
);
|
||||
cy.get("#agreement_relationships").contains(
|
||||
"There are no other agreements created yet."
|
||||
"There are no other agreements created yet"
|
||||
);
|
||||
|
||||
cy.get("#agreement_documents").contains("Add new document");
|
||||
|
|
|
@ -34,7 +34,7 @@ describe("Package CRUD operations", () => {
|
|||
// GET packages returns empty list
|
||||
cy.intercept("GET", "/api/v1/erm/eholdings/local/packages*", []);
|
||||
cy.visit("/cgi-bin/koha/erm/eholdings/local/packages");
|
||||
cy.get("#packages_list").contains("There are no packages defined.");
|
||||
cy.get("#packages_list").contains("There are no packages defined");
|
||||
|
||||
// GET packages returns something
|
||||
let erm_package = get_package();
|
||||
|
@ -82,7 +82,7 @@ describe("Package CRUD operations", () => {
|
|||
);
|
||||
|
||||
cy.get("#package_agreements").contains(
|
||||
"There are no agreements created yet."
|
||||
"There are no agreements created yet"
|
||||
);
|
||||
|
||||
// Submit the form, get 500
|
||||
|
|
Loading…
Reference in a new issue