Login

Screenshots for the Koha manual

New screenshots | All screenshots | Full test results | Manuals (wip)
en de el es fr hi zh_Hant

Image details

didyoumeanopacexplode (#144) ❌ Not validated

Job

No job planned.

Difficulty

Medium

Spec (updated on Thu Dec 4 15:47:51 2025)

describe("admin/additional/didyoumeanopacexplode", function () {
    const languages = ['en', 'es-ES', 'fr-FR', 'de-DE', 'el-GR', 'hi', 'zh-Hant-TW'];
    languages.forEach((lang) => {
        describe(`in ${lang}`, () => {
            beforeEach(function(){
                // Skip if 'en' test failed
                if (Cypress.env("EN_TEST_FAILED")) {
                    this.skip();
                }
                cy.set_syspref("OPACdidyoumean", "[{ \"name\": \"AuthorityFile\"}, { \"name\": \"ExplodedTerms\", \"enabled\": 1}, { \"name\": \"LibrisSpellcheck\"}] ");
                /* No specific padding defined */
                cy.set_cookie_lang(lang);
            });

            it("didyoumeanopacexplode", function () {
                cy.visitOpac("/cgi-bin/koha/opac-search.pl?idx=&q=world&weight_search=1");
                cy.waitForPageLoad();
                cy.wait_for_ajax();
                cy.get(".main").should('be.visible').screenshot("didyoumeanopacexplode");
            });
        });
    });
    afterEach(function () {
        cy.set_syspref("OPACdidyoumean", "[{ \"name\": \"AuthorityFile\"}, { \"name\": \"ExplodedTerms\"}, { \"name\": \"LibrisSpellcheck\"}]");
        Cypress.env('PADDING_BEFORE_SCREENSHOT', undefined);
        // Set EN_TEST_FAILED if the 'en' test failed
        if (this.currentTest.parent.title.includes('in en') && this.currentTest.state === 'failed') {
            Cypress.env("EN_TEST_FAILED", true);
        }
    });
});

Spec data

Page

opac-search.pl?idx=&q=world&weight_search=1

Interface

opac

Log in

No

Element selector

.main

Missing selector

N

setup

set_syspref OPACdidyoumean=[{ "name": "AuthorityFile"}, { "name": "ExplodedTerms", "enabled": 1}, { "name": "LibrisSpellcheck"}] 

workflow

wait_for_ajax

teardown

set_syspref OPACdidyoumean=[{ "name": "AuthorityFile"}, { "name": "ExplodedTerms"}, { "name": "LibrisSpellcheck"}]

Notes

Requires change in system preferences, then search in OPAC. Requires relevant authority and catalog entries.

Go to Administration > Additional parameters > Did you mean? > select AuthorityFile AND ExplodedTerms > save > go to OPAC > search for 'world'

Note: need a selector for "only the top part of the image".. or some way to crop the image..

Additional KTD data

Thumbnails


Current Thumbnail old
New Thumbnail new
New (de)
New (el)
New (es)
New (fr)
New (hi)
New (zh_Hant)

Current

New (updated on Thu Dec 4 19:08:54 2025)

New (de)

New (el)

New (es)

New (fr)

New (hi)

New (zh_Hant)

2025-12-01 12:15:14 +0000

2025-09-18 16:00:04 +0000

2025-08-01 13:00:06 +0000

2025-07-31 12:45:03 +0000

2025-07-31 12:15:03 +0000

2025-07-30 15:30:02 +0000

2025-12-04 19:15:01 +0000

2025-12-01 12:15:14 +0000

Old screenshot