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

didyoumeanopacexplode (#144)

Job

No job planned.

Difficulty

Medium

Spec (updated on Thu Sep 18 15:53:33 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(){
                // If previous test failed, skip this one
                if (Cypress.env("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);
        if (this.currentTest.state === 'failed') {
            Cypress.env("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 Sep 18 15:57:14 2025)

New (de)

New (el)

New (es)

New (fr)

New (hi)

New (zh_Hant)

Thu Sep 18 16:00:04 2025

Fri Aug 1 13:00:06 2025

Thu Jul 31 12:45:03 2025

Thu Jul 31 12:15:03 2025

Wed Jul 30 15:30:02 2025

Old screenshot