Login

Screenshots for the Koha manual

New screenshots | All screenshots | Full test results | Manuals (wip)
en ar cs de el es fr fr_CA hi it pt pt_BR sk sv tr zh_Hant

Image details

addcsv-marc (#1437)

Job

No job planned.

Difficulty

Medium

Spec (updated on Fri Jun 6 14:21:19 2025)

describe("tools/csvprofiles/addcsv-marc", function () {
    const languages = ['en', 'es-ES', 'fr-FR'];
    languages.forEach((lang) => {
        describe(`in ${lang}`, () => {
            beforeEach(function(){
                // If previous test failed, skip this one
                if (Cypress.env("TEST_FAILED")) {
                    this.skip();
                }
                cy.login();
                /* No specific padding defined */
                cy.set_cookie_lang(lang);
            });

            it("addcsv-marc", function () {
                cy.visit("/cgi-bin/koha/tools/csv-profiles.pl?op=add_form");
                cy.get("#profile").type("Simple export");
                cy.get("#marc_content").type("100a|245a|264|300");
                cy.get("main").click();
                cy.get("main").should('be.visible').screenshot("addcsv-marc");
            });
        });
    });
    afterEach(function () {
        Cypress.env('PADDING_BEFORE_SCREENSHOT', undefined);
        if (this.currentTest.state === 'failed') {
            Cypress.env("TEST_FAILED", true);
        }
    });
});

Spec data

Page

csv-profiles.pl?op=add_form

Interface

staff

Element selector

main

Missing selector

N

setup


        

workflow

type #profile=Simple export
type #marc_content=100a|245a|264|300
click main

teardown


    

Notes

We must type some information in the form
Profile name: Simple export
Profile MARC fields: 100a|245a|264|300

Additional KTD data

Old

New (updated on Fri Jun 6 14:23:21 2025)

New (es)

New (fr)